|
Post by eccecello on Dec 21, 2013 14:02:45 GMT
hi nic,
can i create ramp (increase or decrease) values within stream byter? like press CC1 and then send CC9 to increase from 0 to 127 in 4 seconds?
hehe, i know i could create like 127 rules:
BX 01=BX 09 00, BX 01=BX 09 01 +D100 BX 01=BX 09 02 +D200 BX 01=BX 09 03 +D300
...and so on... but i don't want to get crazy!
thanks a lot
david
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Dec 21, 2013 14:10:38 GMT
Hi David,
What you post there is the only way to do it that I can think of. Don't be afraid to create lots of rules. They get examined very quickly and because MIDI data is quite sparse compared to audio data, there is unlikely to be any significant performance penalty.
I understand that writing 127 rules is a pain in the butt. What I tend to do for situations like this is write a little (perl) script to generate the rules that can then get pasted into the Stream Byter and saved as a preset so you never have to type that stuff in again.
Since you might want to ramp different CC's I would probably make a general 'ramp' ruleset and then customise each one with a suitable remap before and after so you can change the CC that triggers it and the CC it ramps. I might have to think about that, but If you'd like me to write a script to let me know and I'll get you to give me some specifics.
Regards, Nic.
|
|
|
Post by eccecello on Dec 21, 2013 15:46:07 GMT
thanks a lot for your quick reply!
...mmmm, i see. i don't know anything about perl scripts, so i really appreciate your offer, and i accept it. if possible a script (that i hope may serve for some other people too) to change the CC number source, as well as the CC target. it would be also very fancy and useful to be able to increase/decrease the miliseconds of each step, i think in steps of 05ms would be perfect, as it would allow to set ramps of 635ms or 1.270ms, or 1905, or 2.540 etc. which would be enought for most scenarios.
i am not in a hurry, it's just something i want to implement in my live set. it was really really useful the changing scenes trick for looping CC, i use it for many creative controls!
thanks in advance.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Dec 21, 2013 15:54:49 GMT
Ok, I have had an idea about the generation of the 'eccecello ramp' (TM) rules etc and will have something for you over the next few days!
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Dec 22, 2013 16:09:02 GMT
Hi David, For your pleasure: ERRG ToolI just wrote this very, very quickly. In fact I haven't even tested if it actually compiles in the Stream Byter, let alone whether it actually works. Regards, Nic.
|
|
|
Post by eccecello on Jan 4, 2014 13:33:03 GMT
WAU! thanks a lot. sorry i didn't take a look before, i was off during vacations, and didn't get back to work until today. i will test it and let you know... but one thousand thanks in advance! david
|
|
|
Post by eccecello on Jan 10, 2014 0:47:23 GMT
your script and the ramp work like charm. but there's a couple of things left, i would do it my self if i knew how! it would really be great if you could add at the end of the script "+C", as it's necessary as you tough me. and i had to put it manually 128 times... :)
also it would make it perfect if we could have also the ramp down... i have to turn down my effects also!
one thousand thanks.
david
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jan 10, 2014 8:09:19 GMT
Ramp down - already thought of that! You should be able to set start value to 127 and end to 0 and it should count backwards. Let me know if not.
+C now added
|
|
|
Post by eccecello on Jan 10, 2014 13:29:02 GMT
xD silly me... ramp down is only starting from 127 to 0. of course! but i don't still see +C added. should i type a different url, or is in the same link.
thanks nic!
david
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jan 10, 2014 13:31:31 GMT
Oops, Only added +C for down ramp. Fixed now.
|
|
|
Post by eccecello on Jan 10, 2014 13:41:35 GMT
wau! that's fastness. i see +C can be placed also before +D, i thought it had to be at the end. so much to learn.
let's enjoy my ramps values!!!!
|
|
|
Post by eccecello on Jan 13, 2014 1:00:39 GMT
dear nic, i'm afraid there are some problems with mi ramper... my browser just can't load the page.
isn't there a way i can execute that script out of the web, so i don't depend on my connection or issues like this one?
i know i will use it randomly, but sometimes, like today, it's important for my work to be able to access it. otherwise i have this tedious work of writing 128 lines... hahahaaa
thanks!
david
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jan 13, 2014 8:48:50 GMT
The web server fell over. This is unusual and I have found the problem, but it can happen.
It's a perl cgi script so to run it elsewhere you would need a system with a web server (eg. apache) and perl installed. That would rule out an iDevice. If you have (or have access to) such a system I can send you the perl script. Just let me know.
It's back now
|
|
|
Post by eccecello on Jan 13, 2014 12:26:16 GMT
thanks nic... but no way i understand what you say man. it's like if i tell you:
for a perfect and wide vibrato of g with forth finger in string a, in forth position, it's better to join fingers 3 and 4, so the weakness of the last is compensated by the strength of the finger 3 and liberating tension from the thumb. xD
anyway, i suppose it was bad luck yesterday. also now i realize, with a normal text editor, you can easily change a given value which is repeated, for another, so i could just make several ramp values, and save as normal text. then i can change the repeated values (midi CC trigger and ramped) using "find x, and substitute for x"
btw!!
is there anyway i can copy/share scenes between devices, and copy/paste the settings of an input device into another (like stream byter data, conexions, etc.)??
edit: also! how do i delete saved presets from stream byter?
have a nice day.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jan 13, 2014 12:54:20 GMT
I'm a guitar player and dabbled with violin, so I do understand a little about your fingering technique description. ;-) I understand your point completely though.
Right now, scenes are per-device only. Although if you were to carefully copy files from the Applications Documents folder using ifunbox you could move scenes around the place. There are two files per scene that would need to be copied. Might need to exercise care here as you are moving things around that might not be expected...
To delete a preset, hold down the save button until you get the 'delete preset' dialog.
Regards, Nic.
|
|