Code:
// GUItool: begin automatically generated code
AudioSynthWaveformSine sine1; //xy=257,110
AudioOutputAnalog dac1; //xy=440,110
AudioConnection patchCord1(sine1, dac1);
// GUItool: end automatically generated code
void setup() {
AudioMemory(12);
sine1.frequency(1000);
sine1.amplitude(1.0);
}
If I send the sine-data directly to the DAC (see code) where is the samplerate specified?
How can I change the samplerate of AUDIO projects ( at first: no I2S devices used).
What do I have to do if I2S devices (SGTL5000) are involved?