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

midi input #533

Open
felixroos opened this issue Mar 22, 2023 · 2 comments
Open

midi input #533

felixroos opened this issue Mar 22, 2023 · 2 comments
Labels
feature completely new feature

Comments

@felixroos
Copy link
Collaborator

since #516 is merged, sounds can now be started without knowing the end time, so it should be possible to control sounds from midi input.
It would be particularly interesting if midi input could be patterned e.g.

midiIn().s("<sawtooth square>").lpf(800)

this will play incoming notes, toggling between sawtooth and square.

midiIn().off(1/8, add(note(12))).s('triangle')

this could play incoming notes on and also play it 1/8 later an octave higher.

or

midiIn().scaleQuantize("<A:minor G:mixolydian>")

would quantize the pressed note into the scale. (scaleQuantize does not exist yet)

these are just rough ideas, not completely thought out.. some open questions:

  • how does a midi noteOn come in? probably { note: 42, velocity: .5 } makes sense?
  • how does this even integrate with the scheduling? we can't look into the future, so it's not known when a midi event will happen / what value it will have. midiIn will probably have to query on it's own for each midi event
  • what about cc messages? it would be handy if params could be controlled from midi
@felixroos felixroos added the enhancement improves an existing feature label Mar 22, 2023
@felixroos felixroos added feature completely new feature and removed enhancement improves an existing feature labels Mar 29, 2023
@felixroos
Copy link
Collaborator Author

cc in is already implemented: #699

@felixroos
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature completely new feature
Projects
None yet
Development

No branches or pull requests

1 participant