Page 1 of 3

Triggering switches with Midi notes.

Posted: Fri Sep 28, 2018 1:59 am
by lalalandsynth
Can I somehow trigger switches and hold for the duration of a midi Note ?

Re: Triggering switches with Midi notes.

Posted: Fri Sep 28, 2018 3:18 am
by lalalandsynth
Basically I want an octave of notes to each trigger a separate ADSR/VCA.
Working on this but have not done much midi stuff in FS so far.

Re: Triggering switches with Midi notes.

Posted: Fri Sep 28, 2018 3:40 am
by nix
maybe you could use an equals to the note to gate the adsr,
and not use midi in an unusual way.
This would be done in poly, with the output from the midi to poly
The adsr will have to have the gate option checked in properties
hope helps!

Re: Triggering switches with Midi notes.

Posted: Fri Sep 28, 2018 10:50 am
by lalalandsynth
That is exactly what I did but it did not work properly , admittedly i am quite rusty in FS.
Midi in to -equal to note -to gate , however there were problems when using more then one note.
It seems the first note triggered both adsrs even though the second one had a different equal to.

Obviously doing something stupid here .

Here is an schem, 64 alpha though.
Midi Trigger mixer.fsm
(351.24 KiB) Downloaded 998 times

Re: Triggering switches with Midi notes.

Posted: Fri Sep 28, 2018 10:23 pm
by nix
try this->
Midi Trigger mixer_edit_5.fsm
(361.47 KiB) Downloaded 1009 times

hope helps
the envelope in your schem needs to be fixed, there seems to be some problems with it

Re: Triggering switches with Midi notes.

Posted: Fri Sep 28, 2018 11:56 pm
by lalalandsynth
Thanks , this works perfectly , I will have a look at the envelopes , I need an adsr with the option of gate only so I will look through my library.

Re: Triggering switches with Midi notes.

Posted: Sat Sep 29, 2018 12:36 am
by lalalandsynth
Would you mind explaining why the pitch from the MIDI to poly goes to the combiner ?
I would need this as an effect so I need to change to Mono and not sure how to go about that and maintain this as working. After changing the VCAs to mono and exporting as VST , it semi works but not properly , something wrong with how it reacts polyphonically , which is reasonable seeing as I messed with that part.

Also it does not really react to 32nd part notes , the adsr or the VCA is not reponsive enough or something.

EDIT: After a bit of testing , yes does not work in a polyphonic manner , having said that the idea is turning out nice, just need to figure out how to make the adsr/vca faster and make it poly.

64 bit alpha


[attachment=0]Midi Trigger mixer_edit_5_5.fsm/attachment]

Re: Triggering switches with Midi notes.

Posted: Sat Sep 29, 2018 2:07 am
by lalalandsynth
Hmm, trying various things , Is it not possible to have multiples adsrs that work in a poly fashion ?
That does not really make sense.

Re: Triggering switches with Midi notes.

Posted: Sat Sep 29, 2018 9:09 am
by nix
I dunno mate, I"ll stay tuned.
Here is the mono one working I think->
Midi Trigger mixer_edit_5_6.fsm
(319.61 KiB) Downloaded 980 times


edit->Please stay in touch and we'll get this working

Re: Triggering switches with Midi notes.

Posted: Sat Sep 29, 2018 9:45 am
by lalalandsynth
Yes, this one "works" as in that it passes sound and the notes each trigger correctly but i cannot play two notes at a time , also if one note extends over the first one there is a strange interaction between the envelopes. I want them to be completely independent , not sure why they do this , if its a midi thing or related to what envelopes i am using?
Weird thing is that the release can run over a previous note and not get choked, just as long as the notes dont play at the same time ...it seems.

Also, they cant seem to handle anything faster/shorter then 32 nd notes at a 140 bpm.
Doing some testing.