Help Contents / Sound programming / PC speaker / Sounds

Sounds frequencyDurationList
(Sound frequencies durations)

command that starts a new thread that plays the frequencies in either the frequencyDurationList [frequency1 duration1 frequency2 duration2 ...] or from the two lists frequencies and durations. durations can also be one number. 

Examples: 

	Sounds [440 400 880 300 1760 200] 
	(Sounds [440 880 1760] [400 300 200]) 
	(Sounds [440 880 1760] 400) 
	(Sounds (se 
		rSeq 20 10000 100 
		rSeq 10000 20 100) 10) 
	(Sounds (sin rSeq 0 15*360 200)*4000+4000  10) 
	waitMS 2000 
	(Sounds (sin rSeq 0 3*360 200)*1000+1000  10) 


previous: Sound	next: SoundsStop
