General

big numeric display

Started by rfmusic on .

Sign in or create an account to join the conversation.

16 posts

Topic starter
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.

2mee4x3.png
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

thanks
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

You then use if statements to seperate each incoming message to the apropriate CCs, and assign their values to the LEDs.
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
how do i check what happens on my maths ? is there an output where i can see what happens ?
Softcore wrote:Just saw this also....why on frame scripts? On expression x would suffice with the knobs! ;)
soory i don't understand what you mean, consider that i understand almost nothing about scripting, i'm just copy/pasting here and there :)
i've started yestarday so i don't expect to make something clean at all :)
Not sure what you mean...

Oh lol! And I saw all those vectors in there and I just thought.....lol oh well ok!

Read the manual at least once - you 'll get the basics right away.....The scripts in your example above are set to be executed on frame which is a waste in processing because in reality they only need to be executed when the knobs are moving i.e on expression x.

Again, I understand your willingness to dive right in but give the manual a read and you wont regret it! It 'll make your life easier! ;)