Midi note \ chord latch

For general discussion related FlowStone
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Midi note \ chord latch

Post by kortezzzz »

I'm trying to make a simple midi routine that does something quite common in the arranger organs world (like korg pa-900 and atc.): generating a latching sound that continues on note \ chord press until another note or chord is pressed, so then the new note\chord and "kills" the old one and take it's place. Tried some methods with green midi without success (stuck notes and lot of panics). I there any chance it can be made with Ruby?
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Midi note \ chord latch

Post by tulamide »

The procedure is the very same, wether green or Ruby. In fact Ruby just wraps a simple class around Flowstone's MIDI, that's all.

In your case it's all about keeping track of notes that are playing and delaying their note off message, until a new note is played. The chord thing is too vague. All you can do is defining a timespan after a first note on, in which you register other note ons as part of a chord.
"There lies the dog buried" (German saying translated literally)
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Midi note \ chord latch

Post by trogluddite »

There's a relatively easy way to do it for chords.

Once the first key is pressed, you continue to add notes to the chord for as long as at least one key is held down - in other words, key presses must overlap. A new chord only begins when a note is played after an interval where there are no keys at all being played. This works very naturally for the player, works for any arbitrary number of voices, and does not require time constraints. It's a great way to trigger arpeggiators!

I'm pretty sure I've implemented this before (not sure if Green or Ruby, both are possible). I'm still in the middle of migrating FlowStone to a new PC at the moment, but I'll have a rummage and post it if I come across it.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Midi note \ chord latch

Post by tulamide »

:o :o :o
OMG! OMG! OMG!

My hero is back!

The one who made me want to take part in this community is back!

Welcome home, Trog!
"There lies the dog buried" (German saying translated literally)
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Midi note \ chord latch

Post by billv »

:D This is great news.
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Midi note \ chord latch

Post by kortezzzz »

Troggggggggg!!!!! :o I'm so glad you're back :D

We all missed you so much here. Hope you're here to stay with us, bro. The community is never the same without you and your crazy ideas. Welcome back home (and I hope this time forever 8-) )

Here is a little genius schematic made by our friend Gustavo from "Solcito Música". I have a permission from him to share it with you all. The schematic demonstrates the latch method in it's best with a simple green midi stuff. I would like to thank him for his efforts.
Attachments
gustavo latch chords memoria acordes2.fsm
(144.46 KiB) Downloaded 973 times
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Midi note \ chord latch

Post by RJHollins »

kortezzzz ... what version of FS are you using ???

The schematic wouldn't load on my ... crashed.
User avatar
gvalletto
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina
Contact:

Re: Midi note \ chord latch

Post by gvalletto »

Kortezzzz has collaborated improving the original scheme. Thanks!
User avatar
gvalletto
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina
Contact:

Re: Midi note \ chord latch

Post by gvalletto »

I want to change my nickname and to add a bmp to my profile. How I do it?
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Midi note \ chord latch

Post by BobF »

Hello trogluddite,

Welcome back! I have heard great things about you and have read many of your famous posts from the past.

Take care, BobF.....
Post Reply