Download Home/Sup1/Sup1Hymns/age.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1Hymns/age.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Home/Sup1/Sup1Hymns/age.txt
-
curl -L -o age.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Home/Sup1/Sup1Hymns/age.txt
1.09 kB
| //5 has graphics | |
| <1>/* Graphics Not Rendered in HTML */ | |
| <2>/* Graphics Not Rendered in HTML */ | |
| <3>/* Graphics Not Rendered in HTML */ | |
| F64 t0=Beat; | |
| U0 DrawIt(CTask *,CDC *dc) | |
| { | |
| F64 dt=Beat-t0,tt=Saw(dt,8); | |
| U8 *tmps; | |
| if (dt<8.0) | |
| tmps=SpriteInterpolate(tt,<1>,<2>); | |
| else if (dt<16.0) | |
| tmps=SpriteInterpolate(tt,<2>,<3>); | |
| else | |
| tmps=SpriteInterpolate(0,<3>,<3>); | |
| Sprite3(dc,220,33,0,tmps); | |
| Free(tmps); | |
| } | |
| U0 Song() | |
| { | |
| SettingsPush; //See SettingsPush | |
| Fs->draw_it=&DrawIt; | |
| Fs->task_end_cb=&SndTaskEndCB; | |
| MusicSettingsRst; | |
| music.tempo= 2.480; | |
| music.stacatto_factor= 0.902; | |
| try { | |
| while (!ScanKey) { | |
| t0=Beat; | |
| Play("5eE4B5DC4qBG5eC4BqA5eC4BqA", | |
| "Do \0not \0whine \0at \0age.\n\0 \0 \0 \0 \0 \0 \0 \0"); | |
| Play("5eE4B5DC4qBG5eC4BqA5eC4BqA", | |
| "Do \0not \0whine \0at \0age.\n\0 \0 \0 \0 \0 \0 \0 \0"); | |
| Play("5eD4sG5E4eA5sGDqDsDE4eB5e.F4sB5F4G5F4G5qEG"); | |
| Play("5eD4sG5E4eA5sGDqDsDE4eB5e.F4sB5F4G5F4G5qEG"); | |
| } | |
| } catch | |
| PutExcept; | |
| SettingsPop; | |
| } | |
| Song; | |