AUDF4
Back to current versionRestore this version
Read/WriteADRHEXADRNAMEDescriptionshadowOS
Read53766$D206POT6Pot/paddle 6630all
Write53766$D206AUDF4 Audio channel 4 frequency noneall

Read#

Reads the value of pot (paddle) 6.

Write#

Frequency of Audio channel 4. 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 AUDC4 to set distortion and volume for channel 4.


see also: Sound Topics, AUDCTL, STIMER

previous: AUDC3

next: AUDC4