Averaging over the samples in an audio file does not necessarily give
you the DC offset. For some signals, it may not be too far off
though. Try using an FFT instead.
--Andrew
On Fri, Dec 19, 2008 at 1:33 PM, Miguel Negrao
<miguel.negrao@xxxxxxxxxxxxxxxxx> wrote:
Rob Watson escreveu:
Hello list,
I've just published a couple of UGens. they're the first i've
written so any feedback would be welcome.
SwitchDelay - feedback delay line implementing switch-and-ramp
technique (compensates for discontinuities in signal when switching
buffer read pointer/delay time)
AverageOutput - super-simple solution to obtaining mean average of a
signal
Full info in the help files.
tarball: http://github.com/rfwatson/rfw-ugens/tarball/master
It's quite possible I suppose that these have been done before
somewhere, but hope somebody finds them useful..;)
Rob
_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/
The averageOutput UGen could be used to detect DC offset, right ?
--
Miguel Negrão // ZLB
http://www.friendlyvirus.org/artists/zlb/
_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/