You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need simple component for easy audio-buffer previews, I suggest the folllowing API:
constplay=require('audio-play');//play audio buffer with possible optionsletplayback=play(audioBuffer,{//repeat - bool or number for exact number of repeatsrepeat: false,//start/end time, can be negativestart: 0,end: -0,//playback raterate: 1,//fine-tune of playback rate, in centsdetune: 0,//volumevolume: 1,//possibly existing audio-context, not necessarycontext: require('audio-context'),//start playing immediatelyautoplay: true});//pause/continue playbackplayback.pause();playback.play();//or just letplay=playback,pause;pause=play();play=pause();
The component is eventually will be used by audiojs/audio.
The problem is that audio-play is taken by former play-audio, whereas play-audio is free-like.
I am going to write to @npm and @deathcap to resolve this, if possible, to make swapping.
The text was updated successfully, but these errors were encountered:
We need simple component for easy audio-buffer previews, I suggest the folllowing API:
The component is eventually will be used by audiojs/audio.
The problem is that audio-play is taken by former play-audio, whereas play-audio is free-like.
I am going to write to @npm and @deathcap to resolve this, if possible, to make swapping.
The text was updated successfully, but these errors were encountered: