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

WIP: play the schedule #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WIP: play the schedule #15

wants to merge 1 commit into from

Conversation

robb-j
Copy link

@robb-j robb-j commented Jan 10, 2023

I've somewhat jokingly added the groundwork to play the current schedule as audio, it should probably be behind a feature flag or special query parameter? It's very heavily based off of https://brandnewbox.com/inthestacks/ right now, the effects can be tweaked (although I don't know much about audio for this).

At this point I'd be interested in what algorithm you might think is appropriate to convert a schedule someone is working on into a series of notes to play.

whats changed

  • There is a new "Play" / "Stop" button at the top of the schedule editor which toggles playing
  • There is a new "audio.js" file which has SchedulePlayer in it which is responsible for taking a schedule (I'm not sure how yet) and playing it on loop until stopped
  • I imagine App.vue would call SchedulePlayer#setSchedule when the schedule changes and it would change which notes it will play

I also added a note to the readme about developer setup on newer versions of NPM

@robb-j
Copy link
Author

robb-j commented Jan 10, 2023

Also it would be cool to treat each track as a track and play multiple notes at the same time, could sound pretty gross though!

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.

1 participant