{"id":881,"date":"2026-02-13T08:52:11","date_gmt":"2026-02-13T00:52:11","guid":{"rendered":"https:\/\/edu.circuspi.com\/?p=881"},"modified":"2026-03-09T15:40:15","modified_gmt":"2026-03-09T07:40:15","slug":"6-2-adding-game-level-sound-effects","status":"publish","type":"post","link":"https:\/\/edu.circuspi.com\/index.php\/gamebit-en\/6-2-adding-game-level-sound-effects\/","title":{"rendered":"6.2 Adding Game Level Sound Effects"},"content":{"rendered":"\n<p>With a cool background in place, let&#8217;s try adding sound effects. In the <strong>Block Toolbox<\/strong>, there is a &#8220;<strong>Music<\/strong>&#8221; category. Besides the preset sound blocks, you can also customize your own sounds.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"740\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_01.png\" alt=\"\" class=\"wp-image-1153\"\/><\/figure>\n\n\n\n<p>Regarding built-in sounds, feel free to experiment with them. They are mainly divided into three playback modes: &#8220;<strong>Play<\/strong>&#8221; (trigger and play from start), &#8220;<strong>Play until done<\/strong>&#8221; (wait until finished before proceeding), and &#8220;<strong>Looping<\/strong>&#8221; (play continuously).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"740\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_02.png\" alt=\"\" class=\"wp-image-1154\"\/><\/figure>\n\n\n\n<p>Here, we will teach you how to compose your own music. After all, the number of preset sounds is limited and might not meet everyone&#8217;s needs. There are two common blocks to help you create music, as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"602\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_03.png\" alt=\"\" class=\"wp-image-1155\"\/><\/figure>\n\n\n\n<p>First, let&#8217;s explain the &#8220;<strong>play melody&#8230;<\/strong>&#8221; block. The first field allows you to compose the &#8220;<strong>Melody<\/strong>,&#8221; and the second field sets the &#8220;<strong>Tempo<\/strong>&#8221; (bpm). The pop-up editor is very user-friendly; simply click on the grid to compose a melody. There is also a <strong>Gallery<\/strong> to choose from, and a play button at the bottom to listen to your creation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"774\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_04.png\" alt=\"\" class=\"wp-image-1156\"\/><\/figure>\n\n\n\n<p>How is it? Isn&#8217;t it fun?<\/p>\n\n\n\n<p>However, this melody block has a drawback: it doesn&#8217;t have a built-in function to repeat in the background. Once composed, it can only be used as a standard sound effect, which is a pity.<\/p>\n\n\n\n<p>This is where the second block, &#8220;<strong>start song&#8230;<\/strong>&#8221; (or <strong>play song<\/strong>), comes in. This block includes a background looping function, allowing you to toggle whether it plays on a loop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"708\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_05.png\" alt=\"\" class=\"wp-image-1157\"\/><\/figure>\n\n\n\n<p>Similarly, click on the first setting option of the block. It also has a convenient editor, but it doesn&#8217;t have a ready-made Gallery to use. The sounds are similar to synthesizer effects. <strong>Usage:<\/strong> Select a &#8220;<strong>Sound Option<\/strong>&#8221; from the top row (e.g., the <strong>Duck<\/strong> icon), and left-click on the &#8220;<strong>Staff<\/strong>&#8221; below at the position where you want the sound to play.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"798\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_06.png\" alt=\"\" class=\"wp-image-1158\"\/><\/figure>\n\n\n\n<p>If you want a more standard tone, you can choose the <strong>Dog<\/strong> icon (third from the left). The Duck is very suitable for a spooky atmosphere, fitting perfectly with the background we just set.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"547\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_07.jpg\" alt=\"\" class=\"wp-image-1159\"\/><\/figure>\n\n\n\n<p>After setting up your background music, don&#8217;t forget to set &#8220;<strong>looping<\/strong>&#8221; to &#8220;<strong>true<\/strong>&#8221; (check the box) in the block settings so the sound effect plays continuously!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"602\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f106-2_08.png\" alt=\"\" class=\"wp-image-1160\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>With a cool background in place, let&#8217;s try adding [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":375,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,23],"tags":[],"table_tags":[],"class_list":{"0":"post-881","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-gamebit-en","8":"category-freeinfo-en","9":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=881"}],"version-history":[{"count":2,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/881\/revisions"}],"predecessor-version":[{"id":1163,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/881\/revisions\/1163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/375"}],"wp:attachment":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=881"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}