view wiki/AIMCopyExamples.wiki @ 597:359bcd461dd1

First commit. Refer to the api [1] 'Philosophy of the implementation' for information on the approach used to implement CARFAC in C++. [1] aimc/C++/api/html/index.html
author flatmax
date Sat, 09 Feb 2013 23:53:48 +0000
parents fce57e24aab2
children
line wrap: on
line source
#summary Quick examples of how to use AIMCopy for various tasks.

All examples assume a working directory of the root of the AIM-C source tree.

== SAI movie ==

Making a movie of the stabilized auditory image for every file in script.scp using the configuration provided in
[http://code.google.com/p/aimc/source/browse/trunk/src/Configurations/SAI_movie.aimcconfig src/Configurations/SAI_movie.aimcconfig].

Command-line:
{{{
build/darwin-release/AIMCopy -C src/Configurations/SAI_movie.aimcconfig -S script.scp
}}}

The contents of script.scp are simple. For example the following script will take sa1.wav sa2.wav and sa3.wav in the working directory and convert them to sa1.mov sa2.mov and sa3.mov respectively. (The .mov suffix is added by the graphics_time module).
{{{
sa1.wav sa1.
sa2.wav sa2.
sa3.wav sa3.
}}}

== Raw SAIs ==
Calculate stabilized auditory images for files in script.scp using the configuration from [http://code.google.com/p/aimc/source/browse/trunk/src/Configurations/SAI_dump.aimcconfig src/Configurations/SAI_dump.aimcconfig]

Command-line:
{{{
build/darwin-release/AIMCopy -C src/Configurations/SAI_dump.aimcconfig -S script.scp
}}}

In this case, the files are in the [AIMCDataFormat AIM-C data format] and will be *very large* (ca. 100Mb for a 5-second sound).