BSF
From STX Wiki
Jump to navigationJump to search
- File: BSF.STX, linked to library STX.LIB
- Title: soundfile handling
- Content
- Variables and items used by this library
name type description @ParSoundFileNew global variable default values for function NewDialog @ListAudioSampleCode global variable list of defined sample code keywords @MaxAudioChannels global variable maximum number of soundfile channels @MaxAudioSRate global variable maximum sampling rate in Hz @ListAudioSRate global variable list of standard sampling rate values @TempDir global variable directory for temporary files BSFOpenList table item list of soundfiles opened with BSF Open (only for BScript applications); this table is used by the functions Open, Close and CloseAll
SoundFileList shell variable name of the shared soundfile table item (see BSTXIni)
NewDialog
BSF NEWDIALOG [ srate [ ; nch ; code ]- New soundfile dialog.
| argument | description | default |
|---|---|---|
| type | Selects the action to perform:
|
OPEN
|
| title | The caption of the dialog window. | Select File
|
| file | The default file or directory. | current directory |
| ftype1 ... | Each ftype argument defines one entry of the filetype-combobox of the dialog. Each filetype is defined by the string | |
| RESULT | description | |
| path | The full pathname of the file to be opened or created. | |
| empty string | If the dialog was canceled. |
- See also