Audio Spectrum Analyzer

버전 1.2.0.1 (7.48 KB) 작성자: Robert Bemis
Simulink model and Data Acquisition Toolbox analyze streaming audio from Windows soundcard.
다운로드 수: 13K
업데이트 날짜: 2016/9/1

라이선스 보기

The MATLAB Function block can be used to stream live data into a Simulink model. This can be useful to validate models with real data under different test conditions for example.
This example uses the Data Acquisition Toolbox to process audio data from the Windows soundcard. (It's actually just a modified version of dspstfft_win32.mdl, a demo that ships with the Signal Processing Blockset.)

You could just as easily use the same approach to interface your models to other support plug-in data acquisition hardware, not to mention a variety of other data sources.

* You could interface Simulink to scientific instruments like an oscilloscope, network analyzer, power meter, or waveform generator using the Instrument Control Toolbox.

* Your models could process live video and image data from cameras and frame grabbers supported by the Image Acquisition Toolbox.

* You could hook your model up to Oracle or another ODBC or JDBC compliant database using the Database Toolbox.

* Your Simulink models can take advantage of MATLAB's Generic DLL calling capability.

Just about anything you can do in MATLAB, you can use the MATLAB Function block to do from Simulink.

Hopefully this example helps get you started. For more advanced capabilities, refer to the Simulink documentation regarding S-functions, particularly M-file S-functions. They are more sophisticated and use a particular API which provides a lot of power and functionality.

Happy modeling and simulating with live data!

인용 양식

Robert Bemis (2024). Audio Spectrum Analyzer (https://www.mathworks.com/matlabcentral/fileexchange/5572-audio-spectrum-analyzer), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.1

Updated license

1.2.0.0

Restored compatibility with MATLAB 7 (R14)

1.1.0.0

copyright

1.0.0.0

Updated requirements. Also added to description to acknowledge original demo as source of this model.