Page 1 of 1
Posted: 21 Sep 2008, 20:07
by Danilo_Bovi
hi to everybody!
i'm very new to usine and i have 2 (stupid

) questions.
i'm doing a sort of "midi-groovebox" to control my hardware synths. there is a way to make a midi-mute switcher in usine?
the second question is: there is a way to exclude some values from a fader control (for example i wanna use only multiple of 2)?
thank you in advice, excuse my bad english and have a nice day!
edit: i solved the second problem with the math modules (it was very simple to do..sometimes i'm very distracted)
Posted: 22 Sep 2008, 07:30
by bsork
If what you're looking for is only a a way of stopping the MIDI output, use the Event Control/Stop Event Flow module before the MIDI output. Connect a switch to the stop input. The Pass Event Flow does the opposite, if you prefer the logic that way.
This is of course a very simple solution, and may lead to problems with stuck notes if the NoteOffs haven't been sent before muting the MIDI stream.
Posted: 22 Sep 2008, 10:03
by grego mondo
for midi controller for exemple, I guess you can map your value from 0 to 63 (instead of 0 to 127) and then multiply your integer results by 2 ....
Posted: 23 Sep 2008, 00:54
by Danilo_Bovi
hi bsork, in my patch my idea was to mute and unmute a track like the old hardware sequencer Alesis MMT-8. now i'm trying many different way for doing my purposes, in search of the best solution. i'll follow right now your tip that seems a very good idea.
thank you very much for the replies!
Posted: 23 Sep 2008, 02:42
by Clearscreen
bsork wrote:This is of course a very simple solution, and may lead to problems with stuck notes if the NoteOffs haven't been sent before muting the MIDI stream.
not necessarily - you could trigger the all notes off script with the same switch solving the stuck note problem couldn't you?
Posted: 23 Sep 2008, 07:53
by bsork
Yes, an AllNotesOff CC message when muting the data stream would help with stuck notes. Another idea that might be suitable unless there are several sources connected to the same MIDI and they might play the same notes, is to filter just the NoteOns (together with any unwanted CCs, PW etc). That way one can mute the track in the middle of a note. A bit more involved patching needed, though...
[EDIT:] I just got another idea for a simple solution that doesn't need complex patching if you want to filter everything but NoteOffs: Use a MIDI Filter module instead of a Stop Event Flow and between the "mute" switch and the filter input use a A*B where B=3. That way, -No filter- is chosen when the switch is off and NOTE OFF when the switch is on.
(Just for the record: The MIDI Filter module filters out everything except what's selected - some other filters in other programs and hardware boxes I've encountered do the opposite.)