Detect Inside pfft~
Feb 01 2009 | 12:20 pm
I've been playing with a wrapper around this onset detection lib http://onsetsds.sourceforge.net/, running inside pfft~. (To my surprise, it works! First time!)
A couple of questions:
- Is there a standard way of determining whether an external is inside a pfft~? It would be good to be able to throw an error to the user if not...
- Even better - would it be possible, in theory, to make an object that could alter its behaviour depending on pfft~ / not-pfft~ context. The lib in question can delegate fft duty to FFTW, so it would be pretty awesome to have a single object that could behave sensibly in either setting.
More generally: - r_pfft.h /looks like/ it should be useful for this sort of lark, but I couldn't find any documentation in either the 4 or 5 sdks, or the list archives.