libmp3 visualizations?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
Warmtoe
DC Developer
DC Developer
Posts: 453
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Thu May 16, 2002 8:29 am
Location: ice88's house
Has thanked: 0
Been thanked: 0
Contact:

libmp3 visualizations?

Post by Warmtoe »

Does anyone know how to get visualization type information out of libmp3 on the DC? I am trying to tie some graphical output up with music being played - not sure how to do it...
quarn
DC Developer
DC Developer
Posts: 80
Joined: Wed Oct 17, 2001 7:44 pm
Location: Sweden
Has thanked: 0
Been thanked: 1 time

Re: libmp3 visualizations?

Post by quarn »

Warmtoe wrote:Does anyone know how to get visualization type information out of libmp3 on the DC? I am trying to tie some graphical output up with music being played - not sure how to do it...
I'm not sure exactly what you mean with "visualization type information"... Beat detection? Spectrum analysis? Oscilloscope waveform?

If beat detection and spectrum analysis is built in into libmp3 I do not know (probably not), but plotting the audio buffer that you send to the sound chip would give you the oscilloscope waveform, fourier transforming that buffer would give you a spectrum analysis and here are some tips for beat detection.

Have fun! :)
Warmtoe
DC Developer
DC Developer
Posts: 453
Joined: Thu May 16, 2002 8:29 am
Location: ice88's house
Has thanked: 0
Been thanked: 0
Contact:

Re: libmp3 visualizations?

Post by Warmtoe »

quarn wrote:
Warmtoe wrote:Does anyone know how to get visualization type information out of libmp3 on the DC? I am trying to tie some graphical output up with music being played - not sure how to do it...
I'm not sure exactly what you mean with "visualization type information"... Beat detection? Spectrum analysis? Oscilloscope waveform?

If beat detection and spectrum analysis is built in into libmp3 I do not know (probably not), but plotting the audio buffer that you send to the sound chip would give you the oscilloscope waveform, fourier transforming that buffer would give you a spectrum analysis and here are some tips for beat detection.

Have fun! :)
Yeah - I guess beat detection is what I'm after... thanks!
Strapping Scherzo
DC Developer
DC Developer
Posts: 2285
Joined: Fri Feb 21, 2003 7:37 am
Location: Chicago, IL
Has thanked: 0
Been thanked: 1 time
Contact:

Post by Strapping Scherzo »

If you're also looking to do spectrum analysis, you can find code that accomplishes this in XMMS. I did this for the NSF player feature of the forthcoming NesterDC SE.
Image
Post Reply