Hi
Thanks for an amazing product.
I have made a small midi bass synth using T4 and 25L12835F flash and PT8211 as audio output.
My problems two:
1. Using PT8211 create a lot of computer noise on the output.
when I instead use TDA1311A (compatible) the noise is gone.
I have followed all the rules of design for my PC board.
Has anybody had the same experience with PT8211.
2. My synth is mono so I only need one channel of the DAC so I use L, but I'm forced to connect the same source for both channels as input.
If I don't my code hangs. This was not the case when I used T3.2 instead.
include <Audio.h>
#include <Wire.h>
#include <SerialFlash.h>
#include <SPI.h>
#include <Bounce2.h>
#include <MIDI.h>
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);
// Create the Audio components. These should be created in the
// order data flows, inputs/sources -> processing -> outputs
//
// basstämma
AudioPlaySerialflashRaw bas[2];
AudioEffectEnvelope env[2];
// ackordskomp 3-4 stämmor samtidigt
AudioPlaySerialflashRaw acc[4];
AudioMixer4 mix0;
AudioMixer4 mix1;
AudioMixer4 mix2;
AudioOutputPT8211 ptout;
// basen
AudioConnection c0(bas[0], 0, env[0], 0);
AudioConnection c1(bas[1], 0, env[1], 0);
// kompet in i mixer 0
AudioConnection c2(acc[0], 0, mix0, 0);
AudioConnection c3(acc[1], 0, mix0, 1);
AudioConnection c4(acc[2], 0, mix0, 2);
AudioConnection c5(acc[3], 0, mix0, 3);
// mixa ihop bas och komp
AudioConnection c10(env[0], 0, mix1, 0);
AudioConnection c11(env[1], 0, mix1, 1);
AudioConnection c12(mix0, 0, mix1, 2);
// output to PT8211 dac (both L och R)
AudioConnection c20(mix1, 0, ptout, 0);
AudioConnection c21(mix1, 0, ptout, 1);
I'm using Arduino 1.8.12 and Teensy Loader 1.53 on Ubuntu
/Tomas
Thanks for an amazing product.
I have made a small midi bass synth using T4 and 25L12835F flash and PT8211 as audio output.
My problems two:
1. Using PT8211 create a lot of computer noise on the output.
when I instead use TDA1311A (compatible) the noise is gone.
I have followed all the rules of design for my PC board.
Has anybody had the same experience with PT8211.
2. My synth is mono so I only need one channel of the DAC so I use L, but I'm forced to connect the same source for both channels as input.
If I don't my code hangs. This was not the case when I used T3.2 instead.
include <Audio.h>
#include <Wire.h>
#include <SerialFlash.h>
#include <SPI.h>
#include <Bounce2.h>
#include <MIDI.h>
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);
// Create the Audio components. These should be created in the
// order data flows, inputs/sources -> processing -> outputs
//
// basstämma
AudioPlaySerialflashRaw bas[2];
AudioEffectEnvelope env[2];
// ackordskomp 3-4 stämmor samtidigt
AudioPlaySerialflashRaw acc[4];
AudioMixer4 mix0;
AudioMixer4 mix1;
AudioMixer4 mix2;
AudioOutputPT8211 ptout;
// basen
AudioConnection c0(bas[0], 0, env[0], 0);
AudioConnection c1(bas[1], 0, env[1], 0);
// kompet in i mixer 0
AudioConnection c2(acc[0], 0, mix0, 0);
AudioConnection c3(acc[1], 0, mix0, 1);
AudioConnection c4(acc[2], 0, mix0, 2);
AudioConnection c5(acc[3], 0, mix0, 3);
// mixa ihop bas och komp
AudioConnection c10(env[0], 0, mix1, 0);
AudioConnection c11(env[1], 0, mix1, 1);
AudioConnection c12(mix0, 0, mix1, 2);
// output to PT8211 dac (both L och R)
AudioConnection c20(mix1, 0, ptout, 0);
AudioConnection c21(mix1, 0, ptout, 1);
I'm using Arduino 1.8.12 and Teensy Loader 1.53 on Ubuntu
/Tomas