2 static char RCSId[] = "$Id: heap.c,v 1.3 1993/07/04 04:04:21 root Exp root $";
3 static char Copyright[] = "Copyright Robert J. Amstadt, 1993";
12 printf("OpenSound()\n");
18 printf("CloseSound()\n");
21 int SetVoiceQueueSize(int nVoice
, int nBytes
)
23 printf("SetVoiceQueueSize (%d,%d)\n",nVoice
,nBytes
);
27 int SetVoiceNote(int nVoice
, int nValue
, int nLength
, int nCdots
)
29 printf("SetVoiceNote (%d,%d,%d,%d)\n",nVoice
,nValue
,nLength
,nCdots
);
33 int SetVoiceAccent(int nVoice
, int nTempo
, int nVolume
, int nMode
, int nPitch
)
35 printf("SetVoiceAccent(%d,%d,%d,%d,%d)\n", nVoice
, nTempo
,
36 nVolume
, nMode
, nPitch
);
40 int SetVoiceEnvelope(int nVoice
, int nShape
, int nRepeat
)
42 printf("SetVoiceEnvelope(%d,%d,%d)\n",nVoice
,nShape
,nRepeat
);
46 int SetSoundNoise(int nSource
, int nDuration
)
48 printf("SetSoundNoise(%d,%d)\n",nSource
,nDuration
);
52 int SetVoiceSound(int nVoice
, long lFrequency
, int nDuration
)
54 printf("SetVoiceSound(%d, %ld, %d)\n",nVoice
,lFrequency
, nDuration
);
68 int WaitSoundState(int x
)
70 fprintf(stderr
, "WaitSoundState(%d)\n", x
);
74 int SyncAllVoices(void)
76 fprintf(stderr
, "SyncAllVoices()\n");
80 int CountVoiceNotes(int x
)
82 fprintf(stderr
, "CountVoiceNotes(%d)\n", x
);
86 LPINT
GetThresholdEvent(void)
88 fprintf(stderr
, "GetThresholdEvent()\n");
92 int GetThresholdStatus(void)
94 fprintf(stderr
, "GetThresholdStatus()\n");
98 int SetVoiceThreshold(int a
, int b
)
100 fprintf(stderr
, "SetVoiceThreshold(%d,%d)\n", a
, b
);
106 fprintf(stderr
, "BEEP!\n");
110 11 pascal WAITSOUNDSTATE(word) WaitSoundState(1)
111 12 pascal SYNCALLVOICES() SyncAllVoices()
112 13 pascal COUNTVOICENOTES(word) CountVoiceNotes(1)
113 14 pascal GETTHRESHOLDEVENT() GetThresholdEvent()
114 15 pascal GETTHRESHOLDSTATUS() GetThresholdStatus()
115 16 pascal SETVOICETHRESHOLD(word word) SetVoiceThreshold(1 2)