TKLA contains powerful shell level environment variables (/bin/tsch) which enable users to maintain audio and ASCII files separately. In addition to preserving filesystem integrity for reading/writing large contiguous blocks (as with soundfiles or analysis files), this approach facilitates a clarity of function for audio-specific tasks. This configuration is modeled after the original IRCAM system, and is controlled from one place by a master script (/usr/local/lib/ecmcaliases.csh), which is sourced whenever a new shell is opened.

Each user will "reside" in two primary directories, one "/home/'username' for ASCII files, and the other, /snd/'username' for all soundfiles and analysis files (files which occupy large contiguous blocks). All user activity which creates, manipulates, plays, or records sound is automatically done in the snd directory. All audio applications open ready to load soundfiles from the current snd directory, and output is saved there by default.

BOTH directories are always available to the user independently with the use of aliased shell commands, such as:

  • ls and lsf - listing files
    • The former lists files in the home unix directory, the latter in the working soundfile directory
  • cd and cdsf - change directiory (or soundfile directory)
    • The former changes the working home unix directory, the latter changes the working soundfile directory
  • pwd and pwdsf - print working directory
    • The former prints the working home unix directory, the latter prints the working soundfile directory

Those familiar with the basic commands of the unix shell will find that most commands have an "...sf" equivalent for executing tasks in their soundfile directory. Some further examples include:

  • mv / mvsf
  • cp / cpsf
  • rm / rmsf
  • rmdir /rmdirsf
  • chmod / chmodsf
  • etc.

In addition, dozens of scripts are available for editing, playing, organizing, and searching soundfiles in your soundfile directory. For instance, findsnd allows you to query your soundfile directory by character string (note: using the -p flag will play these files as they are found). Here's an example in my snd directory looking for a files which contain the string "riff":

[kevine@orpheus$] findsnd riff
/snd/kevine/mouthriff1.wav
/snd/kevine/mouthriff2.wav
/snd/kevine/mouthriff2.wav
/snd/kevine/keyknock_riff1.wav
/snd/kevine/keyknock_riff2.wav
/snd/kevine/keyknock_riff3.wav
/snd/kevine/reed_riff1.wav
/snd/kevine/reed_riff2.wav
/snd/kevine/reed_riff3-nice.wav

These are only a few examples of what is available. Addtional tools are listed under "ECMC utilities/scripts" on the explore page. The documentation page incudes further usage details, links to manual pages, and even a batch of tutorial tours. These will expand as time goes on, so check back for more.