Programmer Guide/Concepts/Current Sound File: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{Programmer Guide}}
{{Programmer Guide}}
Information about the currently active sound file is stored in the variables <var>CSF</var> (containing the full path of the file) and <var>CSFH</var> (a string of the format "<code>srate channels samples code type mode</code>", indicating the respective properties of the sound file). If no sound file is active, the variable <code>CSF</code> is empty. See [[General_Descriptions/Shell_Environment|Shell Environment]] for more details. Sound files opened for write access (<code>/Write</code>) cannot be shared with other users or processes. The sound file management is normally performed by the application {{STX}}. All other applications should use the {{STX}} [[APPMSG]] interface to attach or select sound files. The script library <code>[[Programmer_Guide/Macro_Library/BSF|BSF]]</code> implements a set of functions for using sound files and segments in scripts. Namely the function [[Programmer_Guide/Macro_Library/BSF#Select|BSF SELECT]] may be used to designate a sound file the current sound file.
Information about the currently active sound file is stored in the following two variables:
 
<code>CSF</code> - containing the full path of the file
 
<code>CSFH</code> - a string of the format "<code>srate channels samples code type mode</code>", indicating the respective properties of the sound file
 
If no sound file is active, the variable <code>CSF</code> is empty. See [[General_Descriptions/Shell_Environment|Shell Environment]] for more details.
 
Sound files opened for write access (<code>/Write</code>) cannot be shared with other users or processes. The sound file management is normally performed by the application {{STX}}. All other applications should use the {{STX}} [[APPMSG]] interface to attach or select sound files.  
 
The script library <code>[[Programmer_Guide/Macro_Library/BSF|BSF]]</code> implements a set of functions for using sound files and segments in scripts. Namely the function [[Programmer_Guide/Macro_Library/BSF#Select|BSF SELECT]] may be used to designate a sound file as the current sound file.

Revision as of 16:01, 14 December 2017

Information about the currently active sound file is stored in the following two variables:

CSF - containing the full path of the file

CSFH - a string of the format "srate channels samples code type mode", indicating the respective properties of the sound file

If no sound file is active, the variable CSF is empty. See Shell Environment for more details.

Sound files opened for write access (/Write) cannot be shared with other users or processes. The sound file management is normally performed by the application STx. All other applications should use the STx APPMSG interface to attach or select sound files.

The script library BSF implements a set of functions for using sound files and segments in scripts. Namely the function BSF SELECT may be used to designate a sound file as the current sound file.

Navigation menu

Personal tools