mb944 Posted March 28, 2004 Report Posted March 28, 2004 HI all!regarding the vu meter idea I posted a last week, I finally found A vst called Jultram that sends Db levels to midi ccs in real time. ::)Now to avoid having to use 10 douts for only one Led baragraph and a lot of coding, Is there a way to export a variable voltage according to the CC send buy the Db to cc Vst converter? :oThis would alloy usage of analog needle Vu meters :-*,And led baragrahs! ;DThanks for the help, :D-mb944 Â :Pps: sorry bout all those smileys (my girlfriend did them) Quote
TK. Posted March 29, 2004 Report Posted March 29, 2004 Hi,no special coding is required for bargraphs, just use the MB64E application which can handle with up to 64 LED rings (which are in fact up to 64 * 16 LEDs). They are connected to a matrix like shown here http://www.ucapps.de/mbhp/mbhp_doutx4_ledrings.pdf - the LED patterns are configurable, so: everything you need is already available, you only have to find the appr. informations ;-)Best Regards, Thorsten. Quote
mb944 Posted March 29, 2004 Author Report Posted March 29, 2004 Mornin' Tk!Thanks for your speedy feedback!Now I'm no expert in electronics, but I guess adding several differant douts (adding up the voltages) to an analog needle vu meter could act as a variable output ?Some resistors of some sort would be needed to bring the voltage down I guess...Or Am I going to blow the thing up By mixing Dout pins? (embarrasing to ask such questions that must seem obvious to others :-[)Thanks Quote
DriftZ Posted March 29, 2004 Report Posted March 29, 2004 It's more embarrasing to give wrong answers (like I sometimes do 8) )DOUT module = DIGITAL out (output signals are either '+5V' or '0'; ONEs or ZEROs)AOUT module = ANALOG out (output signal is within a certain voltage range, like anything between 0V & xV)For an analog VU-meter, you require an analog signal(variable voltage signal, if you like)You can't connect multiple digital output signals together to get higher voltages to display.You'd need a DAC (Digital to Analog Convertor), but this is wat the AOUT is about actually.A DAC works somewhat like this:(each digit of the input represents one input pin; output is on 1 pin)input > outputdigital > analog0000 > 0,0V0001 > 0,1V0010 > 0,2V0011 > 0,3V0100 > 0,4Vetc...For a LED bargraph, you need DOUT module(s)While 1 DOUTX4 (4 SR's) has 32 (4x8 ) outputs, you can control more than 32 LEDs if you connect them in a 'matrix' (e.g. 16x16) just like the LEDrings example TK mentioned. Like this not all LEDs are lit simultaneously, but sequencially at a rate so fast that your eyes see them as continuously lit.Converting MIDI CC's to LED bargraphs is not too hard to do. MIOS takes care of all the MIDI handling etc.All you need to do is modify the code so with each incoming CC value the correct digital outputs are addressed, again see the LEDrings example.(look into the mios code, & mios reference files)Converting MIDI CC's to an analog VU is the same principle I guess, but then you need to address the AOUTs. But I never played with that.Maybe a bit too much explanation then required, but I hope you get the idea (& that it's correct what I said :) )Goodluck,DriftZ Quote
moebius Posted March 29, 2004 Report Posted March 29, 2004 Hi.. sorry to bug U all, and makin' this a felluva mess!You can't connect multiple digital output signals together to get higher voltages to display.Oh, yes you can ;)A DAC works somewhat like this:(each digit of the input represents one input pin; output is on 1 pin)input > outputdigital > analog0000 > 0,0V0001 > 0,1V0010 > 0,2V0011 > 0,3V0100 > 0,4Vetc...By using binary output to DOUT and simple R2R dac, you get variable voltage out. Check http://www.hut.fi/Misc/Electronics/circuits/r2r.html for reference. For analog VU's maybe a 6bit resolution is enough. This is a really cheap alternative, but lot's of soldering. (and few lines of assembly)Bye, Moebius Quote
DriftZ Posted March 29, 2004 Report Posted March 29, 2004 It's more embarrasing to give wrong answers (like I sometimes do )wat did I say ;D Quote
moebius Posted March 29, 2004 Report Posted March 29, 2004 wat did I say  ;D :P Yeh, then again, I think that matrixing won't work with R2R DAC  :D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.