Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 11th May 2007, 10:44 AM   (permalink)
Default Audio Filter/A to D conversion

Hi there,

I'm working on a project to take a line out signal from an audio source, and convert it into a dmx signal that has 10 steps from 0-5 v, in 0.5v increments.

I need to filter the input to get a rough apprixmation for bass, midrange and treble. There will 3 dmx signals, each controlling a lighting display.

The circuit layout is as follows..,

Input signal (line out) -> Filter -> Analogue - Digital Conversion -> ? -> DMX input

I'd like to know your advice on what way to filter the audio line out signal, since each filter will be processing the same signal. Could I use something like an audio crossover for example? Simpler the better.

Analogue - digital conversion could be tricky since there needs to be only 10 steps into the DMX input. Would be ideal if it were in 0.5V steps

? (may be needed, dependant on the A-D section) converts the output from the A-D into the 10 steps 0-5V, in 0.5v steps.

Any advice on what approach to take is very welcome.

Thanks!
matty6ribs is offline  
Old 11th May 2007, 11:22 AM   (permalink)
Default

I presume what you're trying to make is a 'sound to light' project, but using DMX lighting instead of simple bulbs?. As such you need pretty all of a sound to light unit except the output triacs, I would suggest you need these stages:

AGC input stage.
Three filters, low pass, band pass, high pass.
Optional - three seperate agc stages after the filters.
Three rectifier stages.
Micro-controller (PIC) reading the outputs of the three rectifiers and generating the DMX signals.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 11th May 2007, 11:47 AM   (permalink)
Default

Hi Nigel,

Sorry I forgot to mention I already have the DMX input taken care of, it will accept voltages of 0-5V. This is why I am trying to get steps of 0.5V, I only need 10 different levels.

You are correct, sound to light is the application. I presume the AGC is needed to boost the input signal for the filters?

Thanks for your help!
matty6ribs is offline  
Old 11th May 2007, 12:42 PM   (permalink)
Default

Quote:
Originally Posted by matty6ribs
Hi Nigel,

Sorry I forgot to mention I already have the DMX input taken care of, it will accept voltages of 0-5V. This is why I am trying to get steps of 0.5V, I only need 10 different levels.
I that case simply scale the output of the rectifiers to 0-5V and apply it directly - presumably the DMX input uses an A2D?.

Quote:

You are correct, sound to light is the application. I presume the AGC is needed to boost the input signal for the filters?
It's to keep a consistant signal level, otherwise you're continually altering the manual gain control to keep it working well.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 11th May 2007, 03:52 PM   (permalink)
Default

Your steps are linear but your hearing's response to loudness is logarithmic. So the top 3 or 4 steps will be at about the same loudness, a few steps in the middle will be spread out a little in loudness and the few steps at the bottom will be very far apart in loudness.

If you make the steps spaced logarithmically then they will be spaced equally from low loudness to fairly high loudness.
5.0V, 3.5V, 2.5V, 1.77V, 1.25V, 0.88V, 0.62V, 0.44V, 0.31V and 0.22V.
__________________
Uncle $crooge

Last edited by audioguru; 11th May 2007 at 03:55 PM.
audioguru is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Coupling with an audio output fvnktion Electronic Projects Design/Ideas/Reviews 3 5th February 2007 10:38 PM
USB to RS232 conversion chintan_jagani Electronic Projects Design/Ideas/Reviews 8 12th October 2006 04:22 AM
Low Power Audio Amplifier indecided Electronic Projects Design/Ideas/Reviews 33 8th May 2005 04:18 PM
Audio Amplifier Designing Project silverferro Electronic Projects Design/Ideas/Reviews 3 26th August 2004 11:05 AM
Front pannel audio connector for computer grrr_arrghh General Electronics Chat 0 7th March 2004 05:01 PM



All times are GMT. The time now is 06:55 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker