Read/WriteADRHEXADRNAMEDescriptionshadowOS
Read53764$D204POT4Pot/paddle 4628all
Write53764$D204AUDF3 Audio channel 3 frequency noneall

Read#

Reads the value of pot (paddle) 4.

Write#

Frequency of Audio channel 3. This value can be between 0 ($00) and 255 ($FF), where 0 is the highest tone/pitch and 255 is the lowest tone/pitch.

With a base frequency of 64kHz, distortion=10 and A3=443Hz the following values define the respective notes for PAL-ATARIs

OktaveC#CD#DEF#FG#GA#AH
2239226213201190179169159150142134126
31191121061009489847975706663
4595653504744423937353331
5292726242322201918171615
61413(12)(12)1110 9 8 7

For NTSC-ATARIs use the following values defining the respective notes (distortion=10, A3=443Hz)

OktaveC#CD#DEF#FG#GA#AH
2243230217204193182173162153144136128
31211141081029691858176726864
4605753504745424037353331
5292726242322201918171615

Use AUDC3 to set distortion and volume for channel 3.


see also: Sound Topics, AUDCTL, STIMER

previous: AUDC2

next: AUDC3