Page 6 of 7

Re: My first post-project.

Posted: 02 Mar 2013 16:03
by dj_eddie_gr
It seems that everything is working right with that rotary!!! 2 things now:

1) How to disable the acceleration from the rotary (don't know anything about scripts...)

2) How do I get a led to listen to (be triggered by) a note (eg c-1 , c#-1 etc)? It seems that In editor i can only select a note on/off value and a number for it. Where I can select the note that I want?

Re: My first post-project.

Posted: 02 Mar 2013 17:11
by dj_eddie_gr
I've figured out about the leds.

Re: My first post-project.

Posted: 02 Mar 2013 23:27
by dj_eddie_gr
Before I go to bed I'll upload a sneak peak of what I'm planning.
IT ISN'T FINISHED ,so ,there should be some bugs and some stuff don't function at all yet :roll:
When it's finished I'll upload it with instructions etc. I've included a MIDI command table ,but it is in Open Office Spreadsheet format. Sorry about that.. :)
Thanx again to everyone that helped me so far! I'll need more help in the near future :D :D

So here it is... I'd like to hear some comments to try to make it better

Re: My first post-project.

Posted: 03 Mar 2013 15:06
by Softcore
Hey thats some nice work!

As for the acceleration even though I didnt find it to bother me....check the "step" expression....

Code: Select all

step = (abs(x-last_x)>0.01?(abs(x-last_x)>0.025?(abs(x-last_x)>0.04?(abs(x-last_x)>0.055?(abs(x-last_x)>0.07?(abs(x-last_x)>0.095?7:6):5):4):3):2):1)
According to this, 7 step resolutions are provided (1,2,3,4,5,6, 7) relative to how fast you turn the knob (how big x-last_x) is....

So, if instead of all this big "if" statements you provide a steady value 1 or 2 or 6 you are done I think.

In essense replace the above with:

Code: Select all

step = 1 (or whatever desired value)
or you can adjust the final values in the initial script to have your own accelaration
for example

Code: Select all

step = (abs(x-last_x)>0.01?(abs(x-last_x)>0.025?(abs(x-last_x)>0.04?(abs(x-last_x)>0.055?(abs(x-last_x)>0.07?(abs(x-last_x)>0.095?4:3):3):2):2):1):1)

Re: My first post-project.

Posted: 03 Mar 2013 15:08
by Softcore
What could also work nicely would be a menu or some pads defining the Jogh resolution manually - you just have to set Jog.step to some value and you are done!

;)

Re: My first post-project.

Posted: 05 Mar 2013 11:05
by dj_eddie_gr
I need some help with the Accelerometer you send me. I want to make 4 of them and I can't figure out what I'm doing wrong. I have renamed and mapped the corresponding MIDI command to each Button In the container in Interface "options" but something is wrong with the scripts...
And one more thing is that I want ,is ,when I hit the button "AccDeckA" (the one with the double faced arrow) in the Bend Container from Interface A/B , it will trigger (be linked with) the button "AccDeckA" (it says DECK A) in the "AccSensDeckA" container "options" . Same with the other 3 buttons from Decks B ,C ,D

Re: My first post-project.

Posted: 05 Mar 2013 11:17
by dj_eddie_gr
This is a better option panel .more compact. Still need some help with the scripts and the buttons.

Re: My first post-project.

Posted: 05 Mar 2013 11:20
by Softcore
Not sure what yoy mean....cant seem to find the accelerometer-enabled buttons inside the template.....Where are they?

Re: My first post-project.

Posted: 05 Mar 2013 11:52
by dj_eddie_gr
I've fixed the scripts. :) I managed to find a way through your template. Now I only need help for a remote button (I press a button from an interface (page) and it activates another button in another interface)

Re: My first post-project.

Posted: 05 Mar 2013 12:07
by Softcore
Reference them with their names and the container names they are in, if any....

For example

If you add a script in "button2_name" On expression x, any

Code: Select all

Container_name.button_name.x = Container2_name.button2_name.x;

The above code will make "button_name" activate and deactivate according to "button2_name". In essense you dont even have to reference the button in which the script resides by using hierarchy so you can really just type

Code: Select all

Container_name.button_name.x = x;