Programmer Guide/Macro Library/BSF: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
|@TempDir ||global variable ||directory for temporary files | |@TempDir ||global variable ||directory for temporary files | ||
|- | |- | ||
|BSFOpenList ||table item ||list of soundfiles | |BSFOpenList ||table item ||list of open soundfiles (only for [[Programmer_Guide/BScript|BScript]] applications); | ||
this table is used by the functions [[#Open|Open]], [[#Close|Close]] and [[#CloseAll|CloseAll]] | this table is used by the functions [[#Open|Open]], [[#Close|Close]] and [[#CloseAll|CloseAll]] | ||
|- | |- |
Revision as of 16:35, 11 May 2011
- 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 open soundfiles (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