Dark Bit Factory &  Gravity

Dark Bit Factory & Gravity

  • July 30, 2010 *
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Pages: [1]   Go Down

Author Topic: Sync stuff to music  (Read 299 times)

0 Members and 1 Guest are viewing this topic.

powertrace

  • ZX 81
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
Sync stuff to music
« on: February 21, 2010 »
Hey.
I am using DarkBasic Pro and wonder how to make like a ball bounce in time to music and it's bpm and display a realtime waveform of the music?

I think I need to use bass.dll? but I haven't found any tutorial or example of how to use that...

Regards PowerTrace
Logged

Clyde

  • A Little Fuzzy Wuzzy
  • Contributing Author
  • Senior Member
  • ******
  • Karma: 71
  • Offline Offline
  • Posts: 6965
    • View Profile
Re: Sync stuff to music
« Reply #1 on: February 22, 2010 »
Hello there, I havent used DB pro in a long while.

Do you know, has anybody on the dark basic / db pro forums made any wrappers. bass lib?

If it can import dlls, and use ptrs then it will make syncing to a specific sample or instrument a lot easier. otherwize you may be stuck with having to rely on channel volumes, which is ok, but not what I think would suit you best.

Have a look at the Blitz Max topic that Hotshot requested about using bass, as the syntax shouldn't be too much different, and it may help.

please let us know how you get on, or if it's releveant at all.
Logged
If only I knew then what I know now.

rbz

  • MOD
  • Senior Member
  • *******
  • Karma: 272
  • Offline Offline
  • Posts: 2133
    • View Profile
    • WWW
Re: Sync stuff to music
« Reply #2 on: February 22, 2010 »
Take a look a this thread, it might help you setting it up:
http://www.dbfinteractive.com/forum/index.php/topic,3315.msg44550.html#msg44550

There is some example here also:
http://home.arcor.de/testaware/Codebase/codebase.htm

After you got it working the next step is to learn how to synch gfx and sound.

Logged
rbz ^ Codigos
Pages: [1]   Go Up
 

 

B l a c k R a i n V.2 by C r i p

Page created in 0.098 seconds with 18 queries.