soiz1 commited on
Commit
0dd770c
·
1 Parent(s): e73892f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -718,7 +718,7 @@
718
  soundTouch.pitch = 1;
719
 
720
  // BufferSourceを作成
721
- const bufferSource = new soundtouch.BufferSource(audioBuffers[file].getChannelData(0));
722
 
723
  // SimpleFilterを作成
724
  const filter = new SimpleFilter(soundTouch, bufferSource);
 
718
  soundTouch.pitch = 1;
719
 
720
  // BufferSourceを作成
721
+ const bufferSource = new soundtouch.WebAudioBufferSource(audioBuffers[file].getChannelData(0));
722
 
723
  // SimpleFilterを作成
724
  const filter = new SimpleFilter(soundTouch, bufferSource);