MIDI Channel output Cycler
In order to make this baby bug free,
I realy need some ideas/sollutions to some problems.
The first and most difficult problem is how to make sure that a midi noteon's channel matches it's brother , the midinote off.
The way it works now is that two counters count seperatly the noteon and noteoff.
That way chords will never work.
Also an overlapping note will cause the previous noteon to hang cause it's noteoff is changed to a different channel at the time of the following note on.
And thats the problem.
Single notes go ok.
Now how do we remember the noteon channel so it's noteoff gets the same channel?
I was thinking of writing a sort of map in an Array. But I have not found out jet how to write a value in an array. Only read values out of a static array (table).
If you have an idea please tell me?
cheers,
Casper
I realy need some ideas/sollutions to some problems.
The first and most difficult problem is how to make sure that a midi noteon's channel matches it's brother , the midinote off.
The way it works now is that two counters count seperatly the noteon and noteoff.
That way chords will never work.
Also an overlapping note will cause the previous noteon to hang cause it's noteoff is changed to a different channel at the time of the following note on.
And thats the problem.
Single notes go ok.
Now how do we remember the noteon channel so it's noteoff gets the same channel?
I was thinking of writing a sort of map in an Array. But I have not found out jet how to write a value in an array. Only read values out of a static array (table).
If you have an idea please tell me?
cheers,
Casper
- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada
What if you:
First split the chord,
Send each note to outputs through the cycler,
The note on and off should be inherent to the complete note message, no?
Maybe it would be easier to have the outputs all on the same channel. It would only be a question of assigning synths to the separate MIDI outs. After all, the synths don't care what channel they are on. We could always put a channel changer if we need separate MIDI channels
First split the chord,
Send each note to outputs through the cycler,
The note on and off should be inherent to the complete note message, no?
Maybe it would be easier to have the outputs all on the same channel. It would only be a question of assigning synths to the separate MIDI outs. After all, the synths don't care what channel they are on. We could always put a channel changer if we need separate MIDI channels
Are we listening?..
- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada
That might be a great idea but,
About the noteon /off spec.
this is a note on
byte 1 -> 144 (channel 1)
byte 2 -> 60 (note)
byte 3 -> 100 (velo)
this is the end of the message .
the note off is a seperate and single event too.
byte 1 -> 128 (or 144 with velo 0)
byte 2 -> 60
byte 3 -> 100
Because they are seperate I have to somehow match the noteon with the noteoff.
ok , any breaktroughs will be reported here.
cheers,
Casper
About the noteon /off spec.
this is a note on
byte 1 -> 144 (channel 1)
byte 2 -> 60 (note)
byte 3 -> 100 (velo)
this is the end of the message .
the note off is a seperate and single event too.
byte 1 -> 128 (or 144 with velo 0)
byte 2 -> 60
byte 3 -> 100
Because they are seperate I have to somehow match the noteon with the noteoff.
ok , any breaktroughs will be reported here.
cheers,
Casper
- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada
- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada
Actually you may have hit upon it!
No key pressed means note off, right?
So, what I am saying is maybe there should be a chord splitter first (maybe using that rejection protocol)and then each individual note would go through the cycler where the channel changes occur when Note Off messages are percieved.
Hey I'm just shooting in the dark, making suggestions. I may be totally wrong.
Let me know if you want me to shut up
No key pressed means note off, right?
So, what I am saying is maybe there should be a chord splitter first (maybe using that rejection protocol)and then each individual note would go through the cycler where the channel changes occur when Note Off messages are percieved.
Hey I'm just shooting in the dark, making suggestions. I may be totally wrong.
Let me know if you want me to shut up

no keys pressed means that every note that was set to the "on" status , are set to the off status. You can imagine that you press a key on the keybord , and the hold that one. Then pressing a second key and releasing the first one after that event. So a channel change on the moment the second key is pressed also changes the first note off message.
I'm gonna be off this tonight.
Gotta do other stuff.
I'm gonna be off this tonight.
Gotta do other stuff.
- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada
I found this link that may help if you have an Atari or you know someone who does:
http://tamw.atari-users.net/msg.htm
http://tamw.atari-users.net/msg.htm
Well, it is a realy nice link , but it doesn't quite solve our SDK related problem.
I do own an Atari Falcon , so maybe i'd give it a try anywayz.
We need a messagebuilder , simple and clear.
set statusbyte, set databyte1 , set databyte2 and bang , message out.
I fully understand how midi works. It's the SDK that's hiding things from me
cheers,
Casper
I do own an Atari Falcon , so maybe i'd give it a try anywayz.
We need a messagebuilder , simple and clear.
set statusbyte, set databyte1 , set databyte2 and bang , message out.
I fully understand how midi works. It's the SDK that's hiding things from me

cheers,
Casper
Not true...On 2005-08-01 08:58, paulrmartin wrote:
Hmmm....no channel changer plugin for us lowly SFP users...hehe

http://www.planetz.com/forums/viewtopic ... orum=16&11
I've a bit left SDK for now, I should also fix a couple of modules I posted that have problems with polyphony....On 2005-08-02 02:25, Casper wrote:
Oh dear, it's the same module i'm using to let it all cycle![]()
But rest asure , you'l get stuck notes with this one too. so single noteon/off messages only.
We'd love to see you make it cycle Alfonso.
cheers,
Casper
I'm a bit busy with a project of electronic-acoustic music, I have a gig the 7th of august, after that I should start to study SDK again, because I'm not very skilled yet...but with some brain activity it should be possible to find solutions...
Anyway, a MIDI cycler is not something that I would need, Cubase permits all of that without any resource consumption and with more control and possible variations, and even in that case it's not an effect that I would use often, but solving a problem can be stimulating, so if I have a good idea about it I will share it for sure....at the moment I have no idea on how to keep note offs tied to the previous note on message in a poly situation...
- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada
You mean you can't assign different midi channels to each event of a midi track in Logic?On 2005-08-02 07:01, paulrmartin wrote:
You guys are great!
I'd really like to have this module in Scope since switching to Cubase is not an option for me(Spent too long learning Logic).
Is there an SDK manual I could look at to try and help?
SDK manual? wazzat?

- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada
Ok, I did the research after my last post and saw there is no manual.
Of course I can assign whatever channel I want in Logic. I want to have a module that will do this automatically without having to change each and every note by hand.
Once I get the outputs recorded it will be just a matter of assigning synths/samplers to them. Zappa had instant orchestrations in his Synclavier this way because the cycler was integrated.
Of course I can assign whatever channel I want in Logic. I want to have a module that will do this automatically without having to change each and every note by hand.
Once I get the outputs recorded it will be just a matter of assigning synths/samplers to them. Zappa had instant orchestrations in his Synclavier this way because the cycler was integrated.
Are we listening?..
"Cubase permits all of that without any resource consumption "
I think cubase e.g. the miditransformer lacks a save mechanism too in case of changing a value (note).
I'm gonna do some work on a different device. Cause I'm a little bored with this problem now. But we'l get it in due time.
Until after the 7th then Alfonso and good succes with the gig.
cheers
I think cubase e.g. the miditransformer lacks a save mechanism too in case of changing a value (note).
I'm gonna do some work on a different device. Cause I'm a little bored with this problem now. But we'l get it in due time.
Until after the 7th then Alfonso and good succes with the gig.
cheers
- paulrmartin
- Posts: 2445
- Joined: Sun May 20, 2001 4:00 pm
- Location: Montreal, Canada