Programmer Guide/Macro Library: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(60 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:Macros and Classes of the Standard Library}}
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.


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.
==Alphabetical List of Macros and Classes==
<splist
parent=Programmer_Guide/Macro_Library
sort=asc
sortby=title
showpath=no
liststyle=bar
kidsonly=yes
/>


:{|class="einrahmen"
==Quick Overview==
![[/StdLib|StdLib.stx]]
;Macros
{|class=keinrahmen
|'''Name''' ||'''Description'''
|-
|-
|'''application management'''
|[[/BUTIL|BUtil]] ||misc. utility functions
|[[/StdLib#AppLoad|AppLoad]] &middot; [[/StdLib#AppMain|AppMain]] &middot; [[/StdLib#AppCleanup|AppCleanup]] &middot; [[/StdLib#AppHelp|AppHelp]]
|-
|-
|'''message handling'''
|[[/UM|UM or EM]] ||simple message boxes to display user- and error-messages
|[[/StdLib#PostMessage|PostMessage]] &middot; [[/StdLib#SetMsgHandler|SetMsgHandler]] &middot; [[/StdLib#DispatchMsg|DispatchMsg]] &middot; [[/StdLib#MsgQueue|MsgQueue]] &middot; [[/StdLib#MsgFilter|MsgFilter]] &middot; [[/StdLib#GetMessage|GetMessage]]
|-
|-
|'''utilities for standard<BR>{{STX}} applications'''
|[[/CONLOG|ConLog]] ||write messages to [[User_Guide/STX_Console|script console]] and/or [[User_Guide/Log_Window|Log-window]]
|[[/StdLib#ExtSetup|ExtSetup]] &middot; [[/StdLib#PlayCursor|PlayCursor]] &middot; [[/StdLib#GenerateScaleParams|GenerateScaleParams]] &middot; [[/StdLib#MetaSegment|MetaSegment]]
|-
|-
|'''file functions'''
|[[/LOGWINDOW|LogWindow]] || [[User_Guide/Log_Window|Log-window]] control functions
|[[/StdLib#stxFileTypeList|stxFileTypeList]] &middot; [[/StdLib#stxFileType|stxFileType]] &middot; [[/StdLib#SectionFile|SectionFile]] &middot; [[/StdLib#FileToolBox|FileToolBox]]
|-
|-
|'''display functions'''
|[[/SHOWITEM|ShowItem]] ||show [[Programmer_Guide/Shell_Items|shell item]] properties and/or data
|[[/StdLib#LogWindow|LogWindow]] &middot; [[/StdLib#ConLog|ConLog]] &middot; [[/StdLib#UM and EM|UM and EM]] &middot; [[/StdLib#ShowItem|ShowItem]]
|-
|-
|'''dialog and window functions'''
|[[/BSF|BSF]] ||soundfile management functions
|[[/StdLib#CreateMenu|CreateMenu]] &middot; [[/StdLib#DoModalDialog|DoModalDialog]] &middot; [[/StdLib#SetModalWindow|SetModalWindow]] &middot; [[/StdLib#GetWindowPos|GetWindowPos]] &middot; [[/StdLib#SetWindowPos|SetWindowPos]] &middot; [[/StdLib#WindowSizeDlg|WindowSizeDlg]] &middot; [[/StdLib#GetMonitor|GetMonitor]] &middot; [[/StdLib#GetDesktop|GetDesktop]] &middot; [[/StdLib#ProgressBox|ProgressBox]] &middot; [[/StdLib#InitDialogItem|InitDialogItem]] &middot; [[/StdLib#SetControlMode|SetControlMode]]
|-
|-
|'''[[Programmer_Guide/Shell_Items/SPU|SPU]] and [[Programmer_Guide/Shell_Items/Graph|graph]] functions'''
|[[/DataSetCmd|DataSetCmd]] ||interface to the main application (Workspace) and its GUI
|[[/StdLib#SetGraphXScale|SetGraphXScale]] &middot; [[/StdLib#GetOutputValue|GetOutputValue]]
|}
|-
 
|'''[[Programmer_Guide/Shell_Items/SPU|SPUs]]'''
;Classes
|[[/StdLib#XScaleLinear|XScaleLinear]] &middot; [[/StdLib#XScaleBark|XScaleBark]] &middot; [[/StdLib#Table2Output|Table2Output]] &middot; [[/StdLib#Wave2output|Wave2output]]
{|class="keinrahmen"
|-
|'''Name''' ||'''Description''' ||'''Parent-Class'''  
![[/BSF|BSF.stx]]
|-
| ||'''macro BSF<BR>soundfile handling
|[[/BSF#NewDialog|NewDialog]] &middot; [[/BSF#OpenDialog|OpenDialog]] &middot; [[/BSF#Open|Open]] &middot; [[/BSF#Close|Close]] &middot; [[/BSF#CloseAll|CloseAll]] &middot; [[/BSF#Select|Select]] &middot; [[/BSF#Truncate|Truncate]]
|-
![[/BUTIL|BUTIL.stx]]
|-
| '''macro BUTIL<BR>misc. utility functions'''
|[[/BUTIL#MsgBox|MsgBox]] &middot; [[/BUTIL#EditBox|EditBox]] &middot; [[/BUTIL#FileDialog|FileDialog]] &middot; [[/BUTIL#FileCommands|Copy/Move/DeleteFile]] &middot; [[/BUTIL#DirectoryDialog|DirectoryDialog]] &middot; [[/BUTIL#GetDirectory|GetDirectory]] &middot; [[/BUTIL#Directory|Directory]] &middot; [[/BUTIL#GetSwitch|GetSwitch]] &middot; [[/BUTIL#GetKeyWord|GetKeyWord]] &middot; [[/BUTIL#GetKeyIndex|GetKeyIndex]] &middot; [[/BUTIL#SelectTable|SelectTable]]
|-
![[/Classes|Classes.stx]]
|-
|'''class CObj<BR>the base class'''
|[[/CObj#...|...]] &middot; ...
|-
|'''class CObjEx<BR>extension class for scripts'''
|[[/CObjEx#...|...]] &middot; ...
|-
|'''class ModalDialog<BR>a modal dialog'''
|[[/ModalDialog#...|...]] &middot; ...
|-
|'''class SetupSheet<BR>property sheets'''
|[[/SetupSheet#...|...]] &middot; ...
|-
|'''class PlayWave<BR>general play class'''
|[[/PlayWave#...|...]] &middot; ...
|-
|'''class SetWaveIO<BR>wave device setup'''
|[[/SetWaveIO#...|...]] &middot; ...
|-
|'''class CalibSig<BR>signal calibration'''
|[[/CalibSig#...|...]] &middot; ...
|-
|'''class CAppQueue<BR>application queue for batch processing'''
|[[/CAppQueue#...|...]] &middot; ...
|-
|'''class BSignal<BR>signal processing controller'''
|[[/BSignal#...|...]] &middot; ...
|-
|'''class CDlgMap<BR>enhanced modal dialog'''
|[[/CDlgMap#...|...]] &middot; ...
|-
|'''class CMenu<BR>menu handling class'''
|[[/CMenu#...|...]] &middot; ...
|-
|'''class XWave<BR>enhanced wave object'''
|[[/XWave#...|...]] &middot; ...
|-
|'''class XPlot<BR>general function plot'''
|[[/XPlot#...|...]] &middot; ...
|-
|'''class XGraph<BR>a graph in a XPlot display'''
|[[/XGraph#...|...]] &middot; ...
|-
|'''class CTemplates<BR>manage XML templates'''
|[[/CTemplates#...|...]] &middot; ...
|-
|'''class NDLib<BR>signal processing, audio descriptors, ...'''
|[[/NDLib#...|...]] &middot; ...
|-
|'''class TBMGR<BR>toolbox manager and base class'''
|[[/TBMGR#...|...]] &middot; ...
|-
|'''class KlattSyn<BR>formant speech synthesis'''
|[[/KlattSyn#...|...]] &middot; ...
|-
![[/BXMLDoc|BXMLDoc.stx]]
|-
|'''class BXMLDoc<BR>xml document'''
|[[/BXMLDoc#...|...]] &middot; ...
|-
![[/BSTXIni|BSTXIni.stx]]
|-
|-
|'''class BSTXIni<BR>workspace document'''
|[[/COBJ|CObj]] ||the base class for all {{STX}} classes ||
|[[/BSTXIni#...|...]] &middot; ...
|-
|-
![[/BDataSet|BDataSet.stx]]
|[[/BSeq|BSeq]] ||create, configure and manage a signal sequence ||CObj
|-
|-
|'''class BDataSet<BR>project document'''
|[[/BXMLDoc|BXMLDoc]] ||general xml document ||CObj
|[[/BDataSet#...|...]] &middot; ...
|-
|-
![[/DataSetCmd|DataSet.stx]]
|[[/BSTXIni|BSTXIni]] ||the workspace document ||BXMLDoc
|-
|'''macro DataSetCmd<BR>execute dataset command'''
|[[/DataSetCmd#...|...]] &middot; ...
|-
![[/CGraphSetup|CGraphSetup.stx]]
|-
|'''class CGraphSetup<BR>graphics profile'''
|[[/CGraphSetup#...|...]] &middot; ...
|-
|'''class SGraphColors<BR>graph settings'''
|[[/SGraphColors#...|...]] &middot; ...
|-
![[/CAppSetup|CAppSetup.stx]]
|-
|'''class CAppSetup<BR>viewer setup and control'''
|[[/CAppSetup#...|...]] &middot; ...
|-
![[/BSeq|BSeq.stx]]
|-
|'''class BSeq<BR>signal sequence'''
|[[/CAppSetup#...|...]] &middot; ...
|-
![[/Parameter|Parameter.stx]]
|-
|'''class APar<BR>parameter data management'''
|[[/APar#...|...]] &middot; ...
|-
![[/ADesc|ADesc.stx]]
|-
|'''class ADesc<BR>general audio descriptor management'''
|[[/ADesc#...|...]] &middot; ...
|-
|-
|[[/BDataSet|BDataSet]] ||project document and project management ||BXMLDoc
|}
|}


 
==See also==
 
[[/Kernal|Macros and Classes of the STx Kernal]]
===alphabetical list of macros===
 
<splist
parent=
sort=asc
sortby=title
showpath=no
liststyle=bar
kidsonly=yes
/>

Latest revision as of 11:41, 7 March 2018

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.

Alphabetical List of Macros and Classes

Quick Overview

Macros
Name Description
BUtil misc. utility functions
UM or EM simple message boxes to display user- and error-messages
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
DataSetCmd interface to the main application (Workspace) and its GUI
Classes
Name Description Parent-Class
CObj the base class for all STx classes
BSeq create, configure and manage a signal sequence CObj
BXMLDoc general xml document CObj
BSTXIni the workspace document BXMLDoc
BDataSet project document and project management BXMLDoc

See also

Macros and Classes of the STx Kernal

Navigation menu

Personal tools