|
[Date Index]
[Thread Index]
[Author Index]
Re: Real time sound processing?
- To: mathgroup at smc.vnet.net
- Subject: [mg125390] Re: Real time sound processing?
- From: Roger Bagula <roger.bagula at gmail.com>
- Date: Sun, 11 Mar 2012 04:08:30 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jjfda9$802$1@smc.vnet.net>
>From Japanese file turned in Google search:
http://www.cs.takushoku-u.ac.jp/~ymiki/MatSigProcExercise/MatSigProcEx1.nb
Needs["Miscellaneous`Audio`"];
(* read an aiff file*)
x = ReadSoundFile["TimeSignal2.aiff"];
(*Alternative:*)
(*Needs["Utilities`BinaryFiles`"];
x=ReadListBinary["TimeSignal2.aiff",SignedInt16];*)
y = Take[x, {1, Length[x]}];
ListPlay[y, SampleRate -> 44100]
I haven't tried it.
You have to have the audio file in the Mac Aiff format in your
Mathematica -> Directory[]
On Mar 10, 3:18 am, David Kahle <david.ka... at gmail.com> wrote:
> Hi all -
>
> I was wondering if anyone could point me in the right direction.
>
> Is there any equivalent to something like Dynamic@CurrentImage[] for
> sounds? I'm looking for ways to interact with sound (in and out) in
> real time, but the Play function and other similar functions seem to be
> static and pre-set.
>
> Ideas?
>
> Thanks!
> david.
Prev by Date:
Re: Real time sound processing?
Next by Date:
Typing Formula Steps in a Grid
Previous by thread:
Re: Real time sound processing?
Next by thread:
Listplot with appendto list
|