Skip to content
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

Use JSyn for realtime audio scheduling 💻 🎶 #166

Merged
merged 1 commit into from
Jan 1, 2016
Merged

Conversation

daveyarwood
Copy link
Member

This replaces the overtone.at-at-based scheduling system we had before with a JSyn SynthesisEngine, which is able to schedule events precisely in realtime.

This also replaces the Thread/sleep-based MIDI note-off scheduling with a dedicated stop-event! multimethod for defining what happens at the end of a note (and play-event! is renamed to start-event!). Rather than scheduling one event that consists of playing a note, Thread/sleeping for :duration milliseconds, and then stopping the note, we now schedule two events coinciding with the start and end of the event, and the SynthesisEngine's scheduler handles both of them for greater accuracy.

Using JSyn is extra awesome because it will give us an easy way to implement waveform synthesis (#100) instruments.

daveyarwood added a commit that referenced this pull request Jan 1, 2016
Use JSyn for realtime audio scheduling 💻 🎶
@daveyarwood daveyarwood merged commit 4d29d75 into master Jan 1, 2016
@daveyarwood daveyarwood deleted the jsyn branch January 1, 2016 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant