audio

Very experimental! Send/receive audio between linked boards.
Author: Johannes Taelman
License: GPL
Github: jt/link/audio.axo

Inlets

frac32buffer channel 1

frac32buffer channel 2

frac32buffer channel 3

frac32buffer channel 4

Outlets

frac32buffer ch1

frac32buffer ch2

frac32buffer ch3

frac32buffer ch4

Control Rate
int i;
for (i = 0; i < BUFSIZE; i++) {
  outlet_ch1[i] = spilink_rx_samples->channel[0].samples[i];
  outlet_ch2[i] = spilink_rx_samples->channel[1].samples[i];
  outlet_ch3[i] = spilink_rx_samples->channel[2].samples[i];
  outlet_ch4[i] = spilink_rx_samples->channel[3].samples[i];
  spilink_tx_samples->channel[0].samples[i] = inlet_ch1[i];
  spilink_tx_samples->channel[1].samples[i] = inlet_ch2[i];
  spilink_tx_samples->channel[2].samples[i] = inlet_ch3[i];
  spilink_tx_samples->channel[3].samples[i] = inlet_ch4[i];
}

Privacy

© 2024 Zrna Research