-
kitchens
@gsagostinho
I think I know the order of operations, but I don't know very much about triggers.@whale-av
Actually I think I've read that once. The problem is that I'm not coding in PD daily. So things get lost sometimes.By the way, I get the feeling the problem is how I understand the function of the patch. I coded it as kind of a forwarding device rather than a conversion of digits and symbols.
-
kitchens
Well it should pass the command on when it's anything else than 10 (10 is the knob that does two things). Which is what [select] does if I got it right. So all the other commands except 10 should be passed on directly to the ctlout.
I don't know why, but it seems that it always sends the last command I gave twice no matter what the new command is. So if I press 10 it either sends 10 or 9 (which is fine), but when I press 19 afterwards it sends 9 or 10 again before it sends 19. So confusing.
I'm trying to tackle this problem for hours now. I need a break. Comming back tomorrow.
Thanks for your help dude! If I finally have a solution I will post it here.
... or maybe you can guess one while I'm away.
Cheers! -
kitchens
I'm sorry, I have not seen the post as I posted it.
So the status is: If I use the very basic version (Midischaltzentrale-V2.pd) it works.
When I try to make the one knob do two things it gets confusing. So far the status is this patch:
Midischaltzentrale_advanced.pd -
kitchens
@gsagostinho
pgmin just receives 10 and the channel number, nothing more. It's a very old pedal and doesn't do any more magic. -
kitchens
This seems to work!
Midischaltzentrale-V2.pd
I just don't know why.Anyway, I'm trying to make one of the knobs do the play AND stop function now. I thought it might be the same routine as in the named trigger patch. But the problem is to seperate the one knob from "all the others" in that case. I'm trying to do this by using [select] which doesn't do quite what I want. I would need an object that sends the value to one output if it's true and to another if it's false.
I've even combined the trigger patch into this one here:
Midischaltzentrale.pd -
kitchens
Midiparse just realizes program changes. To see if it really does anything when I unpress the button I was putting bangs on every "cable" in the patch. It seems to do nothing when I let loose of the knob.
I already fumbled around with [change] but it didn't work either. It just made me press the controller three times to send a control change message. -
kitchens
I do have a pretty old midi footcontroller here, that I'm trying to connect to "renoise". The problem is, that renoise doesn't accept program change commands to control it's functions but just to play the instruments you've programmed. However, I'm trying to write a routine that just translates the program change numbers into control changes. That didn't seem too hard at first but now I've stumbled over a nasty problem.
When I hit the mf-1 it always sends the midi command twice and seems to get confused when I press one of the knobs twice as well. Any suggestions?Midischaltzentrale-V2.pd
In the patch I've just connected the pgmin to the ctlout. I don't need any special value on the knobs, so I gave it 127 as standard. -
kitchens
I start to love this small programm more and more. So far I've even done my own little synthesizer with that one...
Cheers
Jens -