hschumann2/TempleOS-Source-Code
0838
1 2 Psalmody Help3 4* The keyboard can be used as an organ by typing letter keys or clicking the5mouse on the keyboard diagram. You can "record" notes by pressing the red bttn6and typing letters. They will appear on the musical staff. You can edit and7save them.8 9* The clip can be used to cut and paste.10 11* Psalmody uses HolyC files as the song format! See12::/Apps/Psalmody/Examples/prosper.HC. The Psalmody program does not fully parse13the songs when loading them back in, so changes made outside Psalmody will be14lost, like if you add graphics.15 16* The first line of the HolyC song files is a comment with a category recognized17by JukeBox(). The categories are "no nothing", "has words", "has graphics", or18"special". The third character in the song comment is a digit rating number,19shown in JukeBox(). You can set the song rating in JukeBox() by pressing 0-9.20You can request your reward from God by pressing r. You can press <DEL> to21delete songs.22 23* You can take the Play() stmts out of a song file and place them in your24programs. You can also add a song to a document with <CTRL-l>, but you should25do it after pressing <CTRL-t> because the clip-insert in <CTRL-l> is screwy.26See this <Song> after pressing <CTRL-t>, now.27 28* You can call JukeBox("~/Psalmody"); to play your songs.29 30* To create a .SND file which can be exported and played under Windows, set the31Bool snd.record to TRUE, play music, and set it to FALSE. Then, call32SndFileCreate(). You might wish to make a <CTRL-ALT-key> to toggle this system33level recording feat. See Snd(). Add this code to your ~/HomeKeyPlugIns.HC34file.35 36U0 CtrlAltR(I64)37{38 snd.record=!snd.record;39}40CtrlAltCBSet('R',&CtrlAltR,"Cmd /Toggle snd.record");41 42* When calling SndFileCreate() you can set a waveform. The PC speaker is43WF_SQUARE. You can sel reverb and averaging, also.44 45 