-
Notifications
You must be signed in to change notification settings - Fork 35
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
USB-MIDI device support #340
Comments
@tehn to write a super basic script example of what the syntax could look like / what features (events etc) would be enabled. |
norns midi reference: https://github.com/monome/norns/blob/main/lua/core/midi.lua basically the same, without
where midi output--- play a random note on in 1 change
note = 0
input[1].mode("change")
input[1].change = function(state)
if state==1 then
note = math.random(127)
midi.note_on(note)
else
midi.note_off(note)
end
end midi input
midi.event = function(e)
if e.type == "note_on" then
output[1].volts = midi_to_volt(e.note)
output[2]() -- bang envelope
elseif e.type == "cc" then
if e.cc == 10 then
output[3].volts = 10/e.value
end
end
end |
Consider #404 alternate clock sources if this ever makes it. would be nice to support MIDI input as the clock source, and feels preferable to a custom solution with lua functions etc. Could be used with Norns quite easily as the MIDI clock system is built-in, rather than having to add custom params for turning on a special 'crow' sync. |
@trentgill , someone reached out to monome support after seeing your recent post on this topic asking about feasibility -- work on this hasn't been slotted / prioritized yet, right? |
@dndrks i don't have anything to add beyond what i wrote on that post. i've made a proof of concept, but it would require some extensive work to get it all built out and rolled into a new version. if this does get done, it will happen when we have some spare cycles (rare). if someone wants it sooner, they'll need to do the leg work themselves which is no small feat. i won't promise it will happen as there may be showstopper issues as yet undiscovered. |
Crow should simultaneously appear as a serial device, and a USB MIDI device to a connected host. This will allow out-of-box usage of crow with any MIDI capable host, specifically making integration into DAWs other than Ableton possible.
The full scripting environment will still be used, so the precise behaviour of the MIDI interop will be reconfigurable.
Defaults will of course be MIDI->CV conversion, but also MIDI->I2C bus conversion (eg. play Just Friends from your DAW, or sequence a hardware synth with the input jacks.
With #339 this could allow auto-synchronization between a USB host and crow's
clock
module.The text was updated successfully, but these errors were encountered: