museumsvictoria / spatial_audio_server

An audio backend for the multi-layered soundscape of Beyond Perception: Seeing the Unseen, a permanent exhibition at Scienceworks in Melbourne, Australia.
81 stars 14 forks source link

Allow for specifying WAV source looping and playback mode (Retrigger or Continuous) #69

Closed mitchmindtree closed 6 years ago

mitchmindtree commented 6 years ago

Create a more flexible source::Signal type to allow for file seeking

This is necessary in order to allow for a Continuous playback mode for WAV sources. A Continuous playback mode plays back WAVs as though they are constantly playing on an invisible timeline.

In order to ensure sample-accurate continuous playback for WAVs, this new seek method is used to seek to the exact sample from which the WAV should resume playing every time a buffer is requested.

Add GUI control over WAV looping and Playback mode.

These new controls can be found under the "Source Editor" GUI panel.

Closes #57. Closes #56.