3D AudioAnimator

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
gerdb
Posts: 194
Joined: Wed Dec 02, 2009 8:21 pm
Location: Dresden, Germany

3D AudioAnimator

Post by gerdb »

Hi guys,

im currently totally into sound creation and signal analysis using fourier-transform

i try to make an animated screensaver for audio-files

Image

UPDATE: I moved the project to GitHub, so just download the whole thing as zip, dont know how big :-)

I compiled it on Windows 7 x64 Home Premium dont know if it runs on 32-bit, but i guess not.
If u like to compile it yourself on Windows get msys, mingw_w64 4.8.2 sjlj, codeblocks and extract all libraries found in BenniSDK/lib folder, which are
compiled with mingw_w64 sjlj ( i chose sjlj due to better compatibility with linux )

It still runs with SFML, but i happened to compile PortAudio with all major Windows sound APIs ( ASIO, Wasapi, DSound, WMME, WMPKS ), so much better times are coming and hopefully in the near future one can choose the soundcard himself ( will start to work on a SoundOptionDialog )

Project Binaries ( bin + media ) https://github.com/benjaminhampe/BenniSDK-demos-x64/

Whole Project ( bin + media + src + libs) https://github.com/benjaminhampe/BenniSDK/

There are lots of improvements, the speed is more than doubled ( due to less drivercalls and less allocations )

+ I added some GUI to manipulate the most important parameters ( Matrix size, dB scale, fft-size )
+ U can now switch between linear and logarithmic display-mode
+ I added fltk -> use the fltk exe which is more uptodate
+ main classes are FourierTransformRtoC, IAudioPlayer, CAudioPlayerSFML, CGUIAudioPlayer, CMatrix, CMatrixSceneNode and AudioAnimator3d_App
- I dont get the previewtex (waveform) working on program start, u have to load a file to make it work ( dont know why, if somebody knows, tell me )
Have fun
Last edited by gerdb on Tue Apr 08, 2014 6:29 pm, edited 10 times in total.
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Re: 3D AudioAnimator

Post by kazymjir »

Oh what an interesting project!

I was playing with such things too, check this video (at first ad may play, need to wait):
http://w538.wrzuta.pl/film/00vVLQYQqfI/ ... ectrum_fft

The flame was based on analyzing the song using fast Fourier transformation. Looks better on the refrain.

Great too see such programs here
gerdb
Posts: 194
Joined: Wed Dec 02, 2009 8:21 pm
Location: Dresden, Germany

Re: 3D AudioAnimator

Post by gerdb »

hi, i got my inspiration from this sweet looking video, i also own the razor program ( for making dubstep wobble sounds ) and tried to emulate its integrated 3d visualizer. check it out

http://www.youtube.com/watch?v=gbuZVcw3ZiM
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: 3D AudioAnimator

Post by Cube_ »

oh wow, this looks really cool :P
"this is not the bottleneck you are looking for"
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Re: 3D AudioAnimator

Post by kazymjir »

Nice, it's from Native Instruments, I was using some of their software in past.

Check out this game: http://www.youtube.com/watch?v=le7PQyHYz-U

You can load any song into it, ie in MP3 format. Didn't test it with any lossless formats, I do not know if it support FLAC but almost for sure should work with WAV. The game analyzes the song spectrum and builds a stage basing on gathered data. Speed of moving ship is based on song tempo.
gerdb
Posts: 194
Joined: Wed Dec 02, 2009 8:21 pm
Location: Dresden, Germany

Re: 3D AudioAnimator

Post by gerdb »

UPDATE :-) :mrgreen: :roll: :wink: :lol: 8) :o :arrow: :D
gerdb
Posts: 194
Joined: Wed Dec 02, 2009 8:21 pm
Location: Dresden, Germany

Re: 3D AudioAnimator

Post by gerdb »

next small update

- CGUIAudioPlayer can scroll PlayPosition with mouse now
- Startup now works sometime after i deactivated MipMap Creation before adding the preview-texture to driver ( from image )
but: Does not work on all program start, so there is something unpredictable happening ( multithreading issue? ).
Post Reply