--- title: "BETTER PROGRAMMING!" type: "article" slug: "better-programming-3" url: "http://localhost/article/better-programming-3/" markdown_url: "http://localhost/article/better-programming-3.md" published_at: "2025-02-27T13:13:14+00:00" modified_at: "2026-06-21T23:36:19+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Let's talk about sound effects in programs. It is very important in a game to have good sound effects as well as good graphics. Good sound effects improve the \"quality\" of a game. It makes it more exciting, more \"professional\". It is also important to choose the right effect: a metallic sound for a game…" category: - name: "Byte Power" slug: "byte-power" taxonomy: "category" url: "http://localhost/category/periodicals/byte-power/" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" indiv: - name: "Eric Boisvert" slug: "boisvert-eric" taxonomy: "indiv" url: "http://localhost/indiv/boisvert-eric/" - name: "Kristian Boisvert" slug: "boisvert-kristian" taxonomy: "indiv" url: "http://localhost/indiv/boisvert-kristian/" publication_r: id: 38570 title: "Byte Power 1st Class Magazine" type: "periodical" url: "http://localhost/periodical/byte-power-1st-class/" authors_r: - name: "Eric Boisvert" slug: "boisvert-eric" taxonomy: "indiv" url: "http://localhost/indiv/boisvert-eric/" - name: "Kristian Boisvert" slug: "boisvert-kristian" taxonomy: "indiv" url: "http://localhost/indiv/boisvert-kristian/" issues_articles: - id: 38571 title: "Byte Power Aug 1986" type: "issue" url: "http://localhost/issue/byte-power/" pubdate: "August 1986" archive_link: false article_media: - id: 59148 title: "Music" type: "computer_media" url: "http://localhost/computer_media/music-2/" - id: 59152 title: "Sound" type: "computer_media" url: "http://localhost/computer_media/sound/" --- Let’s talk about sound effects in programs. It is very important in a game to have good sound effects as well as good graphics. Good sound effects improve the “quality” of a game. It makes it more exciting, more “professional”. It is also important to choose the right effect: a metallic sound for a game with robots in it, space sounds for an “Invaders” type of game, etc…This month we will talk about the metallic sound effects. Remember, avoid putting too much sound effects, it tends to be annoying especially sharp notes. Now let’s see how we could make a metallic sound effect. First the effect will need two Channels, one for the main sound and the other to create the effect. The sound effect is created by adding or substracting 1 (or more) to the value of the “FINE” tune of Channel “B”. (SEE CHAPTER “Sound and Music” of your user manual) The following programs are found on the cassette after this magazine. 10 SOUND 7,60;8,15;9,15;0,10;1,5;2,11;3,5 20 PAUSE 0 This program can be modified to play music: 10 FOR z=1 TO 18: READ a,b,c 20 SOUND 7,60;8,15;9,15;0,a;1,b;2,a+2;3,b 30 PAUSE 10*c:SOUND 8,0;9,0: NEXT z: STOP 40 DATA 92,4,4,…,… There is also another program on the cassette, same as the first one but with moving graphics. Well that’s it for this month, join us for chapter 2 of the SOUND EFFECTS. We will discuss about sound effects using the envelope generator.