big numeric display

Discuss Lemur and share techniques.
rfmusic
Newbie
Posts: 29
Joined: 11 Jul 2012 15:03

big numeric display

Post 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.
Attachments
2mee4x3.png
2mee4x3.png (70.01 KiB) Viewed 2783 times
rfmusic
Newbie
Posts: 29
Joined: 11 Jul 2012 15:03

Re: big numeric display

Post 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.
rfmusic
Newbie
Posts: 29
Joined: 11 Jul 2012 15:03

Re: big numeric display

Post by rfmusic »

cool yes i can use leds indeed also for bigger ones, thanks
rfmusic
Newbie
Posts: 29
Joined: 11 Jul 2012 15:03

Re: big numeric display

Post 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.
test led.jzml
(3.71 KiB) Downloaded 110 times
thanks
nitefish
Regular
Posts: 56
Joined: 24 Aug 2012 07:43

Re: big numeric display

Post by nitefish »

bonjour.
leds=ledscontrol.x
not just "x".
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: big numeric display

Post by Softcore »

here you go! ;)
test led-fixed.jzml
(3.97 KiB) Downloaded 106 times
rfmusic
Newbie
Posts: 29
Joined: 11 Jul 2012 15:03

Re: big numeric display

Post 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!!
led numbers and meters 1.0.003.jzml
(27.6 KiB) Downloaded 105 times
Schermata 2013-05-03 a 17.58.36.png
Schermata 2013-05-03 a 17.58.36.png (16.14 KiB) Viewed 2746 times
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: big numeric display

Post 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}
led numbers and meters - midiINmonitor.jzml
(28.52 KiB) Downloaded 115 times
You then use if statements to seperate each incoming message to the apropriate CCs, and assign their values to the LEDs.
rfmusic
Newbie
Posts: 29
Joined: 11 Jul 2012 15:03

Re: big numeric display

Post 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
Post Reply