Can I input/output a wavs in electronics toolbox?

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)

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

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!

This question is closed.

Products

Release

R2018a

Asked:

on 21 Sep 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!