<HTML>
<HEAD>
<TITLE>Re: converting sequences to music - help needed</TITLE>
</HEAD>
<BODY>
The following requires Chipmunk Basic for MacOS,<BR>
downloadable here:<BR>
<BR>
http://www.nicholson.com/rhn/basic/<BR>
<BR>
Please let me know if this is in any way helpful!<BR>
<BR>
Jeremy Gardiner<BR>
<BR>
100 rem fractal music<BR>
110 rem written for iMac in Chipmunk BASIC<BR>
120 rem copyright (c) 2000 J. C. Gardiner<BR>
130 cls<BR>
140 call wintitle,"Fractal Music"<BR>
150 rem graphics window  x, y, width, height<BR>
160 graphics window 30,280,530,150<BR>
170 x = 10<BR>
180 y = 140<BR>
190 moveto x,y<BR>
200 dim scale(8)<BR>
210 scale(1) = 261.6<BR>
220 scale(2) = 293.7<BR>
230 scale(3) = 329.6<BR>
240 scale(4) = 349.2<BR>
250 scale(5) = 392<BR>
260 scale(6) = 440<BR>
270 scale(7) = 493.9<BR>
280 scale(8) = 523.3<BR>
290 g(8)<BR>
300 print ""<BR>
310 stop<BR>
320 function g(n)<BR>
330 if n > 1 then g(n-1)<BR>
340 rem plot fractal in graphics window<BR>
350 lineto x,y-15*n<BR>
360 x = x+2<BR>
370 moveto x,y<BR>
380 rem sound frequency, duration, volume<BR>
390 print n;<BR>
400 sound 1*scale(n),0.4,100<BR>
410 if n > 1 then g(n-1)<BR>
420 return<BR>
430 end<BR>
<BLOCKQUOTE><BR>
From: "N. J. A. Sloane" <njas@research.att.com><BR>
Reply-To: njas@research.att.com<BR>
Date: Mon, 26 Apr 2004 13:15:42 -0400 (EDT)<BR>
To: seqfan@ext.jussieu.fr<BR>
Subject: converting sequences to music - help needed<BR>
<BR>
Does any seqfan know about synthesizing music?<BR>
<BR>
I would like to convert certain sequences to music,<BR>
to hear what they sound like.<BR>
<BR>
Thanks!  Neil<BR>
</BLOCKQUOTE>
</BODY>
</HTML>