I want to find the overall average amplitude of a soundfile. I want the processing to happen as quick as possible. I have tried a various methods, but have not gotten something to work satisfactorily.
Anyone have any working examples of this?
.hc
zen
\
\
\[D[D[D[D
sorry if you knew about this already, but you probably want to use VASP for this:
http://www.parasitaere-kapazitaeten.net/ext/
"VASP is a package for PD or Max/MSP consisting of a number of externals extending these systems with functions for non-realtime array-based audio data processing. VASP is capable of working in the background, therefore not influencing eventual dsp signal processing."
i've not actually done anything with it yet, so i'd love to hear how it goes if you do.
-josh
Hans-Christoph Steiner wrote:
I want to find the overall average amplitude of a soundfile. I want the processing to happen as quick as possible. I have tried a various methods, but have not gotten something to work satisfactorily.
Anyone have any working examples of this?
.hc
zen
\[D[D[D[D
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Hi, interestingly, up till now there was no means in vasp for that.... however, if you check it out from cvs tomorrow morning you'll find a vasp.sum? object for this kind of things.
In the pd-ex/vasp_qsum.pd help file you'll also find an example for RMS calculation which i think is what you want to do. In principle it does the following:
[vasp buf( -> [vasp.sqr] -> [vasp.sum?] -> [/ samples ] -> [sqrt] -> RMS value
There will hopefully be a more elegant (non-destructible though in-place) way for that in the future......
best greetings, Thomas
----- Original Message ----- From: "Josh Steiner" joschi@eds.org To: "Hans-Christoph Steiner" hans@eds.org Cc: pd-list@iem.kug.ac.at Sent: Thursday, March 20, 2003 8:30 PM Subject: Re: [PD] average amp of a soundfile
sorry if you knew about this already, but you probably want to use VASP for this:
http://www.parasitaere-kapazitaeten.net/ext/
"VASP is a package for PD or Max/MSP consisting of a number of externals extending these systems with functions for non-realtime array-based audio data processing. VASP is capable of working in the background, therefore not influencing eventual dsp signal processing."
i've not actually done anything with it yet, so i'd love to hear how it goes if you do.
-josh
Hans-Christoph Steiner wrote:
I want to find the overall average amplitude of a soundfile. I want the processing to happen as quick as possible. I have tried a various methods, but have not gotten something to work satisfactorily.
Anyone have any working examples of this?
.hc
zen
\[D[D[D[D
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
-- ____________________________________________________ independent u.s. drum'n'bass -- http://vitriolix.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Thanks all for the responses, I figured this out:
[vasp buf( -> [vasp.sqr] -> [vasp.?] -> [mean] -> [sqrt] -> RMS value
[mean] is from Johannes' ZEXY. In the future, I'll be sure to use [vasp.sum?]!
Thanks much for vasp.
.hc
On Thu, 20 Mar 2003, Thomas Grill wrote:
Hi, interestingly, up till now there was no means in vasp for that.... however, if you check it out from cvs tomorrow morning you'll find a vasp.sum? object for this kind of things.
In the pd-ex/vasp_qsum.pd help file you'll also find an example for RMS calculation which i think is what you want to do. In principle it does the following:
[vasp buf( -> [vasp.sqr] -> [vasp.sum?] -> [/ samples ] -> [sqrt] -> RMS value
There will hopefully be a more elegant (non-destructible though in-place) way for that in the future......
best greetings, Thomas
----- Original Message ----- From: "Josh Steiner" joschi@eds.org To: "Hans-Christoph Steiner" hans@eds.org Cc: pd-list@iem.kug.ac.at Sent: Thursday, March 20, 2003 8:30 PM Subject: Re: [PD] average amp of a soundfile
sorry if you knew about this already, but you probably want to use VASP for this:
http://www.parasitaere-kapazitaeten.net/ext/
"VASP is a package for PD or Max/MSP consisting of a number of externals extending these systems with functions for non-realtime array-based audio data processing. VASP is capable of working in the background, therefore not influencing eventual dsp signal processing."
i've not actually done anything with it yet, so i'd love to hear how it goes if you do.
-josh
Hans-Christoph Steiner wrote:
I want to find the overall average amplitude of a soundfile. I want the processing to happen as quick as possible. I have tried a various methods, but have not gotten something to work satisfactorily.
Anyone have any working examples of this?
.hc
zen
\[D[D[D[D
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
-- ____________________________________________________ independent u.s. drum'n'bass -- http://vitriolix.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
zen
\
\
\[D[D[D[D
Hi Hans-Christoph,
[vasp buf( -> [vasp.sqr] -> [vasp.?] -> [mean] -> [sqrt] -> RMS value
oh yes, that's functional as well (although there's a huge list message produced by [vasp.?]....)
As an aside, it would be interesting to create a spectrally weighted average (loudness)... vasp should provide all means to do that....
best greetings, Thomas
On Fri, 21 Mar 2003, Thomas Grill wrote:
As an aside, it would be interesting to create a spectrally weighted average (loudness)... vasp should provide all means to do that....
That would be quite handy. I am working on a project that classifies samples by many criteria, so this would also come in handy.
I am also thinking of making objects for bitcollider and/or MusicBrainz/Relatable TRM.
I am looking for various ways to find 'similar' sounds, so I am trying a bunch of things.
.hc
zen
\
\
\[D[D[D[D
Try the "normalize" command line tool: http://www.cs.columbia.edu/~cvaill/normalize/ The "--no-adjust" option displays the average volume correction. -- Marc
Le jeu 20/03/2003 à 10:19, Hans-Christoph Steiner a écrit :
I want to find the overall average amplitude of a soundfile. I want the processing to happen as quick as possible. I have tried a various methods, but have not gotten something to work satisfactorily.
Anyone have any working examples of this?
.hc
zen
\[D[D[D[D
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list