Using Vamp Plugins and Hosts > Getting and Using Vamp Plugins

reading mp3 files?

<< < (3/3)

cannam:
Ah.  I think the problem here is kind of simple -- the FixedTempoEstimator, being a stupid soul, only looks at the start of the audio file and assumes that the remainder is the same in terms of tempo.  However, this file (not unusually) has silence at the start, so it's quite lost.

The host would have to feed it a different section of the file in order to get any result -- and this is not something vamp-simple-host can do, though you can do it in Sonic Visualiser with a selection and the "restrict to selection extents" option in the plugin parameters dialog.

This shouldn't be a problem for other plugins, though -- for example, qm-vamp-plugins.so:qm-tempotracker:tempo (as argument to vamp-simple-host) should give you a list of tempo estimates, with a new value each time the tempo tracker thinks the tempo has changed.

It may be worth noting that none of the published tempo trackers is likely to work very well with this particular recording.  (Nice recording, by the way.)


Chris

no0b:
haha thanks :) I've tried with the qm one too and got nothing too though.. :x

no0b:
bump?

cannam:
Sorry, what output does vamp-simple-host give with the QM tempo tracker, then?  I have tried it with your example file, and I see a list of 584 beat locations printed to stdout (one per line, just the beat time followed by a colon because there is no other data associated with each beat).


Chris

no0b:
Hi! Oh so that's the beats? oh! ok thanks! I was looking for information after the semicolon cos I was under the impression that each timestamp was like 1 frame.

Thanks!! :D:D:D

Navigation

[0] Message Index

[*] Previous page

Go to full version