Breaking News
Comments
Oldest First | Newest First | Threaded View
Page 1 / 4   >   >>
antedeluvian
User Rank
Author
Switched Capacitor filters
antedeluvian   4/17/2014 6:39:25 PM
NO RATINGS
Max

Have you thought about switched capacitor filters instead of your linear ones. Now I have little experience in this and I fully expect to be shot down for something or other I do not know. The advantage of a switched capacitor filter is that the pass frequency/cutoff frequency is set by a clock frequency so it can be changed at a moment's notice. It may be possible (and you will need to investigate) to have one filter and clock it according to your "bins" looking at each one in turn. Processing speed would seem to play into this approach, but still..

The LMF100 from National/TI is a long established part with 2 channels, but Linear Tech and no doubt Analog Devices and others have parts and app notes.

Of course if you used a PSoC1 you could have it built into the chip.

B.V.Rao
User Rank
Author
You could be better off driving the display with FPGA
B.V.Rao   4/18/2014 3:14:28 AM
NO RATINGS
I suggest using your controller to run DSP and use FPGA to drive the LEDs.  You may not need so many outputs.  all the LED strips may be daisy chained.  Few years back I made a large (16x256) mono-color matrix with a very small FPGA.  it used to display graphic data placed in block RAM by a controller.

If you could lay your hands on a old DIY audio graphic equaliser,  you may probably be able to use it for analog spectrum separation.

Max The Magnificent
User Rank
Author
Re: Switched Capacitor filters
Max The Magnificent   4/18/2014 9:39:13 AM
NO RATINGS
@Antedelivian: Have you thought about switched capacitor filters instead of your linear ones?

I have to say that I haven't -- but that's because (like so many things) I know more about the theory than the practice.

I'm really starting to think that digital processing is the way to go, because you can do so much more manipulation of the data.

 

Max The Magnificent
User Rank
Author
Re: You could be better off driving the display with FPGA
Max The Magnificent   4/18/2014 9:41:15 AM
NO RATINGS
@B.V.Rao: I suggest using your controller to run DSP and use FPGA to drive the LEDs.

That's actually a very interesting idea -- the reason I opted for the Arduino MCU driving the NeoPixel LEDs is that the timing on the LEDs is somewhat sensitive and the folks at Adafruit have already done all the work for me (bless their little cotton socks :-)

Max The Magnificent
User Rank
Author
Re: You could be better off driving the display with FPGA
Max The Magnificent   4/18/2014 9:44:03 AM
NO RATINGS
@B.V.Rao: If you could lay your hands on a old DIY audio graphic equaliser,  you may probably be able to use it for analog spectrum separation.

This is another brilliant suggestion. It struck me while I was writing this column that the control of the display and the extraction of the audio data are two completely different things -- I can happily construct the display now while pondering how to extract the audio dat ain the background. Using an old graphic equalizer to extract the data woudl certainly make my life a lot easier...

Do you happen to have an old 16-channel graphic equalizer lying around? LOL

B.V.Rao
User Rank
Author
Re: You could be better off driving the display with FPGA
B.V.Rao   4/18/2014 10:56:34 AM
NO RATINGS
I had one 12ch. Never could make out whether it is working. Bad ears! It made to trash can long ago.

Max The Magnificent
User Rank
Author
Re: You could be better off driving the display with FPGA
Max The Magnificent   4/18/2014 10:59:19 AM
NO RATINGS
@B.V.Rao: Never could make out whether it is working.

LOL That sounds like a lot of my hobby projects :-)

GSKrasle
User Rank
Author
UI/Information Display
GSKrasle   4/18/2014 3:52:25 PM
NO RATINGS
Max,

