1
Audio / GetPlayingOffset interval
« on: March 30, 2013, 03:19:36 pm »
Hello,
I am interested in using SFML Audio in a beat matching application
A program allows me to get preprocessed beat timings in a sound file with high precision
I'm trying to match those times with the current audio playtime using GetPlayingOffset
On Ubuntu 12.04 with gcc 4.7 i was getting intervals of .02322s and .04644s, then on a VM with Ubuntu 11.10 and gcc 4.6 got steady intervals of .08s. Am using SFML 1.6
How can I get the GetPlayingOffset interval as small as possible (or at least maintain .02322 as .08 wasn't desirable)? In a previous post someone indicated the interval is dependent on the buffer size, but I made the buffer smaller with no interval reduction. And wouldn't the default buffer size be the same between systems?
Appreciate any insight into the GetPlayingOffset method or with my current approach
I am interested in using SFML Audio in a beat matching application
A program allows me to get preprocessed beat timings in a sound file with high precision
I'm trying to match those times with the current audio playtime using GetPlayingOffset
On Ubuntu 12.04 with gcc 4.7 i was getting intervals of .02322s and .04644s, then on a VM with Ubuntu 11.10 and gcc 4.6 got steady intervals of .08s. Am using SFML 1.6
How can I get the GetPlayingOffset interval as small as possible (or at least maintain .02322 as .08 wasn't desirable)? In a previous post someone indicated the interval is dependent on the buffer size, but I made the buffer smaller with no interval reduction. And wouldn't the default buffer size be the same between systems?
Appreciate any insight into the GetPlayingOffset method or with my current approach