Programmer Guide/Macro Library/Kernal/StdLib: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(Created page with '{{DISPLAYTITLE:{{SUBPAGENAME}}}}__NOTOC__ *'''File''': STDLIB.STX, linked to library STX.LIB *'''Title''': {{STX}} main library ---- ;Content: :{|class="keinrahmen" |'''applicati…')
 
No edit summary
Line 10: Line 10:
|[[#AppCleanup|AppCleanup]] ||—
|[[#AppCleanup|AppCleanup]] ||—
|[[#AppHelp|AppHelp]] ||—
|[[#AppHelp|AppHelp]] ||—
|-
|-
|-
|'''message handling:'''
|'''message handling:'''
Line 18: Line 19:
|[[#MsgFilter|MsgFilter]] ||—
|[[#MsgFilter|MsgFilter]] ||—
|[[#GetMessage|GetMessage]] ||—
|[[#GetMessage|GetMessage]] ||—
|-
|-
|-
|'''utilities for standard applications:'''
|'''utilities for standard applications:'''
|[[#ExtSetup|ExtSetup]] ||&mdash
|[[#ExtSetup|ExtSetup]] ||—
|[[#PlayCursor|PlayCursor]] ||&mdash
|[[#PlayCursor|PlayCursor]] ||—
|[[#GenerateScaleParams|GenerateScaleParams]] ||—
|[[#GenerateScaleParams|GenerateScaleParams]] ||—
|[[#MetaSegment|MetaSegment]] ||—
|[[#MetaSegment|MetaSegment]] ||—

Revision as of 11:33, 12 May 2011

  • File: STDLIB.STX, linked to library STX.LIB
  • Title: STx main library

Content
application management: AppLoad AppMain AppCleanup AppHelp
message handling: PostMessage SetMsgHandler DispatchMsg MsgQueue MsgFilter GetMessage
utilities for standard applications: ExtSetup PlayCursor GenerateScaleParams MetaSegment
file functions: stxFileTypeList stxFileType SectionFile &mdash FileToolBox &mdash
display functions: LogWindow ConLog UM and EM &mdash ShowItem &mdash
dialog and window functions: CreateMenu DoModalDialog &mdash SetModalWindow GetWindowPos SetWindowPos WindowSizeDlg GetMonitor GetDesktop ProgressBox &mdash InitDialogItem &mdash SetControlMode &mdash
SPU and graph functions: SetGraphXScale GetOutputValue
SPUs: XScaleLinear XScaleBark Table2Output Wave2output
Variables and items used by this library
name type description

NewDialog

BSF NEWDIALOG [ srate [ ; nch ; code ]

Dialog to create a new soundfile.
argument description default
srate Sampling rate in Hz last dialog value
nch Number of channels. last dialog value
code Signal sample size (number of bits) and code. last dialog value
RESULT description
path The full pathname of the created soundfile.
empty string If the dialog was canceled or the creation fails.
Notes
  • This function uses a two step dialog. In the first the soundfile name is selected. The second is used to select the soundfile parameters.
  • The new soundfile is always the created using the Windows WAVE format.
  • On return, the soundfile is created but not opened.
See also

Navigation menu

Personal tools