Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Can I input/output a wavs in electronics toolbox?

1 visualización (últimos 30 días)
Jonathan Solheim
Jonathan Solheim el 21 de Sept. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I plan on making audio circuits and I would like to hear how they sound as I make them. I would prefer to have live feedback. I also have the audiotoolbox if somehow they can work together. Thank you!

Respuestas (1)

Dinesh Iyer
Dinesh Iyer el 25 de Sept. de 2018
The Audio System Toolbox has functions like audioDeviceReader, audioDeviceWriter which allows you to playback and record sound.. You can also use the dsp.AudioFileWriter and dsp.AudioFileReader system objects for creating and playing back WAV files (also can do OGG, FLAC, AAC).
This demo might help: Audio Latency Demo
  1 comentario
Jonathan Solheim
Jonathan Solheim el 26 de Sept. de 2018
Thank you for the quick feedback but I don't think that answers my question. I am wondering if I can run audio through an electronics toolbox circuit simulation. For example, if I design a distortion pedal can I attached a WAV file as a voltage signal source? Then instead of reading the output with an simulated oscilloscope, can I play the output through my speakers? Thanks again!

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by