First VU refresh problem AKA crazy LATK stuff

Hints, tips and discussion about graphics and user interface elements

Moderators: electrogear, exonerate

First VU refresh problem AKA crazy LATK stuff

Postby Nu Audio Science on Sat May 07, 2005 7:38 pm

http://uk.geocities.com/flexinoodle/gui/nasvu1.zip

Malc showed me how to force a refresh earlier but im trying this VU and have problems with the refresh, I tried it the same as malc showed earlier but this didn't work because i used rotate to change the orientation of the filled rectangle (Height goes downwards ?), I then changed the value being sent to the redraw module into - and it is a little better but im missing something ?

Take no notice of the red and yellow permanantly being there i will sort this after finding the refesh problem ;)
Last edited by Nu Audio Science on Sun May 08, 2005 3:09 pm, edited 1 time in total.
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby jorge on Sat May 07, 2005 7:51 pm

User avatar
jorge
smaniac
 
Posts: 1034
Joined: Tue Jan 13, 2004 11:12 pm
Location: Porto, Portugal

Postby Nu Audio Science on Sat May 07, 2005 8:01 pm

Ah so were the multiple redraws clashing or something, I still have a problem with using more modules than i need to (Because you had to in SE) ?

Is it good practice to use just one redraw module for multiple controls like this ?

Sorry for all the questions but im really loving these draw modules :)

edit* Another small question :) As you can see from this OSM i am using a lot of similar stuff in layers, Would it be good practice to take any math calculations and things that are just repeated and createtem once and feed to each module ?
Also what is that to child that slipped in there ?

Sorry again for all the questions but i promise to put them in a FAQ in the CHM ;)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby Tom7777 on Sat May 07, 2005 8:40 pm

I was a user of SE before SM and i found that it takes a while to change programs as they work in a different way completely. I was never on any forum before SM though so you would not have known of my SE work as it was never public, i could always do all the stuff people thought was amazing with it though but i stopped using SE at some point because it fas far too simple a program and there was loads of stuff i could not do becuase there were no modules to do so basically. Synthmaker is amazing because it actually lets me create any ideas i have. :)
Tom7777
smychopath
 
Posts: 3936
Joined: Wed Mar 16, 2005 10:46 pm

Postby unkargherth on Sat May 07, 2005 11:27 pm

Sorry if i misunderstood, but if you wanna make a more or less near real Level Meter, thatsnot what the above schematic does

AFAIK, a lvl meter sould in fact response to level changes, over (at least) 3 fixed position band of colors , not by moving the bands

again, sorry, if my rant is out of scope
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby Nu Audio Science on Sun May 08, 2005 12:13 am

It isn't finished yet, And its only the display not the input output system.
I'm guessing you are talking about the yello and red being constantly on and moving up and down the VU.
I was gonna take care of this the same way i changed the color of the knob in my first knob (See examples) , This technique allows me to decide precisely at what level the yello and then red actually appear on the VU, I will try and get it finished tonite and show here, If this is the wrong way of doing it please tell me because im very very new.
I'll get this finished but i guess if Unk says its wrong who am i to argue :)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby unkargherth on Sun May 08, 2005 12:50 am

check this one

Image

Not graphically nice as yours, but it it works and also autoresizes

Also the "Another VU" thread in this forum for an speedometer like VU
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby Nu Audio Science on Sun May 08, 2005 12:53 am

Cheers Unk
Should i not bother trying with my technique, Is it too far out ?

Very nice VU dude but im gonna have to try and finish mine just out of blind curriousity now (Your way is very very smooth)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby Nu Audio Science on Sun May 08, 2005 1:01 am

Also with yours being seperate LEDS couldn't they be reconfigured quite quickly to represent the LEDs surrounding a knob ?
Very very cool design dude ;)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby unkargherth on Sun May 08, 2005 1:14 am

Nu Audio Science wrote:Also with yours being seperate LEDS couldn't they be reconfigured quite quickly to represent the LEDs surrounding a knob ?


Not sure what you are asking for. If you connect directly a fader or kno to the lvl meter, it works as expected. But if you're asking for positioning the leds around a knob, in circular way, it doesn't work. I'm using the position in bar to compare againsti input value fro switch on" or "off the led. So if position changes, all get lost
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby Nu Audio Science on Sun May 08, 2005 1:31 am

Aah

I just updated my one, I put in the technique i was speaking of but beware i ghave done it really quick so its a mess and not very accurate :)
Its still crap compared to yours though.

Same link as before ;)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby Nu Audio Science on Sun May 08, 2005 1:41 am

You know thinking about it i think my method could be trimmed down even further by using this technique on the alpha channel instead of color, This would have the side effect of making it easier to set up and being more accurate.
It would also mean i could have a color picker for each color, Your way is obviously more advanced though ;)

I think yours is obviously the way forward for VUs but mine may be a good way to achieve the LEDs around the knob thing ?
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby unkargherth on Sun May 08, 2005 9:29 am

Well. On Leds Around The Knob thing, ( lets call it LATK from now) i think the shouldn't be so complex. In fact, in LATK you don't really need diferent colors ( yellow for warning zone, red for near end) cause you already know the position). Only a Increasing alpha blend for one color should sufice. And, thinking in 0.5 centered knobs ( panning for example )
a bipolar version should be easier if you use only one color

Personal opinion: beign minimalist with my interfaces, LATK should be LED knob, ie, a colection of leds with no KNOB inside

Anyway, for a basic seeting, if you wanna follow the crude "logarithmic fixed approximation", use 12 arc segments, with 6 first in green , 4 following in yellow and last two in red,with an alpha of 128 when switched off and increase the alpha to 255 when they're on

for the arcs, first starting angleshould be 135 and then add 23 for the next until 12. Sweep should be 22. This should give you a nice 1 separtion between leds

195,
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby Nu Audio Science on Sun May 08, 2005 9:39 am

Your an absolute Gem, I was gonna have a go at trying that today and you have already worked it out :)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby unkargherth on Sun May 08, 2005 10:07 am

Is that (crude basic version) what you are talking NAS?

Image
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Next

Return to Graphics

Who is online

Users browsing this forum: No registered users and 1 guest

cron