Dear List,
I'm trying to sync a counter that keeps track of bars and beats of an ogg file that is started simultaneously. Unfortunately, there's a big evident drift after just 5-10 seconds.
I'm using oggread~ and simple metro constructs for this. Am I missing something? Is there a reliable way to display/deduce bars and beats from a linear playing audio file (compressed audio file, that is!)
Thanks to all, as always,
Filippo
Filippo Beck Peccoz Game Audio www.fbpsound.com Twitter: @fbpsound Skype: fbpsound Mobile: +49-(0)1520-4004143
You can have one-sample accuracy if you load the sound into a table/array and play it that way. You might try comparing oggread~'s accuracy to readsf~. I've had pretty accurate playback with reafsf~, certainly a lot better than what you are getting. That should tell you whether the problem lies in oggread~.
I know that Olaf Matthes, the author of the pdogg objects, took them closed source and started selling "ogg pro" objects for Max/MSP. They might be improved. But it would be nice if someone fixed up any issues in the pdogg objects.
.hc
On 01/08/2013 12:53 PM, Filippo Peccoz wrote:
Dear List,
I'm trying to sync a counter that keeps track of bars and beats of an ogg file that is started simultaneously. Unfortunately, there's a big evident drift after just 5-10 seconds.
I'm using oggread~ and simple metro constructs for this. Am I missing something? Is there a reliable way to display/deduce bars and beats from a linear playing audio file (compressed audio file, that is!)
Thanks to all, as always,
Filippo
Filippo Beck Peccoz Game Audio www.fbpsound.com Twitter: @fbpsound Skype: fbpsound Mobile: +49-(0)1520-4004143
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list