Download Home/Sup1/Sup1HDAudio/Examples/Chords.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1HDAudio/Examples/Chords.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Home/Sup1/Sup1HDAudio/Examples/Chords.txt
-
curl -L -o Chords.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1HDAudio/Examples/Chords.txt
335 Bytes
| U0 Chords(Bool val=ON) | |
| { | |
| if (snd_dev!=SD_HD_AUDIO) { | |
| "Only works for HD Audio.\n"; | |
| return; | |
| } | |
| HDTonesInit; | |
| if (val) { | |
| hda.tone_swcs[1]->freq_multiplier=4.0/3.0; | |
| hda.tone_swcs[1]->amp_multiplier=1.0; | |
| hda.tone_swcs[2]->freq_multiplier=(4.0/3.0)`2; | |
| hda.tone_swcs[2]->amp_multiplier=1.0; | |
| } | |
| } | |
| Chords(ON); | |