Read/WriteADRHEXADRNAMEDescriptionshadowOS
Read53762$D202POT2Pot/paddle 2626all
Write53762$D202AUDF2 Audio channel 2 frequency noneall

Read#

Reads the value of pot (paddle) 2.

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 AUDC2 to set distortion and volume for channel 2.


see also: Sound Topics, AUDCTL, STIMER

previous: AUDC1

next: AUDC2

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-4) was last changed on 24-Feb-2019 18:33 by Florian Dingler