Apple 2 Sound Card (Mockingboard) Test
 
 
 
 
Go to file
Michaelangel007 72faf4ab03 Use better tuning 2017-04-25 09:14:32 -07:00
docs Add docs 2017-04-15 11:09:24 -07:00
Makefile Add 6502 low and high byte assembly output 2017-04-25 09:14:11 -07:00
README.md Use better tuning 2017-04-25 09:14:32 -07:00
applewin.sh Initial commit 2017-04-15 10:45:13 -07:00
freq.c Annotate errors in original doc with correct tones 2017-04-17 07:59:16 -07:00
scales.dsk Use better tuning 2017-04-25 09:14:32 -07:00
scales.s Use min abs err 2017-04-17 07:41:17 -07:00
test_mock.dsk Initial commit 2017-04-15 10:45:13 -07:00
test_mock.s Fix typo Mockingboard 2017-04-15 11:19:29 -07:00

README.md

Apple 2 Mockingboard Test

Play a single note on both the left and right channels A.

Source: 6502 Assembly

Mockingboard Tone <-> Frequency Table

See freq.c

    Note  Frequency     Tone   Decimal   reproduced  Relative Error

    A0    27.500 Hz -> $090F (  9  15) ~  27.503 Hz  (+0.012%)
    A0#   29.135 Hz -> $088D (  8 141) ~  29.137 Hz  (+0.005%)
    B0    30.868 Hz -> $0812 (  8  18) ~  30.871 Hz  (+0.012%)

    C1    32.703 Hz -> $079E (  7 158) ~  32.708 Hz  (+0.014%)
    C1#   34.648 Hz -> $0731 (  7  49) ~  34.644 Hz  (-0.010%)
    D1    36.708 Hz -> $06C9 (  6 201) ~  36.719 Hz  (+0.029%)
    D1#   38.891 Hz -> $0668 (  6 104) ~  38.890 Hz  (-0.001%)
    E1    41.203 Hz -> $060C (  6  12) ~  41.202 Hz  (-0.004%)
    F1    43.654 Hz -> $05B5 (  5 181) ~  43.655 Hz  (+0.004%)
    F1#   46.249 Hz -> $0563 (  5  99) ~  46.251 Hz  (+0.004%)
    G1    48.999 Hz -> $0516 (  5  22) ~  48.986 Hz  (-0.027%)
    G1#   51.913 Hz -> $04CD (  4 205) ~  51.896 Hz  (-0.033%)
    A1    55.000 Hz -> $0488 (  4 136) ~  54.983 Hz  (-0.031%)
    A1#   58.270 Hz -> $0447 (  4  71) ~  58.247 Hz  (-0.041%)
    B1    61.735 Hz -> $0409 (  4   9) ~  61.743 Hz  (+0.012%)

    C2    65.406 Hz -> $03CF (  3 207) ~  65.416 Hz  (+0.014%)
    C2#   69.296 Hz -> $0398 (  3 152) ~  69.326 Hz  (+0.044%)
    D2    73.416 Hz -> $0365 (  3 101) ~  73.395 Hz  (-0.029%)
    D2#   77.782 Hz -> $0334 (  3  52) ~  77.781 Hz  (-0.001%)
    E2    82.407 Hz -> $0306 (  3   6) ~  82.403 Hz  (-0.004%)
    F2    87.307 Hz -> $02DB (  2 219) ~  87.251 Hz  (-0.065%)
    F2#   92.499 Hz -> $02B2 (  2 178) ~  92.435 Hz  (-0.069%)
    G2    97.999 Hz -> $028B (  2 139) ~  97.973 Hz  (-0.027%)
    G2#  103.826 Hz -> $0266 (  2 102) ~ 103.877 Hz  (+0.049%)
    A2   110.000 Hz -> $0244 (  2  68) ~ 109.966 Hz  (-0.031%)
    A2#  116.541 Hz -> $0223 (  2  35) ~ 116.600 Hz  (+0.051%)
    B2   123.471 Hz -> $0205 (  2   5) ~ 123.366 Hz  (-0.085%)

    C3   130.813 Hz -> $01E8 (  1 232) ~ 130.697 Hz  (-0.088%)
    C3#  138.591 Hz -> $01CC (  1 204) ~ 138.653 Hz  (+0.044%)
    D3   146.832 Hz -> $01B2 (  1 178) ~ 146.959 Hz  (+0.086%)
    D3#  155.563 Hz -> $019A (  1 154) ~ 155.562 Hz  (-0.001%)
    E3   164.814 Hz -> $0183 (  1 131) ~ 164.807 Hz  (-0.004%)
    F3   174.614 Hz -> $016D (  1 109) ~ 174.740 Hz  (+0.072%)
    F3#  184.997 Hz -> $0159 (  1  89) ~ 184.870 Hz  (-0.069%)
    G3   195.998 Hz -> $0145 (  1  69) ~ 196.247 Hz  (+0.127%)
    G3#  207.652 Hz -> $0133 (  1  51) ~ 207.753 Hz  (+0.049%)
    A3   220.000 Hz -> $0122 (  1  34) ~ 219.932 Hz  (-0.031%)
    A3#  233.082 Hz -> $0112 (  1  18) ~ 232.775 Hz  (-0.132%)
    B3   246.942 Hz -> $0102 (  1   2) ~ 247.210 Hz  (+0.109%)

    C4   261.626 Hz -> $00F4 (  0 244) ~ 261.395 Hz  (-0.088%)
    C4#  277.183 Hz -> $00E6 (  0 230) ~ 277.306 Hz  (+0.044%)
    D4   293.665 Hz -> $00D9 (  0 217) ~ 293.918 Hz  (+0.086%)
    D4#  311.127 Hz -> $00CD (  0 205) ~ 311.123 Hz  (-0.001%)
    E4   329.628 Hz -> $00C1 (  0 193) ~ 330.468 Hz  (+0.255%)
    F4   349.228 Hz -> $00B7 (  0 183) ~ 348.526 Hz  (-0.201%)
    F4#  369.994 Hz -> $00AC (  0 172) ~ 370.816 Hz  (+0.222%)
    G4   391.995 Hz -> $00A3 (  0 163) ~ 391.290 Hz  (-0.180%)
    G4#  415.305 Hz -> $009A (  0 154) ~ 414.158 Hz  (-0.276%)
    A4   440.000 Hz -> $0091 (  0 145) ~ 439.864 Hz  (-0.031%)
    A4#  466.164 Hz -> $0089 (  0 137) ~ 465.549 Hz  (-0.132%)
    B4   493.883 Hz -> $0081 (  0 129) ~ 494.421 Hz  (+0.109%)

    C5   523.251 Hz -> $007A (  0 122) ~ 522.789 Hz  (-0.088%)
    C5#  554.365 Hz -> $0073 (  0 115) ~ 554.611 Hz  (+0.044%)
    D5   587.330 Hz -> $006D (  0 109) ~ 585.140 Hz  (-0.373%)
    D5#  622.254 Hz -> $0067 (  0 103) ~ 619.226 Hz  (-0.487%)
    E5   659.255 Hz -> $0061 (  0  97) ~ 657.529 Hz  (-0.262%)
    F5   698.456 Hz -> $005B (  0  91) ~ 700.882 Hz  (+0.347%)
    F5#  739.989 Hz -> $0056 (  0  86) ~ 741.631 Hz  (+0.222%)
    G5   783.991 Hz -> $0051 (  0  81) ~ 787.411 Hz  (+0.436%)
    G5#  830.609 Hz -> $004D (  0  77) ~ 828.315 Hz  (-0.276%)
    A5   880.000 Hz -> $0048 (  0  72) ~ 885.837 Hz  (+0.663%)
    A5#  932.328 Hz -> $0044 (  0  68) ~ 937.945 Hz  (+0.603%)
    B5   987.767 Hz -> $0041 (  0  65) ~ 981.235 Hz  (-0.661%)

    C6  1046.502 Hz -> $003D (  0  61) ~1045.578 Hz  (-0.088%)
    C6# 1108.731 Hz -> $003A (  0  58) ~1099.660 Hz  (-0.818%)
    D6  1174.659 Hz -> $0036 (  0  54) ~1181.116 Hz  (+0.550%)
    D6# 1244.508 Hz -> $0033 (  0  51) ~1250.594 Hz  (+0.489%)
    E6  1318.510 Hz -> $0030 (  0  48) ~1328.756 Hz  (+0.777%)
    F6  1396.913 Hz -> $002E (  0  46) ~1386.528 Hz  (-0.743%)
    F6# 1479.978 Hz -> $002B (  0  43) ~1483.262 Hz  (+0.222%)
    G6  1567.982 Hz -> $0029 (  0  41) ~1555.616 Hz  (-0.789%)
    G6# 1661.219 Hz -> $0026 (  0  38) ~1678.428 Hz  (+1.036%)
    A6  1760.000 Hz -> $0024 (  0  36) ~1771.674 Hz  (+0.663%)
    A6# 1864.655 Hz -> $0022 (  0  34) ~1875.890 Hz  (+0.603%)
    B6  1975.533 Hz -> $0020 (  0  32) ~1993.133 Hz  (+0.891%)

    C7  2093.005 Hz -> $001E (  0  30) ~2126.009 Hz  (+1.577%)
    C7# 2217.461 Hz -> $001D (  0  29) ~2199.320 Hz  (-0.818%)
    D7  2349.318 Hz -> $001B (  0  27) ~2362.232 Hz  (+0.550%)
    D7# 2489.016 Hz -> $001A (  0  26) ~2453.087 Hz  (-1.443%)
    E7  2637.020 Hz -> $0018 (  0  24) ~2657.511 Hz  (+0.777%)
    F7  2793.826 Hz -> $0017 (  0  23) ~2773.055 Hz  (-0.743%)
    F7# 2959.955 Hz -> $0016 (  0  22) ~2899.103 Hz  (-2.056%)
    G7  3135.963 Hz -> $0014 (  0  20) ~3189.014 Hz  (+1.692%)
    G7# 3322.438 Hz -> $0013 (  0  19) ~3356.856 Hz  (+1.036%)
    A7  3520.000 Hz -> $0012 (  0  18) ~3543.348 Hz  (+0.663%)
    A7# 3729.310 Hz -> $0011 (  0  17) ~3751.781 Hz  (+0.603%)
    B7  3951.066 Hz -> $0010 (  0  16) ~3986.267 Hz  (+0.891%)

    C8  4186.009 Hz -> $000F (  0  15) ~4252.018 Hz  (+1.577%)
    C8# 4434.922 Hz -> $000E (  0  14) ~4555.734 Hz  (+2.724%)
    D8  4698.636 Hz -> $000E (  0  14) ~4555.734 Hz  (-3.041%)
    D8# 4978.032 Hz -> $000D (  0  13) ~4906.175 Hz  (-1.443%)
    E8  5274.041 Hz -> $000C (  0  12) ~5315.023 Hz  (+0.777%)
    F8  5587.652 Hz -> $000B (  0  11) ~5798.206 Hz  (+3.768%)
    F8# 5919.911 Hz -> $000B (  0  11) ~5798.206 Hz  (-2.056%)
    G8  6271.927 Hz -> $000A (  0  10) ~6378.027 Hz  (+1.692%)
    G8# 6644.875 Hz -> $000A (  0  10) ~6378.027 Hz  (-4.016%)