Key/value pairs supported by the source argument:

 

|entity| — the entity to use for this source
|location| — the position in seconds on the timeline where audio from this begins (processing always starts at time 0) (default is 0)
|length| — the length in seconds of the audio to use from the entity (default is the length of the entity)
|source start| — the position in seconds where the audio in the entity starts from (default is 0)
|reverse| — reverse the audio? (default is false)
|ties| — a list of records of mixer ties (default is one for each respective output channel)
     |input channel| — the source input channel
     |output channel| — the file output channel
     |gain| — the amount of gain in decibels (default is 0)
     |invert| — should the phase be inverted? (default is false)
|gain| — the amount of gain in decibels (default is 0)
|fade in length| — the length of a fade-in in seconds starting from the |location| (default is 0)
|fade out length| — the length of a fade-out in seconds before the |location| + |length| on the timeline (default is 0)
|fade in curve| — the name of the fade-in curve ("linear", "power", "ease in", "ease out", "ease in/out") (default is "linear")
|fade out curve| — the name of the fade-out curve (default is "linear")
|effects| — a list of records of Audio Units and their processing parameters used to process the source
     |class| — the AFEAudioProcessor class (optional)
     |type| — the Audio Unit type (commonly "aufx")
     |subtype| — the Audio Unit subtype
     |manufacturer| — the Audio Unit manufacturer
     |<parameter name>| = value
|include labels| — include the labels in the source file in the output file where possible (default is YES)
|include properties| — include the properties of the source file in the output file where possible (default is YES) 

 

Key/value pairs supported by the with instructions argument:

 

|format| — the audio file format as a string (default is the format of the first source), available format strings: "AIFF File", "WAVE File", "Wave64 File", @"Sound Designer I File", "µLaw File", "CAF File", "Ogg Vorbis Audio File", @"FLAC Audio File", "MP3 Audio File", "M4A Audio File"
|encoding| — the audio file encoding as a string
|channels| — the number of channels of the output file (default is the number of channels of the first source)
|bit depth| — the number of bits per audio sample (default is the bit depth of the first source)
|floating point| — if the bit depth is 32-bit, is the sample value represented as a floating point value? (default is NO)
|bitrate| — the bitrate of the audio (default is the bitrate of the first source)
|sample rate| — the sample rate in Hz (default is the sample rate of the first source)
|resample| — should the audio be converted to the given sample rate (default is YES)
|sample rate converter| — the name of the sample rate converter to use ("Apple Standard", "Goodhertz Linear Phase", "Apple Mastering", etc) (default is "Apple Standard")
|sample rate converter quality| — normalized quality value (default is 1.0)
|length| — the length of the output in seconds (default is end of last source)
|retain tail| — wait to end writing the output file until audio has gone below -96dB? If YES, length is ignored, maximum tail length is used (default is NO)
|maximum tail length| — the maximum time in seconds to wait for tailing audio to go below -96dB (default is 0)
|gain| — the amount of gain in decibels (default is 0)
|fade in length| — the length of a fade-in in seconds starting from 0 (default is 0)
|fade out length| — the length of a fade-out in seconds before |length| (default is 0)
|fade in curve| — the name of the fade-in curve ("linear", "power", "ease in", "ease out", "ease in and out") (default is "linear")
|fade out curve| — the name of the fade-out curve (default is "linear")
|effects| — a list of records of Audio Units and their processing parameters used to process all sources
     |class| — the AFEAudioProcessor class (optional)
     |type| — the Audio Unit type (commonly "aufx")
     |subtype| — the Audio Unit subtype
     |manufacturer| — the Audio Unit manufacturer
     |<parameter name>| = value
|labels| — the list of label descriptions to add to the output file
     |type| — the label format (marker | slice | region | loop)
     |location| — the location of the label
     |length| — the length of the label (for regions and loops)
|properties| — the list of metadata properties to apply to the output file
     { |<property name>| = value } Use a <property name> as listed in the audio file's properties in the script dictionary