view wiki/AIMCopyExamples.wiki @ 706:f8e90b5d85fd tip

Delete CARFAC code from this repository. It has been moved to https://github.com/google/carfac Please email me with your github username to get access. I've also created a new mailing list to discuss CARFAC development: https://groups.google.com/forum/#!forum/carfac-dev
author ronw@google.com
date Thu, 18 Jul 2013 20:56:51 +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).