Effacer les filtres
Effacer les filtres

Playing different audio files through different output channels of soundcard

4 vues (au cours des 30 derniers jours)
Hi, I have the TASCAM US-16x08 soundcard having 8 output channels. How can I play 8 different music files from the computer through these 8 different output channels?
  5 commentaires
Sudhee
Sudhee le 17 Juin 2019
@Star Strider Thank you. Will explore more.

Connectez-vous pour commenter.

Réponse acceptée

Sudhee
Sudhee le 18 Juin 2019
Apparently, if the output channels have to be used properly, TASCAM US-16x08 have to be used with audioDeviceWriter having 'Driver' as 'ASIO'. It didn't work with 'directsound'. The code below works fine.
deviceWriter = audioDeviceWriter('Driver','ASIO');
getAudioDevices(deviceWriter)
deviceWriter.Device='US-16x08 ASIO';
deviceWriter(Audio_Variable) % Audio_Variable should be a matrix having number of columns = number of channels and rows having audio data corresponding to the channels for default channel mapping (each column maps to each channel). Else need to customize.

Plus de réponses (0)

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by