I have put a lot of thought into many projects involving the display of information. In particular, I have thought about this precise one. (You're not the only one who has built such a thing!)

But first, on Getting the Data: I recommend a proper analog anti-alias filter and D-A, providing for both channels of stereo (and maybe for the other 3.1); you don't have to use more than one initially, but it's easier to have and not need than the other way 'round. The AA filter is really not a super big deal if you can sample really really fast and then apply a multi-rate ("decimation") filter (from a library: the computation has been amazingly optimized). This allows you to reduce the data-rate to something manageable on-the-fly. Then you will probably want to use a FFT (function from the same library) to get the frequency-(phase)-amplitude-time data. Anyway, with proper AA and fs, you have all the available data and what to do with it becomes a software problem only.

But what to do with the data, how to present it? First-off consider some of the diagrams you have, in particular a, c, d: Like Space Invader, the colours are fixed: you might as well use single-colour LEDs or white ones behind a striped filter: the channel, the dimension, is wasted. It is degenerate. (What a cool term!)

Roughly, you have these dimensions available to manipulate in displaying data: X, Y, R, G, B. But your data, the output of the FFT, only has these instantaneous dimensions: f, A. How to map two variables onto five? A simple bar-graph or cartesian graph gets 2 => 2, {f,A} =>{X,Y} leaving the three colours to be usefully employed other than on/off.

How about adding a dimension? Do the FFT on both stereo channels, and now you can have f, AR, AL. Assign them to X, Y as above, but now R, G can be used to distinguish AR, AL.

Add TIME: have the display fade after a pixel has been "hit": that would allow the R, G dimensions to have more than single-bit resolution!

What about the B dimension, though? Maybe it could represent the instantaneous sum of R, G, so that signals in common would be white, with the tip of the bar's R or G hue indicating the differences.... But R+G already looks yellow.... And it would be NICE if there were some conceivable way to display pure B.... Maybe a "peak" indicator of longer persistence? A "halo" over the bars? A horizontal "peak of all" indicator (but that wastes X)?

Oh, well, I have never been able to think-up a way to use a full-colour display for information derived from stereo audio without some redundancy, some degeneracy. I guess all that is left is to add some "art" just to make it look good.

My two cents!

 

GSKrasle
User Rank
Author
Re: UI/Information Display
GSKrasle   4/18/2014 3:55:59 PM
NO RATINGS
And the typos are free!

Max The Magnificent
User Rank
Author
Re: UI/Information Display
Max The Magnificent   4/18/2014 3:58:08 PM
NO RATINGS
@GSKrasle: I recommend a proper analog anti-alias filter and D-A, providing for both channels of stereo (and maybe for the other 3.1); you don't have to use more than one initially, but it's easier to have and not need than the other way 'round.

After writing my blog I started to think this way -- as you say, it's better to have both channels available if I want them later -- if I decide to then start with mono, I guess the simplest way is to just add the outputs from the D/A converters and divide the result by 2.

Page 1 / 4   >   >>


Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Radio
LATEST ARCHIVED BROADCAST

What are the engineering and design challenges in creating successful IoT devices? These devices are usually small, resource-constrained electronics designed to sense, collect, send, and/or interpret data. Some of the devices need to be smart enough to act upon data in real time, 24/7. Specifically the guests will discuss sensors, security, and lessons from IoT deployments.

Brought to you by:

Most Recent Comments
rick merritt
 
Saturation
 
DCH0
 
realjjj
 
traneus
 
realjjj
 
realjjj
 
Doug_S
 
spike_johan
Like Us on Facebook
Special Video Section
Once the base layer of a design has been taped out, making ...
In this short video we show an LED light demo to ...
The LTC2380-24 is a versatile 24-bit SAR ADC that combines ...
In this short video we show an LED light demo to ...
02:46
Wireless Power enables applications where it is difficult ...
07:41
LEDs are being used in current luxury model automotive ...
With design sizes expected to increase by 5X through 2020, ...
01:48
Linear Technology’s LT8330 and LT8331, two Low Quiescent ...
The quality and reliability of Mill-Max's two-piece ...
LED lighting is an important feature in today’s and future ...
05:27
The LT8602 has two high voltage buck regulators with an ...
05:18
Silego Technology’s highly versatile Mixed-signal GreenPAK ...
The quality and reliability of Mill-Max's two-piece ...
01:34
Why the multicopter? It has every thing in it. 58 of ...
Security is important in all parts of the IoT chain, ...
Infineon explains their philosophy and why the multicopter ...
The LTC4282 Hot SwapTM controller allows a board to be ...
This video highlights the Zynq® UltraScale+™ MPSoC, and sho...
Homeowners may soon be able to store the energy generated ...
The LTC®6363 is a low power, low noise, fully differential ...