Re: Play rests using Mathematica MIDI
- To: mathgroup at smc.vnet.net
- Subject: [mg81977] Re: Play rests using Mathematica MIDI
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Mon, 8 Oct 2007 00:05:19 -0400 (EDT)
- References: <fea9lr$k5i$1@smc.vnet.net>
mumat wrote:
> Hi,
>
> I am writing a music using MIDI mathematica. How can I play a rest,
> say for t=1 sec?
>
> rest[t_]:=Sound[0,{x,0,t}];
>
>
> Is that possible to do it with the SoundNote function.
>
>
> Sound[SoundNote[Null],t]
>
> doesn't work.
Don't guess, check the documentation! It is SoundNote[None, duration]
>
> Any help would be greatly appreciated.
>
> CS
--
Szabolcs