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

Multichannel audio #820

Merged
merged 15 commits into from Dec 5, 2023
Merged

Multichannel audio #820

merged 15 commits into from Dec 5, 2023

Conversation

daslyfe
Copy link
Collaborator

@daslyfe daslyfe commented Nov 23, 2023

This is an MVP for multichannel audio that supports routing to any output on the user's interface. examples:

note("e a b g").ch("2:3")
note("e a b g").ch(2)
note("e a b g").ch(saw.range(0,8).slow(4))

enhancements that could be added in followup work would be:

  • setting the destination channels independently for orbits, which are currently being summed to 0&1 like normal
  • support surround sound/multichannel audio files
  • .q automatically routing to the cue channels
  • advanced panning features such as panMulti
  • allow to specify a specific output audio interface (not sure if this is possible)

@felixroos
Copy link
Collaborator

just tested it with blackhole 16ch and it works great! I only wonder if the 0 indexing makes sense, as channel numbers are typically counted from 1. what do you think?

@daslyfe
Copy link
Collaborator Author

daslyfe commented Nov 30, 2023

just tested it with blackhole 16ch and it works great! I only wonder if the 0 indexing makes sense, as channel numbers are typically counted from 1. what do you think?

I think that makes sense, I can update it early next week, or feel free to update it in the meantime

@daslyfe
Copy link
Collaborator Author

daslyfe commented Dec 3, 2023

This should be ready to go, not sure why the hyperpop test is failing

@felixroos
Copy link
Collaborator

This should be ready to go, not sure why the hyperpop test is failing

some weird rounding error, i guess it doesn't matter

@felixroos felixroos merged commit 362f0df into tidalcycles:main Dec 5, 2023
1 check passed
@felixroos felixroos mentioned this pull request Dec 6, 2023
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

2 participants