Create a schematic for Audio amplifier circuit 

libSymbols:
- Amplifier_Audio:LM386
- Connector:Screw_Terminal_01x02
- Connector_Generic:Conn_01x02
- Connector_Generic:Conn_01x03
- Connector_Generic:Conn_01x26
- Device:C
- Device:C_Polarized_US
- Device:Crystal_GND24
- Device:R_Potentiometer_US
- Device:R_US
- LIBRARY-8-bit-computer:SN76489
- power:GND
- power:PWR_FLAG
- power:VCC
schematicSymbols:
- libraryNickname: Device
  entryName: R_US
  position:
    x: 164.338
    y: 84.328
    angle: 0
  properties:
  - key: Reference
    value: R1
    position:
      x: 165.862
      y: 83.312
      angle: 0
  - key: Value
    value: 10k
    position:
      x: 165.862
      y: 85.344
      angle: 0
- libraryNickname: power
  entryName: PWR_FLAG
  position:
    x: 32.766
    y: 30.988
    angle: 90
  properties:
  - key: Reference
    value: '#FLG02'
    position:
      x: 30.861
      y: 30.988
      angle: 0
  - key: Value
    value: PWR_FLAG
    position:
      x: 28.448
      y: 30.9879
      angle: 90
- libraryNickname: Device
  entryName: C_Polarized_US
  position:
    x: 170.688
    y: 120.904
    angle: 0
  properties:
  - key: Reference
    value: C5
    position:
      x: 169.418
      y: 119.634
      angle: 90
  - key: Value
    value: "10\xB5f"
    position:
      x: 166.624
      y: 123.19
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 196.342
    y: 117.348
    angle: 180
  properties:
  - key: Reference
    value: '#PWR023'
    position:
      x: 196.342
      y: 110.998
      angle: 0
  - key: Value
    value: GND
    position:
      x: 194.31
      y: 113.538
      angle: 0
- libraryNickname: Device
  entryName: R_Potentiometer_US
  position:
    x: 196.342
    y: 121.158
    angle: 90
  properties:
  - key: Reference
    value: RV2
    position:
      x: 196.342
      y: 123.698
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 196.342
      y: 125.476
      angle: 90
- libraryNickname: LIBRARY-8-bit-computer
  entryName: SN76489
  position:
    x: 109.728
    y: 93.98
    angle: 0
  properties:
  - key: Reference
    value: U2
    position:
      x: 110.4774
      y: 76.2
      angle: 0
  - key: Value
    value: SN76489
    position:
      x: 110.4774
      y: 78.74
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 50.038
    y: 81.026
    angle: 0
  properties:
  - key: Reference
    value: C1
    position:
      x: 44.958
      y: 81.026
      angle: 0
  - key: Value
    value: C
    position:
      x: 53.848
      y: 82.2959
      angle: 0
- libraryNickname: Connector_Generic
  entryName: Conn_01x03
  position:
    x: 152.146
    y: 118.872
    angle: 180
  properties:
  - key: Reference
    value: J2
    position:
      x: 152.146
      y: 110.236
      angle: 0
  - key: Value
    value: Conn_01x03
    position:
      x: 152.146
      y: 112.776
      angle: 0
- libraryNickname: Amplifier_Audio
  entryName: LM386
  position:
    x: 164.338
    y: 99.314
    angle: 0
  properties:
  - key: Reference
    value: U3
    position:
      x: 168.91
      y: 92.71
      angle: 0
  - key: Value
    value: LM386
    position:
      x: 168.91
      y: 95.25
      angle: 0
- libraryNickname: Device
  entryName: R_US
  position:
    x: 178.308
    y: 110.744
    angle: 0
  properties:
  - key: Reference
    value: R2
    position:
      x: 179.832
      y: 109.728
      angle: 0
  - key: Value
    value: "10\u03A9"
    position:
      x: 179.832
      y: 111.76
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 37.338
    y: 28.702
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 37.338
      y: 22.352
      angle: 0
  - key: Value
    value: GND
    position:
      x: 37.338
      y: 23.622
      angle: 90
- libraryNickname: power
  entryName: PWR_FLAG
  position:
    x: 32.766
    y: 28.956
    angle: 90
  properties:
  - key: Reference
    value: '#FLG01'
    position:
      x: 30.861
      y: 28.956
      angle: 0
  - key: Value
    value: PWR_FLAG
    position:
      x: 28.448
      y: 28.9559
      angle: 90
- libraryNickname: power
  entryName: VCC
  position:
    x: 108.458
    y: 76.2
    angle: 0
  properties:
  - key: Reference
    value: '#PWR04'
    position:
      x: 108.458
      y: 80.01
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 108.458
      y: 72.39
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 34.798
    y: 28.702
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 34.798
      y: 32.512
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 34.798
      y: 23.368
      angle: 90
- libraryNickname: Device
  entryName: C_Polarized_US
  position:
    x: 164.338
    y: 76.708
    angle: 180
  properties:
  - key: Reference
    value: C4
    position:
      x: 167.132
      y: 74.93
      angle: 0
  - key: Value
    value: "10\xB5f"
    position:
      x: 167.132
      y: 77.47
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 58.674
    y: 91.44
    angle: 0
  properties:
  - key: Reference
    value: '#PWR015'
    position:
      x: 58.674
      y: 97.79
      angle: 0
  - key: Value
    value: GND
    position:
      x: 58.674
      y: 95.504
      angle: 0
- libraryNickname: Device
  entryName: Crystal_GND24
  position:
    x: 58.674
    y: 81.026
    angle: 0
  properties:
  - key: Reference
    value: Y1
    position:
      x: 61.468
      y: 86.106
      angle: 0
  - key: Value
    value: 4MHz
    position:
      x: 69.85
      y: 82.0674
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 116.078
    y: 34.798
    angle: 0
  properties:
  - key: Reference
    value: '#PWR017'
    position:
      x: 116.078
      y: 41.148
      angle: 0
  - key: Value
    value: GND
    position:
      x: 118.11
      y: 38.354
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 161.798
    y: 91.694
    angle: 0
  properties:
  - key: Reference
    value: '#PWR019'
    position:
      x: 161.798
      y: 95.504
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 161.798
      y: 88.138
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 108.458
    y: 121.92
    angle: 0
  properties:
  - key: Reference
    value: '#PWR05'
    position:
      x: 108.458
      y: 128.27
      angle: 0
  - key: Value
    value: GND
    position:
      x: 108.458
      y: 125.984
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 164.338
    y: 72.898
    angle: 180
  properties:
  - key: Reference
    value: '#PWR021'
    position:
      x: 164.338
      y: 66.548
      angle: 0
  - key: Value
    value: GND
    position:
      x: 162.306
      y: 69.342
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 156.718
    y: 101.854
    angle: 270
  properties:
  - key: Reference
    value: '#PWR018'
    position:
      x: 150.368
      y: 101.854
      angle: 0
  - key: Value
    value: GND
    position:
      x: 153.924
      y: 101.854
      angle: 90
- libraryNickname: power
  entryName: VCC
  position:
    x: 58.674
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: '#PWR014'
    position:
      x: 58.674
      y: 74.93
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 58.674
      y: 67.31
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 130.302
    y: 77.724
    angle: 180
  properties:
  - key: Reference
    value: '#PWR03'
    position:
      x: 130.302
      y: 71.374
      angle: 0
  - key: Value
    value: GND
    position:
      x: 130.302
      y: 74.93
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 161.798
    y: 106.934
    angle: 0
  properties:
  - key: Reference
    value: '#PWR020'
    position:
      x: 161.798
      y: 113.284
      angle: 0
  - key: Value
    value: GND
    position:
      x: 163.83
      y: 110.744
      angle: 0
- libraryNickname: Device
  entryName: R_Potentiometer_US
  position:
    x: 164.338
    y: 127
    angle: 90
  properties:
  - key: Reference
    value: RV1
    position:
      x: 164.338
      y: 129.54
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 164.338
      y: 131.318
      angle: 90
