AUDF1
Back to current versionRestore this version
Read/WriteADRHEXADRNAMEDescriptionshadowOS
Read53760$D200POT0Pot/paddle 0624all
Write53760$D200AUDF1 Audio channel 1 frequency noneall

Read#

Reads the value of pot (paddle) 0.

Write#

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


see also: Sound Topics, AUDCTL, STIMER

previous: none

next: AUDC1