nplay
NPLAY(music) plays a tune on the speakers using the nsound function to create pitch vectors for each note and MATLAB's sound function to play
the notes on the speakers. Each row of the cell array music represents one note to be played, and the duration to play it. The notes are specified using standard English notation, e.g., C, D#, etc. Supported notes are those recognized by nsound.m. Can you thing of a more convenient write short musical tunes? Contact me.
Citation pour cette source
Naor Movshovitz (2024). nplay (https://www.mathworks.com/matlabcentral/fileexchange/11221-nplay), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | should be in category utilities>sound |