Category : C Source Code
Archive   : CSR-1.ZIP
Filename : CSRSOUND.H

 
Output of file : CSRSOUND.H contained in archive : CSR-1.ZIP
/*
** C S R S O U N D . H
**
** For the C Spot Run C Add-On Library.
**
*/

#define DEF_OCTAVE 4 /* For the play() Function */
#define DEF_TEMPO 32 /* For the play() Function */

#define C 52325L
#define D 58733L
#define E 65926L
#define F 69846L
#define G 78399L
#define A 88000L
#define B 98777L

void sound_init(void);
void sound_done(void);
void spkr_freq(long);
void spkr_on(void);
void spkr_off(void);
int sound_left(void);
void sound_quiet(void);
void sndout(void);
void sound(long,long);


  3 Responses to “Category : C Source Code
Archive   : CSR-1.ZIP
Filename : CSRSOUND.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/