- libraryNickname: Device
  entryName: C
  position:
    x: 116.078
    y: 30.988
    angle: 0
  properties:
  - key: Reference
    value: C3
    position:
      x: 110.998
      y: 30.988
      angle: 0
  - key: Value
    value: C
    position:
      x: 119.888
      y: 32.2579
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 178.308
    y: 114.554
    angle: 0
  properties:
  - key: Reference
    value: '#PWR022'
    position:
      x: 178.308
      y: 120.904
      angle: 0
  - key: Value
    value: GND
    position:
      x: 180.34
      y: 118.364
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 178.308
    y: 103.124
    angle: 0
  properties:
  - key: Reference
    value: C6
    position:
      x: 173.228
      y: 103.124
      angle: 0
  - key: Value
    value: "47\xB5f"
    position:
      x: 180.848
      y: 103.124
      angle: 0
- libraryNickname: Connector
  entryName: Screw_Terminal_01x02
  position:
    x: 208.28
    y: 84.074
    angle: 0
  properties:
  - key: Reference
    value: J3
    position:
      x: 210.82
      y: 84.0739
      angle: 0
  - key: Value
    value: Screw_Terminal_01x02
    position:
      x: 210.82
      y: 86.6139
      angle: 0
- libraryNickname: Device
  entryName: C_Polarized_US
  position:
    x: 191.008
    y: 99.314
    angle: 90
  properties:
  - key: Reference
    value: C7
    position:
      x: 189.738
      y: 102.87
      angle: 90
  - key: Value
    value: "220\xB5f"
    position:
      x: 188.722
      y: 95.25
      angle: 90
- libraryNickname: Connector_Generic
  entryName: Conn_01x02
  position:
    x: 132.842
    y: 82.804
    angle: 270
  properties:
  - key: Reference
    value: J4
    position:
      x: 124.206
      y: 82.804
      angle: 0
  - key: Value
    value: Conn_01x02
    position:
      x: 126.746
      y: 82.804
      angle: 0
- libraryNickname: power
  entryName: VCC
  position:
    x: 116.078
    y: 27.178
    angle: 0
  properties:
  - key: Reference
    value: '#PWR016'
    position:
      x: 116.078
      y: 30.988
      angle: 0
  - key: Value
    value: VCC
    position:
      x: 116.078
      y: 23.622
      angle: 0
- libraryNickname: Connector_Generic
  entryName: Conn_01x26
  position:
    x: 67.818
    y: 37.084
    angle: 270
  properties:
  - key: Reference
    value: J1
    position:
      x: 66.548
      y: 40.894
      angle: 90
  - key: Value
    value: Conn_01x26
    position:
      x: 66.548
      y: 43.434
      angle: 90
junctions:
- position:
    x: 58.674
    y: 88.646
    angle: 0
- position:
    x: 37.338
    y: 30.988
    angle: 0
- position:
    x: 34.798
    y: 28.956
    angle: 0
- position:
    x: 178.308
    y: 99.314
    angle: 0
- position:
    x: 58.674
    y: 73.406
    angle: 0
noConnects:
- position:
    x: 90.678
    y: 32.004
    angle: null
- position:
    x: 85.598
    y: 32.004
    angle: null
- position:
    x: 80.518
    y: 32.004
    angle: null
- position:
    x: 93.218
    y: 32.004
    angle: null
- position:
    x: 70.358
    y: 32.004
    angle: null
- position:
    x: 88.138
    y: 32.004
    angle: null
- position:
    x: 42.418
    y: 32.004
    angle: null
- position:
    x: 121.158
    y: 109.22
    angle: null
- position:
    x: 54.864
    y: 81.026
    angle: null
- position:
    x: 98.298
    y: 32.004
    angle: null
- position:
    x: 95.758
    y: 32.004
    angle: null
- position:
    x: 77.978
    y: 32.004
    angle: null
- position:
    x: 75.438
    y: 32.004
    angle: null
- position:
    x: 192.532
    y: 121.158
    angle: null
- position:
    x: 47.498
    y: 32.004
    angle: null
- position:
    x: 83.058
    y: 32.004
    angle: null
- position:
    x: 72.898
    y: 32.004
    angle: null
