-
Notifications
You must be signed in to change notification settings - Fork 51
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
Assigning specific channels to different devices? #28
Comments
Apologies for the new layout being a bit different-- there's a lot of compromise and I've tried to find a balance that works least-worst (and you said "a bit" confusing, I so haven't failed entirely 😉). We can definitely help you solve this; I don't have Moppy up in front of me now so I'm going from memory, but hopefully this will be enough to get you going (we'll start with just the Arduinos and get to the drums later):
And then you're pretty much good to go for the notes. Channels 1-6 will route to the Leonardo, 7-10 to the Uno. The mappers are using Javascript, so you can do more complex mapping there if you need to. * Channel 10 is MIDI's "traditional" drum channel. There's no reason in theory you can't put drums on any channel, but if for some reason you can't, you'll need to work around that channel for the Arduinos playing notes. So if you wanted 7-9 and 11, your condition would be And now the drums. Not sure what the speakers are connected to, but assuming it's either a software synth or a MIDI device, you'll need to enable the MIDI passthrough option in the synthesizer control on the top left, which will send all the MIDI notes being played to the MIDI OUT port of your choice (you can get a virtual MIDI cable if you're looking to route them back to the same PC with the Moppy Control software). VMPK is a simple synthesizer program you can use to output the sound, however I don't know for sure if it will allow you to select only the drum track. If the drums are being synthesized by a third Arduino, you'll want to give it e.g. Hopefully that gives you enough to go on. The Mappers are understandably slightly more daunting in their script-based-ness than the previous UI, but the flexibility they allow fix a lot of peoples' issues without having a whole bunch of separate mapping systems. Definitely let me know if you need more info though. |
Hey no problem thanks for clearing that up. In the previous version it was basically channel x you can enable or turn off. and set either the port or the midi out just for those channels. that's basically what threw me off. Also as I already know from before the floppy drives can do C1 to B5 where as the nema 17's seem to be set to C1 to F#5 (F Sharp) on the L298n for the stepper motors. |
Also here's a weird question. I have a spare 5th stepper motor and unused pins on the Leonardo that aren't in use. Can it handle both types or do they need to be seperate? |
Huh, well... The short (easy) answer is: No, they need to be separate as each Arduino stack can only specify a single instrument type. The long (difficult) answer is: There are no technical limitations that would prevent you from doing that. 😉 Your two best approaches (that I can think of off hand) are:
Closing this issue since its original problem seems resolved, but feel free to reopen or open new ones if something else comes up. |
Ok... I must admit not only is the new layout a bit confusing but I have several set up issues.
I have 2 Arduinos connected to one system.
The built in Arduino Leonardo is assigned to 6 floppy drives on comm port 5.
The external Arduino uno is assigned to 4 nema 17 l298n stepper motors on comm port 6.
Drums are played via stereo speakers.
The interface makes it hard to assign the channels to them. Any ideas how I can solve this?
The text was updated successfully, but these errors were encountered: