New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variable speed playback for BufferPlayerNode #526

Open
richardeakin opened this Issue Oct 5, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@richardeakin
Collaborator

richardeakin commented Oct 5, 2014

Just a note that this is on my radar, though after some other BufferPlayerNode related work in progress. It was the most requested feature left out of 0.8.6 release.

Some considerations:

  • As BufferPlayerNode is becoming more and more complex, it might be good to have a BufferPlayerSimpleNode as an alternative, which only supports play / pause. An alternative solution would be to give GenTableNode this roll, which currently is just a simple table oscillator (as opposed to the more cpu-intensive, but better sounding GenOscNode.
    • other possible name: BufferPlayerLightNode
  • At I'd like to generalize the linear interpolation algorithms, as this will be the third place where vector based linear interpolation is used, after dsp::Wavetable and DelayNode. Haven't decided how to do this yet, possibly something along the lines of a dsp::Interpolator class.
  • A related discussion (at least in implementation) came up on the forum around adding pop-suppression to the seek() functions. Both of these features would require interpolating between two samples per frame.
  • Web Audio's AudioBufferSourceNode supports a playbackRate param, and the implementation shows many of the edge cases we need to cover.

related forum posts:
Can WaveTable store arbitrary audio, and change playback speed?

@richardeakin richardeakin self-assigned this Oct 5, 2014

@richardeakin richardeakin modified the milestone: 0.9.1 May 28, 2015

@richardeakin richardeakin removed this from the 0.9.1 milestone Feb 6, 2016

@wdlindmeier

This comment has been minimized.

Show comment
Hide comment
@wdlindmeier

wdlindmeier Aug 4, 2017

Contributor

🤞

Contributor

wdlindmeier commented Aug 4, 2017

🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment