annotate 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 |
|
rev |
line source |
tom@430
|
1 #summary Quick examples of how to use AIMCopy for various tasks.
|
tom@430
|
2
|
tom@430
|
3 All examples assume a working directory of the root of the AIM-C source tree.
|
tom@430
|
4
|
tom@432
|
5 == SAI movie ==
|
tom@432
|
6
|
tom@430
|
7 Making a movie of the stabilized auditory image for every file in script.scp using the configuration provided in
|
tom@431
|
8 [http://code.google.com/p/aimc/source/browse/trunk/src/Configurations/SAI_movie.aimcconfig src/Configurations/SAI_movie.aimcconfig].
|
tom@430
|
9
|
tom@430
|
10 Command-line:
|
tom@430
|
11 {{{
|
tom@430
|
12 build/darwin-release/AIMCopy -C src/Configurations/SAI_movie.aimcconfig -S script.scp
|
tom@430
|
13 }}}
|
tom@430
|
14
|
tom@433
|
15 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).
|
tom@430
|
16 {{{
|
tom@430
|
17 sa1.wav sa1.
|
tom@430
|
18 sa2.wav sa2.
|
tom@430
|
19 sa3.wav sa3.
|
tom@433
|
20 }}}
|
tom@433
|
21
|
tom@433
|
22 == Raw SAIs ==
|
tom@433
|
23 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]
|
tom@433
|
24
|
tom@433
|
25 Command-line:
|
tom@433
|
26 {{{
|
tom@433
|
27 build/darwin-release/AIMCopy -C src/Configurations/SAI_dump.aimcconfig -S script.scp
|
tom@433
|
28 }}}
|
tom@433
|
29
|
tom@433
|
30 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). |