Download Adam/Snd/MakeSnd.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 354 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Adam/Snd/MakeSnd.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Adam/Snd/MakeSnd.txt
-
curl -L -o MakeSnd.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Adam/Snd/MakeSnd.txt
354 Bytes
| Cd(__DIR__);; | |
| #help_index "Snd" | |
| class CSndWaveCtrl | |
| { | |
| I64 sample_rate,sample_bits,channels; | |
| F64 freq_multiplier,amp_multiplier; | |
| F64 phase,last_y,last_dydt,next_y; | |
| }; | |
| public U0 SndTaskEndCB() | |
| {//Will turn-off snd when a task gets killed. | |
| Snd; | |
| Exit; | |
| } | |
| #include "SndMath" | |
| #include "SndMusic" | |
| #include "SndEffects" | |
| #include "SndFile" | |
| Cd("..");; | |