VJForums  

Go Back   VJForums > Technique > Developers Area

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 31st May 2007, 05:10 AM
asterix's Avatar
asterix asterix is offline
IMAGINEER
 
Join Date: Dec 2002
Location: AUSTRALIA
Posts: 4,620
Send a message via MSN to asterix
Default Audio BPM extraction

I want to create a BPM extraction tool for VSXU. Has anyone had any particular success or better results from any particular formula?

We can extract a bass bpm from a 10 band eq or 2 band low/high.
Reply With Quote
  #2  
Old 31st May 2007, 05:52 AM
johnnylocust's Avatar
johnnylocust johnnylocust is offline
R3dN3cK \/_/
 
Join Date: Aug 2004
Location: UNITED STATES
Posts: 387
Default

There's a somewhat usable example in the Bass_Fx extension to the Bass Audio Lib. You can basically set it up with a callback function that will be called at a fixed interval with the current BPM. It's not terribly accurate when doing it realtime, but it's pretty good when processing an entire audio stream.
__________________
<a href="http://www.haivision.com/products/coolsign">CoolSign</a>
CoolSign
Reply With Quote
  #3  
Old 31st May 2007, 10:12 AM
stex stex is offline
--.-'--<@
 
Join Date: Oct 2004
Location: AUSTRIA
Posts: 126
Default

Hello,

The Bass.dll as johnnylocust said is very good and easy to implement.
I purchased a 1-Software Distribution License for 100 bucks and I'm very happy with it.

Stex
__________________
per aspera ad astra
Reply With Quote
  #4  
Old 31st May 2007, 10:19 AM
asterix's Avatar
asterix asterix is offline
IMAGINEER
 
Join Date: Dec 2002
Location: AUSTRALIA
Posts: 4,620
Send a message via MSN to asterix
Default

Ok so it acts like an FFT essentially. Nice- I guess thats what I've been looking for but alot of mulah for an open source project (I wonder if they have a concession
I probably want something reasonably accurate in realtime. Most of vsxu drives on opengl so theres a little more cpu to play with than a regular vj app.
Reply With Quote
  #5  
Old 31st May 2007, 11:45 AM
Motionreactor's Avatar
Motionreactor Motionreactor is offline
www.motionreactor.net
 
Join Date: Dec 2005
Location: AUSTRALIA
Posts: 535
Default

I'm looking at Bass and Bass_FX at the moment. It seems pretty accurate, granted it gets lost in areas and particularily heavy parts of electronic music though. However it seems like a good solution when coupled with some of your own program logic to interpret expected future beats and a manual override / tap to re-align things. This is what I plan to do in the near future.
Reply With Quote
  #6  
Old 31st May 2007, 03:00 PM
johnnylocust's Avatar
johnnylocust johnnylocust is offline
R3dN3cK \/_/
 
Join Date: Aug 2004
Location: UNITED STATES
Posts: 387
Default

Quote:
I wonder if they have a concession
They do. It doesn't even have to be open source, just free of charge.
__________________
<a href="http://www.haivision.com/products/coolsign">CoolSign</a>
CoolSign
Reply With Quote
  #7  
Old 1st June 2007, 02:10 PM
Motionreactor's Avatar
Motionreactor Motionreactor is offline
www.motionreactor.net
 
Join Date: Dec 2005
Location: AUSTRALIA
Posts: 535
Default

I just got BASS working under OsX in c++. It was medium / difficult for me (im very newbie programmer really) but it was not that hard... just a matter of piecing together from the documentation. Unfortunately I couldn't find a tutorial, but I'm starting to realise this library is self documenting because its functions are self explanatory.
Reply With Quote
  #8  
Old 1st June 2007, 09:35 PM
stex stex is offline
--.-'--<@
 
Join Date: Oct 2004
Location: AUSTRIA
Posts: 126
Default

Quote:
Originally Posted by Motionreactor
I just got BASS working under OsX in c++.
curiosity killed the cat: what are you implementing?
stex
__________________
per aspera ad astra
Reply With Quote
  #9  
Old 3rd June 2007, 05:39 AM
Motionreactor's Avatar
Motionreactor Motionreactor is offline
www.motionreactor.net
 
Join Date: Dec 2005
Location: AUSTRALIA
Posts: 535
Default

well, only tests and experiments at the moment... but eventually a much larger system.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger