Thread View: comp.soft-sys.matlab
2 messages
2 total messages
Started by Merlin
Tue, 26 Jan 1993 22:15
Question about sounds ...
Author: Merlin
Date: Tue, 26 Jan 1993 22:15
Date: Tue, 26 Jan 1993 22:15
14 lines
1131 bytes
1131 bytes
I have a question out there for people who use Matlab 4.0a
(I am running it on a sun sparc workstation)
How do you get the sounds to work? I am only to get niose
when I tried using it. Has anyone used it?
Can someone post a little blirb on the basics of using it.
Thanks..
Cory
--
+----------------------------------------+------------------------------------+
|kihlstro@ecn.purdue.edu |Cory C. Kihlstrom
|{purdue, pur-ee}!ecn.purdue.edu!kihlstro|School of Electrical Engineering
|merlin2@sage.cc.purdue.edu |Electrical Engineering
Re: Question about sounds ...
Author: Joe Barsugli
Date: Tue, 26 Jan 1993 18:37
Date: Tue, 26 Jan 1993 18:37
33 lines
1498 bytes
1498 bytes
In article <1993Jan26.221528.28231@en.ecn.purdue.edu> kihlstro@en.ecn.purdue.edu (Merlin) writes: I have a question out there for people who use Matlab 4.0a (I am running it on a sun sparc workstation) How do you get the sounds to work? I am only to get niose when I tried using it. Has anyone used it? Can someone post a little blirb on the basics of using it. Thanks.. Cory Well, we just got matlab4.0 here and I played with the sound capability a bit (I "sonified" some of my data, much to my colleagues shock). Just generate a long vector and play it. On Sparcs the vector is sampled at something like 8192 Hz, that is, a vector of length 8192 will play for one second. Try t = 1:8192; f = 440; x = sin(2*pi*f*t/8192); sound(x); or x = sin(2*pi*t.*t/8192); sound(x); Good Luck, Joe Barsugli (joeb@atmos.washington.edu)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads