You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docpages/basic-language-reference/BASIC_SOUND.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,9 @@ Codecs are provided as kernel modules, just like drivers, and must be loaded bef
18
18
19
19
* WAV support is built in and always available.
20
20
* MP3 support is available via the `mp3.ko` module (`MODLOAD "mp3"`).
21
+
* FLAC support is available via the `flac.ko` module (`MODLOAD "flac"`).
21
22
22
-
If you try to load an MP3 file without first loading the MP3 codec module, you will receive an error as the file type will be unrecognised.
23
+
If you try to load any file type except WAV without first loading the corresponding codec module, you will receive an error as the file type will be unrecognised.
23
24
24
25
### Streams
25
26
@@ -33,7 +34,7 @@ A stream is a **playback channel** created with `STREAM CREATE`.
33
34
34
35
A sound is **decoded audio data** loaded into memory with `SOUND LOAD`.
35
36
36
-
* Sounds can be loaded from any supported codec (e.g. WAV, MP3).
37
+
* Sounds can be loaded from any supported codec (e.g. WAV, MP3, FLAC).
37
38
* Sounds are stored in RAM as 44.1 kHz stereo, 16-bit PCM.
38
39
* Sound handles are always non-zero integer IDs.
39
40
* Sounds must be freed with `SOUND UNLOAD` when no longer needed.
</div><!-- fragment --><p>Returns the <b>absolute value</b> of a numeric expression. Negative values are converted to positive; positive values remain unchanged.</p>
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
129
129
<ul>
130
130
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="builtin-functions.html">Built-In Functions</a></li><liclass="navelem"><aclass="el" href="int-funcs.html">Integer Functions</a></li>
131
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
131
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</div><!-- fragment --><p>Returns the <b>arc cosine</b> (inverse cosine) of the given expression, in <b>radians</b>. The input must be between <code>-1</code> and <code>1</code>.</p>
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
127
127
<ul>
128
128
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="builtin-functions.html">Built-In Functions</a></li><liclass="navelem"><aclass="el" href="real-funcs.html">Real Functions</a></li>
129
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
129
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
123
123
<ul>
124
124
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="builtin-functions.html">Built-In Functions</a></li><liclass="navelem"><aclass="el" href="int-funcs.html">Integer Functions</a></li>
125
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
125
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</div><!-- fragment --><p>Returns the <b>arc sine</b> (inverse sine) of the given expression, in <b>radians</b>. The input must be between <code>-1</code> and <code>1</code>.</p>
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
127
127
<ul>
128
128
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="builtin-functions.html">Built-In Functions</a></li><liclass="navelem"><aclass="el" href="real-funcs.html">Real Functions</a></li>
129
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
129
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
124
124
<ul>
125
125
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="builtin-functions.html">Built-In Functions</a></li><liclass="navelem"><aclass="el" href="real-funcs.html">Real Functions</a></li>
126
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
126
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</div><!-- fragment --><p>Returns the <b>arc tangent of y ÷ x</b>, using the signs of both arguments to determine the correct <b>quadrant</b> of the angle. The result is given in <b>radians</b>, in the range <code>-PI#</code> to <code>PI#</code>.</p>
<li>Unlike <aclass="el" href="ATAN.html">ATAN</a>, which only returns results in <code>-π/2 … π/2</code>, <code>ATAN2</code> resolves the full circle by considering both <code>x</code> and <code>y</code> signs.</li>
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
126
126
<ul>
127
127
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="builtin-functions.html">Built-In Functions</a></li><liclass="navelem"><aclass="el" href="real-funcs.html">Real Functions</a></li>
128
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
128
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:10 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
Copy file name to clipboardExpand all lines: docs/AUTOFLIP.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@
102
102
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
103
103
<ul>
104
104
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="keywords.html">Keywords</a></li>
105
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:11 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
105
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:11 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
Copy file name to clipboardExpand all lines: docs/BACKGROUND.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ <h5>Notes</h5>
157
157
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
158
158
<ul>
159
159
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="keywords.html">Keywords</a></li>
160
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:11 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
160
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:11 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
<divid="nav-path" class="navpath"><!-- id is needed for treeview function! -->
126
126
<ul>
127
127
<liclass="navelem"><aclass="el" href="index.html">index</a></li><liclass="navelem"><aclass="el" href="basic-ref.html">BASIC Language Reference</a></li><liclass="navelem"><aclass="el" href="keywords.html">Keywords</a></li>
128
-
<liclass="footer">Generated on Thu Sep 18 2025 21:16:11 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
128
+
<liclass="footer">Generated on Thu Sep 18 2025 22:41:11 for Retro Rocket OS by <ahref="https://www.doxygen.org/index.html"><imgclass="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
0 commit comments