Author Topic: Getting sound volume-pitch levels[BB2D]  (Read 5052 times)

0 Members and 1 Guest are viewing this topic.

Offline mike_g

  • Amiga 1200
  • ****
  • Posts: 435
  • Karma: 34
    • View Profile
Getting sound volume-pitch levels[BB2D]
« 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?     
« Last Edit: July 21, 2007 by Shockwave »

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: Getting sound volume-pitch levels
« Reply #1 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.
« Last Edit: January 06, 2007 by wham »

Offline Paul

  • Pentium
  • *****
  • Posts: 1490
  • Karma: 47
    • View Profile
Re: Getting sound volume-pitch levels
« Reply #2 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
« Last Edit: January 06, 2007 by Paul »
I will bite you - http://s5.bitefight.se/c.php?uid=31059
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Getting sound volume-pitch levels
« Reply #3 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.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline mike_g

  • Amiga 1200
  • ****
  • Posts: 435
  • Karma: 34
    • View Profile
Re: Getting sound volume-pitch levels
« Reply #4 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

Offline Ghost^BHT

  • Clueless and Happy
  • ^GVY
  • Pentium
  • ******
  • Posts: 931
  • Karma: 49
  • BYTE ME!
    • View Profile
Re: Getting sound volume-pitch levels
« Reply #5 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.

Offline Paul

  • Pentium
  • *****
  • Posts: 1490
  • Karma: 47
    • View Profile
Re: Getting sound volume-pitch levels
« Reply #6 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
« Last Edit: January 06, 2007 by Paul »
I will bite you - http://s5.bitefight.se/c.php?uid=31059
Challenge Trophies Won:

Offline mike_g

  • Amiga 1200
  • ****
  • Posts: 435
  • Karma: 34
    • View Profile
Re: Getting sound volume-pitch levels
« Reply #7 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  :)