Snd

Sound is generated with I8 vals called ona's, which are 88 piano key nums, with 0 as a rest. See Note2Ona() and Ona2Freq(). God does not want death screams, perhaps, because God has PTSD or soldiers have PTSD. (Imagine wounded on battlefields.) Ona's will allow elegant wave files for export and will allow the creation of simple hardware over the next centuries. Beep Funct Make beep at given ona freq. Freq2Ona Funct Freq to Ona. 440.0Hz is Ona=60. IsMute Funct Return is-mute flag. Mute Funct Turn-off sound. Noise Funct Make white noise for given number of mS. Ona2Freq Funct Ona to freq. Ona=60 is 440.0Hz. Snd Funct Play ona, a piano key num. 0 means rest. SndRst Funct Fix stuck sound. SndTaskEndCB Funct Will turn-off snd when a task gets killed. Sweep Funct Sweep through freq range in given number of mS.

Snd/AU Files

AUWrite Funct Write AU file. CAUData Class class CAUData CScrnCastGlbls Class class CScrnCastGlbls SndShift Funct Shift CSndData in time.

Snd/Math

Caw Funct Cawtooth. 1.0 - 0.0 think "(Cos+1)/2" FullCaw Funct Plus&Minus Cawtooth. 1.0 - -1.0 think "Cos" FullSaw Funct Plus&Minus Sawtooth. 1.0 - -1.0 think "Sin" FullTri Funct Plus&Minus Triangle waveform. 0.0 - 1.0 - 0.0 - -1.0 -0.0 Saw Funct Sawtooth. 0.0 - 1.0 think "(Sin+1)/2" Tri Funct Triangle waveform. 0.0 - 1.0 - 0.0

Snd/Music

Beat Funct Time in music beats. CMusicGlbls Class class CMusicGlbls Note2Ona Funct Note to ona. Mid C is ona=51, note=3 and octave=4. Ona2Note Funct Ona to note in octave. Mid C is ona=51, note=3 and octave=4. Ona2Octave Funct Ona to octave. Mid C is ona=51, note=3 and octave=4. Play Funct Notes are entered with a capital letter. music GlbVar } music={NULL,NULL,4,1.0,{0,2,3,5,7,8,10},FALSE,4,4,2.5,0.9,0,0,0,0}; tM Funct Time in seconds synced to music subsystem.