- position:
    x: 160.528
    y: 127
    angle: null
- position:
    x: 157.226
    y: 116.332
    angle: null
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 42.926
    y: 63.5
  - x: 42.926
    y: 100.838
- type: wire
  points:
  - x: 166.878
    y: 112.014
  - x: 166.878
    y: 106.934
- type: wire
  points:
  - x: 58.674
    y: 71.12
  - x: 58.674
    y: 73.406
- type: wire
  points:
  - x: 42.926
    y: 63.5
  - x: 76.962
    y: 63.5
- type: wire
  points:
  - x: 164.338
    y: 118.872
  - x: 157.226
    y: 118.872
- type: wire
  points:
  - x: 58.674
    y: 73.406
  - x: 58.674
    y: 75.946
- type: wire
  points:
  - x: 76.962
    y: 63.5
  - x: 76.962
    y: 100.838
- type: wire
  points:
  - x: 141.478
    y: 63.5
  - x: 218.186
    y: 63.5
- type: wire
  points:
  - x: 37.338
    y: 30.988
  - x: 32.766
    y: 30.988
- type: wire
  points:
  - x: 80.518
    y: 128.27
  - x: 80.264
    y: 63.5
- type: wire
  points:
  - x: 50.038
    y: 77.216
  - x: 50.038
    y: 73.406
- type: wire
  points:
  - x: 80.264
    y: 63.5
  - x: 102.87
    y: 63.5
- type: wire
  points:
  - x: 58.674
    y: 88.646
  - x: 50.038
    y: 88.646
- type: wire
  points:
  - x: 194.818
    y: 99.314
  - x: 199.136
    y: 99.314
- type: wire
  points:
  - x: 37.338
    y: 32.004
  - x: 37.338
    y: 30.988
- type: wire
  points:
  - x: 50.038
    y: 88.646
  - x: 50.038
    y: 84.836
- type: wire
  points:
  - x: 76.962
    y: 100.838
  - x: 42.926
    y: 100.838
- type: wire
  points:
  - x: 171.958
    y: 99.314
  - x: 178.308
    y: 99.314
- type: wire
  points:
  - x: 138.938
    y: 128.27
  - x: 80.518
    y: 128.27
- type: wire
  points:
  - x: 141.478
    y: 136.906
  - x: 141.478
    y: 63.5
- type: wire
  points:
  - x: 50.038
    y: 73.406
  - x: 58.674
    y: 73.406
- type: wire
  points:
  - x: 168.148
    y: 127
  - x: 170.688
    y: 127
- type: wire
  points:
  - x: 164.338
    y: 88.138
  - x: 164.338
    y: 91.694
- type: wire
  points:
  - x: 170.688
    y: 117.094
  - x: 170.688
    y: 112.014
- type: wire
  points:
  - x: 218.186
    y: 66.294
  - x: 218.186
    y: 136.906
- type: wire
  points:
  - x: 65.532
    y: 81.026
  - x: 62.484
    y: 81.026
- type: wire
  points:
  - x: 170.688
    y: 112.014
  - x: 166.878
    y: 112.014
- type: wire
  points:
  - x: 58.674
    y: 91.44
  - x: 58.674
    y: 88.646
- type: wire
  points:
  - x: 170.688
    y: 124.714
  - x: 170.688
    y: 127
- type: wire
  points:
  - x: 138.938
    y: 63.5
  - x: 138.938
    y: 128.27
- type: wire
  points:
  - x: 34.798
    y: 28.956
  - x: 34.798
    y: 28.702
- type: wire
  points:
  - x: 164.338
    y: 121.412
  - x: 164.338
    y: 123.19
- type: wire
  points:
  - x: 157.226
    y: 121.412
  - x: 164.338
    y: 121.412
- type: wire
  points:
  - x: 218.186
    y: 136.906
  - x: 141.478
    y: 136.906
- type: wire
  points:
  - x: 58.674
    y: 88.646
  - x: 58.674
    y: 86.106
- type: wire
  points:
  - x: 37.338
    y: 30.988
  - x: 37.338
    y: 28.702
