converting sequences to music - help needed

Jeremy Gardiner jeremy.gardiner at btinternet.com
Mon Apr 26 20:04:14 CEST 2004


The following requires Chipmunk Basic for MacOS,
downloadable here:

http://www.nicholson.com/rhn/basic/

Please let me know if this is in any way helpful!

Jeremy Gardiner

100 rem fractal music
110 rem written for iMac in Chipmunk BASIC
120 rem copyright (c) 2000 J. C. Gardiner
130 cls
140 call wintitle,"Fractal Music"
150 rem graphics window  x, y, width, height
160 graphics window 30,280,530,150
170 x = 10
180 y = 140
190 moveto x,y
200 dim scale(8)
210 scale(1) = 261.6
220 scale(2) = 293.7
230 scale(3) = 329.6
240 scale(4) = 349.2
250 scale(5) = 392
260 scale(6) = 440
270 scale(7) = 493.9
280 scale(8) = 523.3
290 g(8)
300 print ""
310 stop
320 function g(n)
330 if n > 1 then g(n-1)
340 rem plot fractal in graphics window
350 lineto x,y-15*n
360 x = x+2
370 moveto x,y
380 rem sound frequency, duration, volume
390 print n;
400 sound 1*scale(n),0.4,100
410 if n > 1 then g(n-1)
420 return
430 end

From: "N. J. A. Sloane" <njas at research.att.com>
Reply-To: njas at research.att.com
Date: Mon, 26 Apr 2004 13:15:42 -0400 (EDT)
To: seqfan at ext.jussieu.fr
Subject: converting sequences to music - help needed

Does any seqfan know about synthesizing music?

I would like to convert certain sequences to music,
to hear what they sound like.

Thanks!  Neil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.seqfan.eu/pipermail/seqfan/attachments/20040426/379b143b/attachment-0001.htm>


More information about the SeqFan mailing list