Dark Bit Factory & Gravity

PROGRAMMING => Other languages => Blitz => Topic started by: mike_g on January 06, 2007

Title: Getting sound volume-pitch levels[BB2D]
Post by: mike_g on January 06, 2007
I am thinking about making a music visualiser since it would be a cool way to stick a load of vector graphics stuff together. I would like to be able to time the effects with the music. Now I havent used any of the Blitz sound commands as of yet so I had a peek at the command list. Theres commands in it to set sound volume and pitch but seemingly none to get their level. Am I missing something? Is there anyway I can get this data?     
Title: Re: Getting sound volume-pitch levels
Post by: Ghost^BHT on January 06, 2007
You can't get that information from any of the Blitz commands. You need to use Bass.dll you can get it from   www.un4seen.com. then you need a wrapper[blitz code to access the library] which I can send to you or post the code it if you want.
Title: Re: Getting sound volume-pitch levels
Post by: Paul on January 06, 2007
THis looks great but the license? if i do a demo and want to show it here on dbf, would i be allowed to do that???
and i'd love the wrapper :D 

Edit:
Only if you sell the demo, i think at least
Title: Re: Getting sound volume-pitch levels
Post by: Clyde on January 06, 2007
Yes you'll be completely safe at using the bass.dll with demos.

If your doing a commercial game, that might be a different ball game. I will have alook at the un4seen site, to see if there are any limitations. Unless that is someone else beats me to the punch, or knows.

Cheers,
Clyde.
Title: Re: Getting sound volume-pitch levels
Post by: mike_g on January 06, 2007
Cheers Wham  :) I downloaded version 2.3, just need the wrapper now. Since paul would like it too you could  post it here. Alternatively my email is: mikegrundel@hotmail.com
Title: Re: Getting sound volume-pitch levels
Post by: Ghost^BHT on January 06, 2007
Forgot to ask - which version of Blitz are you using? As the newer version of Bass.dll may not work with the wrapper. :( But I have the older versions if needed.  I will package everything together and email it to you.
Title: Re: Getting sound volume-pitch levels
Post by: Paul on January 06, 2007
Reply thx, got my emailadress? else thenewmaster@spray.se

thanks for the effort  :clap: :)

//Paul

:edit, have some karma from me too
Title: Re: Getting sound volume-pitch levels
Post by: mike_g on January 06, 2007
I'm using B3D, so hopefully it should work, if it don't I could allways download an older version. Thanks for the help, have some karma  :)