Page 1 of 2
big numeric display
Posted: 02 May 2013 22:16
by rfmusic
Hi everyone, i'm trying to switch from TouchOSC to Lemur, i want to make a layout identical to the one i have posted a photo below.
thanks to a forum user i have solved the issue of making relative faders (
http://forum.liine.net/viewtopic.php?f=28&t=1731)
It looks i have managed by myself to make vertical vu-meters (using range + knob + a simple script)
now i need the last part, i want to make some big numbers as seen in the photo below.
in TouchOsc i have used multi toggle buttons, made them very small and then i have managed to make it with NI Reaktor, quite simple.
The problem with lemur is that i can't make "pads" smaller than 24 pixel, it could be ok for the page i've posted below, but i have another page where numbers are smaller (about half size).
So do you have any suggestion in order to make that ?
i've tried using menu but the max font size is only 24 pixel, that is waaay too small.
any clue ?
thanks.
Re: big numeric display
Posted: 02 May 2013 22:26
by Softcore
Re: big numeric display
Posted: 02 May 2013 22:34
by rfmusic
ok i think i've found a solution, i will use pads for bigger ones and leds for the smaller ones, i think it will fit my needs.
Re: big numeric display
Posted: 02 May 2013 22:36
by rfmusic
cool yes i can use leds indeed also for bigger ones, thanks
Re: big numeric display
Posted: 03 May 2013 00:03
by rfmusic
ok guys i absolutely need some help with the scripting as i'm really new to this.
just for test lets say i want to use a knob to control led switches, i've made this little project to test it out, i've read a bit of scripting and it looks the script is ok, for knob values under 0.5 the leds are (0,1,0,1,0), for values over 0.5 leds became all 1:
the script looks correct but nothing happens, what else i have to do?
then i'll move this to midi input instead of knob once i've sorted it out, else does anyone can make a simple script with just a few leds so i can understand how to make it? i would like to use a simple midi cc.
thanks
Re: big numeric display
Posted: 03 May 2013 05:42
by nitefish
bonjour.
leds=ledscontrol.x
not just "x".
Re: big numeric display
Posted: 03 May 2013 07:57
by Softcore
here you go!
Re: big numeric display
Posted: 03 May 2013 15:57
by rfmusic
thanks a lot!! here's my work, i've managed to control 2 numbers from 0 to 100 with one control, that is what i need.
made a small and a big one and i've made also a vu-meter with 32 steps.
i post here just in case someone else nees that, many thanks for the inputs!!
- Schermata 2013-05-03 a 17.58.36.png (16.14 KiB) Viewed 2741 times
Re: big numeric display
Posted: 03 May 2013 16:18
by Softcore
Niiiiice! Why dont ya post them in the user library too? Or in the modules section of the forum - many would like to use them I reckon!
Now as for the next step which will be controlling them via midi feedback.....
An un-techy solution would be to just map the knobs you currently have and then just hide them off screen! lol
A "proper" way would be to use script on midi and use the MIDI_ARGS. A nice way to figure it out yourself is to set up a Monitor and a script to display the incoming messages to the monitor to see what you are actually trying to receive, calculate and convert to floating values for Lemur.
As an example map your own knob to a parameter in your software and use the on midi script to get MIDI_ARGS. I dont quite recall the format but I believe for CC messages it will be a vector in the form of {CCnumber, value, midichannel}
You then use if statements to seperate each incoming message to the apropriate CCs, and assign their values to the LEDs.
Re: big numeric display
Posted: 03 May 2013 16:40
by rfmusic
i'll have a look, i've tried already to use a script woth mdi args but i was not able to make it work.
this dirty mode is easier for me.
i'll have a look ot your modification asap.
now i've just discovered some problems on the maths so i'm fixing it as numbers doesn't work properly right now.
i'll post the working one once i've sorted it out.
thanks