[CM] Snd-8(.5) questions (newbie)

Jacek M. Holeczek holeczek at us.edu.pl
Mon Oct 16 05:21:35 PDT 2006


Hi,
first, let me say that I'm a complete newbie, what concerns sound editing.

I've just installed (from cvs) the current Snd (with Guile-1.6.4).

Here come my "newbie" questions. Sorry about these questions, but after
reading the manual, I still don't know the answers.

Assume I open a "wav" file ...

1a. How can I get the "mean/average" value of all samples?
1b. How can I get the "mean/average" value of "selected" samples?

2a. How can I get the "mean/average" value of the "amplitude" for all
    samples?
2.b How can I get the "mean/average" value of the "amplitude" for
    "selected" samples?

3a. How can I get the "RMS" value for all samples?
3b. How can I get the "RMS" value for "selected" samples?

4a. How can I get the "standard deviation" value for all samples?
4b. How can I get the "standard deviation" value for "selected" samples?

5a. How can I get the "min" and "max" values of all samples?
5b. How can I get the "min" and "max" values of "selected" samples?

(In case of 5.a and 5.b also getting the "sample number" would be nice, or
maybe one could afterwards "search" for samples of a given "value" using
the "find-channel" function, for example?)

6.a How can I "add/subtract" a value to/from all samples?
    (I believe I have found the answer to 6.a ... "offset-channel".)
6.b How can I "add/subtract" a value to/from "selected" samples?

Saying "selected samples" above, I mean a "Selection" and/or a "Region".

Finally, I need your advice in the following matter.
This is, in principle, what I am really interested in and why I need to
"edit" my sounds.

In principle, using a Linux machine with a simple soundcard, I would like
to record four independent tracks (Soprano, Alto, Tenor, Bass). Each of
them would be "mono" (1 channel), in separate "wav" files.
Assume now that I synchronized these files adding appropriate "silence" in
the beginning of all of them (different amount for different tracks).


More information about the Cmdist mailing list