User Guides

Variables

Cantabile supports the following string expansion variables. Normally the availability of these is indicated by a pop out menu next to the field that supports them.

Note that the body of an expansion variable is not limited to a simple variable name and supports a expression evaluation.

See also the Function Reference.

These variables are also available in Sys-ex Expressions.

Supported Variables

$(am)
$(AppData)
$(AudioDriver)
$(BufferSize)
$(BatteryLevel)
$(BatteryState)
$(BatteryTime)
$(CommonAppData)
$(CommonDesktop)
$(d)
$(day)
$(dd)
$(Desktop)
$(dy)
$(Favorites)
$(FirstEffectPluginName)
$(FirstEffectPluginProgramName)
$(FirstPluginName)
$(FirstPluginProgramName)
$(FirstSynthPluginName)
$(FirstSynthPluginProgramName)
$(h)
$(h24)
$(hh)
$(hh24)
$(IsAutoRecord)
$(IsMainsPowered)
$(IsBatteryCharging)
$(IsRecording)
$(Load)
$(m)
$(MemoryPageFaults)
$(MemoryUsage)
$(MemoryWorkingSet)
$(min)
$(mm)
$(mmm)
$(mmmm)
$(MyDocuments)
$(MyMusic)
$(MyPictures)
$(NextState)
$(NextSong)
$(PreviousState)
$(PreviousSong)
$(ProgramFiles)
$(ProgramFilesX86)
$(SampleRate)
$(sec)
$(SelectedPluginName)
$(SelectedPluginProgramName)
$(SongFile)
$(SongFolder)
$(State)
$(StateProgram)
$(SongTitle)
$(SetListFile)
$(SetListFolder)
$(SetListTitle)
$(Song)
$(SongNumber)
$(SongPart) or $(StateIndex)
$(SongPartCount) or $(StateCount)
$(SongProgram)
$(System)
$(SystemX86)
$(Temp)
$(Tempo)
$(TimeSignature)
$(TimeSignatureDenominator)
$(TimeSignatureNumerator)
$(TransportPosition)
$(TransportPositionMusical)
$(TransportPositionRealtime)
$(TransportPositionShort)
$(TransportState)
$(w)
$(Windows)
$(wm)
$(ww)
$(wwm)
$(yy)
$(yyyy)

MIDI Controller Variables

The following variables reflect the current MIDI state of the on-screen keyboard device.

By default,these variables, return the current value for MIDI channel 1. To access other channels, include the channel number as an additional parameter eg: $(cc(23,5)) to get the value of CC #23 on channel 5.

$(cc(controllerNumber))
$(finecc(controllerNumber))
$(program())
$(bankedProgram())
$(pitchBend())
$(channelPressure())
$(rpnCoarse(paramNumber))
$(rpnFine(paramNumber))
$(nrpnCoarse(paramNumber))
$(nrpnFine(paramNumber))

See also the Function reference for other functions.