busco esquema

hace tiempo os comente que queria un analizador de espectro para la musica (esas barritas subir y bajar), he encontrado un "kit" que en teoria hace eso pero tiene salida a tv, creeis que se puede adaptar a un lcd?

Es que me parece mentira que no haya ningun esquema por internet o aparato para hacer eso sin necesidad de usar un pc.

El aparatejo en cuestion es este:

formatting link

que os parece ?

Reply to
davish
Loading thread data ...

davish escribió:

Me atrevería a decir que eso de la página que dices (por el texto y tamaño), se tiene que parecer más a un vúmetro que a un analizador de espectro.

El problema que veo con un analizador de espectro como dices, es que no parece que tenga que ser muy barato.

Lo primero que se me ocurre es un filtro para cada banda, y un vúmetro para cada salida.

Saludos.

Reply to
Francisco Gayá

jova pero si con el pc se puede hacer con casi todos los programas que hay para lcd, o con el mismo winamp, parece increible que nadie haya programado un pic o algo asi para hacer esta chorrada.

"Francisco Gayá" escribió en el mensaje news: snipped-for-privacy@wanadoo.es...

musica

eso

aparato

Reply to
davish

No veo que sea una chorrada como tu mencionas... No es lo mismo un análisis puramente digital como el que hace el WINAMP con lo que tu estás mencionando.

Por tanto no esperarás meter el Jack a un PIC y que c> jova pero si con el pc se puede hacer con casi todos los programas que hay

Reply to
David Cynch

davish escribió:

Con el PC, todo es más fácil. Tienes todo el archivo digitalizado y puedes realizar cálculos sobre el contenido del archivo para mostrarlo.

Lo que ya no es tan sencillo es hacerlo en tiempo real, sin partir de una información grabada. Si abres la grabadora de sonidos, y grabas lo que dices por el micrófono, ya verás como el gráfico que te muestra mientras vas hablando, deja de ser tan real. Tiene un tiempo de reacción bastante largo. Y eso que sólo te lo muestra estilo chapuzascopio.

También te puedes dejar sólo filtros y hacer el multiplexado entre sus salidas y conversión A/D con un PIC.

Saludos.

Reply to
Francisco Gayá

programado

Lo que se hace en el pc, es una transformada rápida de fourier FFT. Lo que se hace en un analizador de espectros analógico para audio, es construir un banco de filtros, y a la salida de cada filtro se coloca un detector de envolvente conectado a una barra de leds (VUmetro). No es complicado hacerlo para 4 o 5 bandas, pero sí para analizar p.el. 5 octavas.

Saludos Jorge

Reply to
Jorge Sánchez

Hombre, no es una chorrada, se trata de calcular la FFT de muestras sucesivas de sonido. Por poco que busques con San Google las palabras PIC + FFT hallarás respuesta a tus preguntas. Veo que el 18F452 puede hacer el cálculo así que yo miraría las Application notes de Microchip.

Un saludo a todos!

formatting link

Reply to
GasparV

formatting link
Controlador por I2C, con 10 cortes, amén de un montón de cosas más para procesar el sonido. Gratis, como sample.

The TAS3103 contains an I2C bus programmable function block that can serve as either a spectrum analyzer or a volume unit (VU) meter. Figure 3-26 shows the structure of this function block and lists the I2C subaddress of the parameters that control it. The block consists of 10 biquad filters, each followed by an rms estimator and a logarithmic converter. Two nodes provide input to the block, with each node servicing five of the 10 biquad filters. Audio from input node s can either come exclusively from channel

1, channel 2, channel 3, or from a gain-weighted combination of these channels. Audio from input node t can also come exclusively from either channel 1, channel 2, or channel 3, or from a gain-weighted combination of these channels. The spectrum analyzer then can be used to divide the audio frequency band into ten frequency bins to examine the spectrum of the audio data stream on channel 1, channel 2, channel 3, or any combination of these channels. The spectrum analyzer can also be used to divide the audio frequency band into five frequency bins to examine the spectral content of two of the channels independently.

The VU meter is a special case of the spectrum analyzer that uses only the outputs from biquad 5 and biquad 6. Typically, for the VU meter, one channel would be routed to biquad

5 (node s) and a different channel would be routed to biquad 6 (node t). Each biquad filter would be assigned a band pass transfer function that encompasses most of the audio band, or the filter could be configured as a pass-through device to see the full spectral band. The two outputs then would be a measure of the energy on the two channels. Other options for the VU meter are also available. For example, by properly setting the coefficients on biquad 5 and biquad 6, the concurrent measurement of bass and treble volume levels on a single channel could be made.

Mixer and summation elements preceding the two input nodes s and t provide a means of adjusting the spectrum analyzer and VU meter outputs relative to the incoming audio data stream. The spectrum analyzer and VU meter outputs are unsigned 5.3 format base 2 logarithmic numbers. The integer part of the number designates the most significant bit (in the 48-bit digital audio processor - DAP - word) occupied by the magnitude of the rms estimate of

the biquad filter output. A value of 31 means the magnitude of the rms estimate occupies bit 47 of the 48-bit DAP word (bit 48 is the sign bit, and using the absolute value of the biquad filter output in determining the rms estimate makes this bit always 0 in value). A value of 30 means the magnitude of the rms estimate occupies bit 46 and this pattern continues with a value of 1 signifying the magnitude of the rms estimate occupies bit 17. A value of 0 signifies that the magnitude of the rms estimate is below bit 17. The fractional digits in the 5.3 formatted number are simply the three bits below the most significant data bit. If the rms estimate lies below bit 16 of the 48-bit DAP word, the spectrum analyzer/VU meter output is 0.0. Figure 3-27 gives examples of logarithmic outputs for different 48-bit rms estimate values.

Reply to
KT88

looooooooooooooooooooool !

"KT88" escribió en el mensaje news: snipped-for-privacy@individual.net...

procesar el

as either a

structure of this

it.

and a

node servicing five

exclusively from channel

channels. Audio from

or channel 3, or

then can be used

spectrum of the

of these

frequency band into

independently.

outputs from

routed to biquad

Each biquad

most of the audio

the full spectral

channels. Other

setting the

and treble

a means of

incoming audio data

base 2

significant bit

magnitude of the rms

estimate occupies

absolute value of the

0 in value). A

this pattern

occupies bit 17.

  1. The

below the most

DAP word, the

logarithmic

Reply to
davish

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.