pdp6 icon indicating copy to clipboard operation
pdp6 copied to clipboard

Music device.

Open larsbrinkhoff opened this issue 5 years ago • 4 comments

MUSRUN and BIG both play music through the attached PDP-6. Sound is generated out of the memory indicators from location 32. There is an older square wave sound generator from the lower six bits. And a newer "analog" player from four 9-bit channels.

larsbrinkhoff avatar Mar 30 '20 15:03 larsbrinkhoff

The music is played out of the memory indicators. The data is written to AC 0, so the data switches should be 000000.

larsbrinkhoff avatar Apr 01 '20 08:04 larsbrinkhoff

There are some pots and switches which affect sound. This is from AI memo 107. musrun_pots

larsbrinkhoff avatar Apr 01 '20 08:04 larsbrinkhoff

https://wiki.libsdl.org/SDL_OpenAudioDevice

larsbrinkhoff avatar Apr 01 '20 10:04 larsbrinkhoff

I played with SDL_audio in another context, and found SDL_QueueAudio to be more reliable.

https://wiki.libsdl.org/SDL_QueueAudio https://wiki.libsdl.org/SDL_GetQueuedAudioSize

larsbrinkhoff avatar May 20 '20 13:05 larsbrinkhoff