--- title: "Sound Experimentor (QL)" id: 77520 type: "computer_media" slug: "sound-experimentor-ql" url: "http://localhost/computer_media/sound-experimentor-ql/" markdown_url: "http://localhost/computer_media/sound-experimentor-ql.md" published_at: "2026-11-15T18:38:15+00:00" modified_at: "2026-11-15T18:38:15+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Try out all eight parameters of the QL's BEEP command and hear the result." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "QL" slug: "ql" taxonomy: "post_tag" url: "http://localhost/tag/ql/" model: - name: "Sinclair QL" slug: "sinclair-ql" taxonomy: "model" url: "http://localhost/model/sinclair-ql/" indiv: - name: "Rob Miles" slug: "rob-miles" taxonomy: "indiv" url: "http://localhost/indiv/rob-miles/" genre: - name: "Sound" slug: "sound" taxonomy: "genre" url: "http://localhost/type/sound/" media_type: "Diskette" programmers: - name: "Rob Miles" slug: "rob-miles" taxonomy: "indiv" url: "http://localhost/indiv/rob-miles/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Sound%20Experimentor%20%28QL%29%20%281987%29%28Miles%2C%20Rob%29%28Sinclair%20QL%29%28UK%29%28Program%29.zip" mediadate: "1987" article_media: - id: 42111 title: "QL Shorts" type: "article" url: "http://localhost/article/ql-shorts/" media_type_tags: "Sound" license: false --- # Sound Experimentor (QL) A quick way to explore the QL’s BEEP command, whose eight parameters are hard to guess. The program asks in turn for the duration, pitch, second pitch, x and y gradients, wrap, fuzziness and randomness, prints the resulting BEEP statement and plays it; press a key to go round again. Pressing ENTER at a prompt keeps the current value. The REM lines read “QL User – Beep experiment” and “Rob Miles 1985”, so it most likely first appeared in the British magazine QL User in 1985. The title has (QL) added because a TS2068 program called Sound Experimentor is already in the archive. Published in Sinc-Link July-August 1987 ([QL Shorts](https://timexsinclair.com/article/ql-shorts/)). ## Source Code ``` 100 REMark **** QL User -Beep experiment 110 REMark **** Rob Miles 1985 120 duration=5000:pitch=100:pitch_2=0:grad_x=0:grad_y=0:wrap=0:fuzzy=0:random=0 130 REPeat sounder 140 CLS 150 set "Duration (-32768..32767) ?",duration,2 160 set "Pitch (0..255) ?",pitch,4 170 set "Pitch_2 (0..255) ?",pitch_2,6 180 set "Grad_x (-32768..15) ?",grad_x,8 190 set "Grad_y (-8..7) ?",grad_y,10 200 set "Wrap (0..32767) ?",wrap,12 210 set "Fuzzy (0..15) ?",fuzzy,14 220 set "Random (0..15) ?",random,16 230 AT 18,0:PRINT "Beep ";duration;",";pitch;",";pitch_2;",";grad_x;",";grad_y;",";wrap;",";fuzzy;",";random 240 BEEP duration,pitch,pitch_2,grad_x,grad_y,wrap,fuzzy,random 250 dum$=INKEY$(-1) 260 END REPeat sounder 270 DEFine PROCedure set (name$,var,position) 280 LOCal buf$ 290 AT position,0:PRINT name$;" ";var 300 AT position,0:PRINT name$;" "; 310 INPUT buf$ 320 IF buf$<>"" THEN var=buf$ 330 AT position,0:PRINT name$;" ";var;" " 340 END DEFine set ```