Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / ..Sound processing and volume..

Author
Message
Ecco
10
Years of Service
User Offline
Joined: 28th Feb 2014
Location:
Posted: 28th Feb 2014 11:49
Hi folks..

Im new here, and after i have spent some time with trial version, i must admit that I like this tool. However, there are some things i was unable to see in documentation or in examples. Basically, I want to extract data from sound/music file, in order to create 'VU Meter' effect..is that possible with AppGameKit ?? Also, I was unable to see any commands for sound/music volume?? Thank you in advance..

Ecco
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 28th Feb 2014 13:57
Unfortunately not, the sound commands are pretty scarce - I'd like to be able to do a lot more with sound effects and music.

I am the one who knocks...
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 1st Mar 2014 02:47
In theory, if there is a C++ library out there that has that functionality, you could use it with Tier 2.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
The Daddy
15
Years of Service
User Offline
Joined: 13th Jan 2009
Location: Essex
Posted: 1st Mar 2014 19:03
I guess technically you could using non AppGameKit commands, get the address of the sound data and then cycle through it processing however you seem fit.

If the sounds are to be preloaded (i.e not recorded within the app) you could also load the sounds in something like audacity and see peeks/troughs of the wave form and at what times, then in your app, create a timed loop which matches your sound length (length from audacity)' and at the relevant times adjust your UV metres. It is a cheat but will work?

Alternatively use Tier2, load the sounds using another cross platform library...ie SDL, then you can access the sound data directly and decompile the WAV structure!

www.bitmanip.com
All the juicy you could ever dream of!
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 2nd Mar 2014 12:29
Of course you can, i do it with OBJ C and i done some functions in Tier 2 to pass some data to AGK.
I'm working on a Pro Tracker DJ Software at the moment!

Long life to Steve!

Login to post a reply

Server time is: 2024-11-25 02:32:22
Your offset time is: 2024-11-25 02:32:22