On Saturday 27 May 2006 16:19, Andres Cabrera wrote: > Hi Istvan, > I've added some documentation for atsa, but I have no idea if it is > correct (it probably isn't). > Can you check? It looks mostly correct, although it is not sure yet if the utility will be standalone-only or callable with csound -U (the latter case increases Csound memory usage even when atsa is not used, but also allows for use of the utility through the API e.g. from GUI frontends). Also, the parameters could be referenced by the actual command line flags, rather than numbers (the numbers were there only because I copied the documentation from the ATSH html manual). Finally, the preferred extension of the analysis output files is ".ats", and not ".apf" (the latter is for parameters saved by the GTK frontend). Note: in the current version, spaces are apparently not allowed between flags and values, so you need to use -b10 instead of -b 10. ATSA 1.0 atsa soundfile atsfile [flags] Flags: -b start (0.000000 seconds) -e duration (0.000000 seconds or end) -l lowest frequency (20.000000 Hertz) -H highest frequency (20000.000000 Hertz) -d frequency deviation (0.100000 of partial freq.) -c window cycles (4 cycles) -w window type (type: 1) (Options: 0=BLACKMAN, 1=BLACKMAN_H, 2=HAMMING, 3=VONHANN) -h hop size (0.250000 of window size) -m lowest magnitude (-60.000000) -t track length (3 frames) -s min. segment length (3 frames) -g min. gap length (3 frames) -T SMR threshold (30.000000 dB SPL) -S min. segment SMR (60.000000 dB SPL) -P last peak contribution (0.000000 of last peak's parameters) -M SMR contribution (0.500000) -F File Type (type: 4) (Options: 1=amp.and freq. only, 2=amp.,freq. and phase, 3=amp.,freq. and residual, 4=amp.,freq.,phase, and residual) _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net