MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Minor bug in the Documentation Centre interface
  • Next by Date: Re: rule based program for "Deleting repeated members of a list."
  • Previous by thread: Play rests using Mathematica MIDI
  • Next by thread: Re: Play rests using Mathematica MIDI