I’m trying to make simple tones and beeps. I found a nice example
for QNX 4.x:
http://support.qnx.com/support/bok/solution.qnx?9373
but I’m using the QNX RTP. The above example refers to
/dev/dsp which I don’t seem to have.
I’ve also tried swapping /dev/snd/pcmC0D0p
(Audio Playback) for /dev/dsp, but that doesn’t work.
My sound card is correctly configured since I can play wav files.
Does anyone have any suggestions on how I can tweak the above example
to get a beep / tone out of my system?
The solution about using the system speaker with the function out8() to
output the value 255 to port 61 is not what I want because I must have
several tones.
Sincerely,
Jeff HOFFMEYER
I think what you need is MIDI. And that was left out by QNX ‘pseudo
ALSA’ framework.
Jeff HOFFMEYER wrote:
I’m trying to make simple tones and beeps. I found a nice example
for QNX 4.x:
http://support.qnx.com/support/bok/solution.qnx?9373
but I’m using the QNX RTP. The above example refers to
/dev/dsp which I don’t seem to have.
I’ve also tried swapping /dev/snd/pcmC0D0p
(Audio Playback) for /dev/dsp, but that doesn’t work.
My sound card is correctly configured since I can play wav files.
Does anyone have any suggestions on how I can tweak the above example
to get a beep / tone out of my system?
The solution about using the system speaker with the function out8() to
output the value 255 to port 61 is not what I want because I must have
several tones.
Sincerely,
Jeff HOFFMEYER