- type: wire
  points:
  - x: 34.798
    y: 32.004
  - x: 34.798
    y: 28.956
- type: wire
  points:
  - x: 164.338
    y: 106.934
  - x: 164.338
    y: 118.872
- type: wire
  points:
  - x: 102.108
    y: 63.5
  - x: 138.938
    y: 63.5
- type: wire
  points:
  - x: 32.766
    y: 28.956
  - x: 34.798
    y: 28.956
- type: wire
  points:
  - x: 178.308
    y: 99.314
  - x: 187.198
    y: 99.314
- type: wire
  points:
  - x: 218.186
    y: 63.5
  - x: 218.186
    y: 66.294
globalLabels:
- text: ~{EN}
  shape: input
  position:
    x: 39.878
    y: 32.004
    angle: 90
- text: BUS2
  shape: tri_state
  position:
    x: 95.758
    y: 88.9
    angle: 180
- text: BUS0
  shape: tri_state
  position:
    x: 67.818
    y: 32.004
    angle: 90
- text: 4MHZ
  shape: input
  position:
    x: 95.758
    y: 109.22
    angle: 180
- text: BUS3
  shape: tri_state
  position:
    x: 60.198
    y: 32.004
    angle: 90
- text: BUS1
  shape: tri_state
  position:
    x: 95.758
    y: 86.36
    angle: 180
- text: SPEAKER+
  shape: output
  position:
    x: 199.136
    y: 99.314
    angle: 0
- text: BUS4
  shape: tri_state
  position:
    x: 57.658
    y: 32.004
    angle: 90
- text: BUS6
  shape: tri_state
  position:
    x: 52.578
    y: 32.004
    angle: 90
- text: BUS5
  shape: tri_state
  position:
    x: 95.758
    y: 96.52
    angle: 180
- text: ~{WRITE}
  shape: input
  position:
    x: 95.758
    y: 104.14
    angle: 180
- text: 4MHZ
  shape: output
  position:
    x: 65.532
    y: 81.026
    angle: 0
- text: SPEAKER-
  shape: output
  position:
    x: 200.152
    y: 121.158
    angle: 0
- text: SPEAKER-
  shape: input
  position:
    x: 203.2
    y: 86.614
    angle: 180
- text: BUS6
  shape: tri_state
  position:
    x: 95.758
    y: 99.06
    angle: 180
- text: BUS3
  shape: tri_state
  position:
    x: 95.758
    y: 91.44
    angle: 180
- text: BUS1
  shape: tri_state
  position:
    x: 65.278
    y: 32.004
    angle: 90
- text: ~{EN}
  shape: input
  position:
    x: 95.758
    y: 111.76
    angle: 180
- text: AUDIO_OUT
  shape: output
  position:
    x: 132.842
    y: 77.724
    angle: 90
- text: BUS4
  shape: tri_state
  position:
    x: 95.758
    y: 93.98
    angle: 180
- text: BUS7
  shape: tri_state
  position:
    x: 95.758
    y: 101.6
    angle: 180
- text: BUS5
  shape: tri_state
  position:
    x: 55.118
    y: 32.004
    angle: 90
- text: RDY
  shape: input
  position:
    x: 121.158
    y: 99.06
    angle: 0
- text: ~{WRITE}
  shape: input
  position:
    x: 44.958
    y: 32.004
    angle: 90
- text: SPEAKER+
  shape: input
  position:
    x: 203.2
    y: 84.074
    angle: 180
- text: AUDIO_OUT
  shape: input
  position:
    x: 156.718
    y: 96.774
    angle: 180
- text: BUS2
  shape: tri_state
  position:
    x: 62.738
    y: 32.004
    angle: 90
- text: BUS7
  shape: tri_state
  position:
    x: 50.038
    y: 32.004
    angle: 90
- text: BUS0
  shape: tri_state
  position:
    x: 95.758
    y: 83.82
    angle: 180
- text: AUDIO_OUT
  shape: output
  position:
    x: 121.158
    y: 88.9
    angle: 0
sheetInstances:
- instancePath: /
  page: '1'
