Macros and Classes of the Standard Library
From STX Wiki
Jump to navigationJump to search
This section describes the STx standard macros and classes. They are all linked into the library file stx.lib, which is part of the standard installation, and loaded on program start. A detailed description is only given for the most useful macros and classes. For a description of all other macros and classes not described here, you must look to the source files.
Macros
- BUtil → misc. utility functions
- UM or EM → simple message boxes
- ConLog → write messages to script console and/or Log-window
- LogWindow → Log-window control functions
- ShowItem → show shell item properties and/or data
- BSF → soundfile management functions
- BSeq → create, configure and manage a signal sequence
- DataSetCmd → interface to the main application (Workspace) and its GUI
name | type | description |
---|---|---|
@ParSoundFileNew |
variable | default values for function NewDialog |
@ListAudioSampleCode |
variable | list of defined sample code keywords |
@MaxAudioChannels |
variable | maximum number of soundfile channels |
@MaxAudioSRate |
variable | maximum sampling rate in Hz |
@ListAudioSRate |
variable | list of standard sampling rate values |
@TempDir |
variable | directory for temporary files |
BSFOpenList |
table item | list of open soundfiles (only for BScript applications); this table is used by the functions Open, Close and CloseAll |
SoundFileList |
variable | name of the shared soundfile table item (see BSTXIni); the following information is stored in the table fields:
|
AutoCloseSF |
variable | if set to 1 all soundfiles opened by a BScript application are closed when the script exits.
|
CSF |
variable | full path of the selected (active) soundfile. |
CSFH |
variable | header parameters of the selected (active) soundfile.
|
Classes
- CObj - the base class for all STx classes
- BXMLDoc - general xml document ← CObj
- BSTXIni - workspace document ← BXMLDoc
- BDataSet - project document and project management ← BXMLDoc
Alphabetical List of Macros and Classes
ADesc · APar · BDataSet · BSF · BSTXIni · BSeq · BUTIL · BXMLDoc · CDlgMap · CMenu · COBJ · CONLOG · CObjEx · CREATEMENU · CTemplates · DISPATCHMSG · DOMODALDIALOG · DataSetCmd · EM · EXTSETUP · GENERATESCALEPARAMS · GETDESKTOP · GETMESSAGE · GETMONITOR · GETOUTPUTVALUE · GETWINDOWPOS · INITDIALOGITEM · Kernal · KlattSyn · LOGMSG · LOGWINDOW · METASEGMENT · MSGQUEUE · ModalDialog · PLAYCURSOR · POSTMESSAGE · PROGRESSBOX · Playwave · SECTIONFILE · SETCONTROLMODE · SETGRAPHXSCALE · SETMSGHANDLER · SETWAVEIO · SETWINDOWPOS · SHOWITEM · SOURCEFILE · SetupSheet · TBMGR · UM · WINDOWSIZEDLG · XGraph · XPlot · XWave