Page 1 of 1

3D AudioAnimator

Posted: Fri Oct 25, 2013 9:45 pm
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

Re: 3D AudioAnimator

Posted: Sat Oct 26, 2013 3:17 am
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

Re: 3D AudioAnimator

Posted: Sat Oct 26, 2013 11:46 am
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

Re: 3D AudioAnimator

Posted: Sun Oct 27, 2013 12:40 am
by Cube_
oh wow, this looks really cool :P

Re: 3D AudioAnimator

Posted: Mon Oct 28, 2013 9:34 am
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.

Re: 3D AudioAnimator

Posted: Tue Apr 08, 2014 5:52 pm
by gerdb
UPDATE :-) :mrgreen: :roll: :wink: :lol: 8) :o :arrow: :D

Re: 3D AudioAnimator

Posted: Wed Apr 09, 2014 11:35 am
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? ).