Info

This question is closed. Reopen it to edit or answer.

Can I input/output a wavs in electronics toolbox?

1 view (last 30 days)
Jonathan Solheim
Jonathan Solheim on 21 Sep 2018
Closed: MATLAB Answer Bot on 20 Aug 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!

Answers (1)

Dinesh Iyer
Dinesh Iyer on 25 Sep 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 Comment
Jonathan Solheim
Jonathan Solheim on 26 Sep 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!

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!