KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2024-04-03 to 1 day

webaudioでmp3再生

js

export default class SoundPlayer { constructor() { this.audioContext = new (window.AudioContext || window.webkitAudioContext)(); this.audioBuffer = null; this.sourceNode = null; this.gainNode = this.audioContext.createGain(); this.isPlayin…

"FOOTER"