home *** CD-ROM | disk | FTP | other *** search
- 10 (NULL)
- 20 print"[147]pulse width sweep demonstration"
- 21 print"try small step sizes for best results"
- 23 print"this uses three voices with a slight "
- 24 print"pitch difference between them"
- 25 print"hold space bar to restart"
- 26 print""
- 30 input"step size";sp
- 40 ifsp<1then:goto20
- 50 input"frequency";fq
- 60 iffq<300then:goto50
- 70 (NULL)15
- 80 fori=1to3:(NULL) i,9,240
- 90 (NULL) i,65
- 100 nexti
- 110 (NULL) 1,fq:(NULL) 2,fq+30:(NULL) 3,fq-30
- 120 rem sweep pulse wave
- 130 for i=1 to 4096 step sp
- 140 forv=1to3
- 150 (NULL) v,i
- 160 nextv
- 170 geta$:ifa$=chr$(32)thenrun
- 180 nexti
- 190 goto130
-