{"id":5921,"date":"2025-03-25T16:34:48","date_gmt":"2025-03-25T07:34:48","guid":{"rendered":"https:\/\/blog.criware.com\/?p=5921"},"modified":"2025-08-06T17:32:16","modified_gmt":"2025-08-06T08:32:16","slug":"playing-sounds-between-scenes","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/","title":{"rendered":"Playing sounds between scenes"},"content":{"rendered":"<p>In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing.\u00a0 In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room.<\/p>\n<p>However, if the clearing or the next room are designed as different scenes in Unity, the audio object assuring the playback will be released when switching to the next scene, and the audio continuity will be lost. In the case of the creaking door, the sound will be cut off midway!<\/p>\n<p>In this article, we will demonstrate how we can keep that creepy door sound playing without interruption. <\/p>\n<div style=\"max-width: 700px; margin: 0 auto;\">\n<div style=\"width: 800px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-5921-1\" width=\"800\" height=\"419\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/blog-video.mp4?_=1\" \/><a href=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/blog-video.mp4\">https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/blog-video.mp4<\/a><\/video><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Basically, this is achieved by selecting the &#8220;Don&#8217;t Destroy On Load&#8221; option for sound playback objects such as the CRIWARE Library Initializer and CRIWARE Error Handler, prefabricating them, and using them in multiple game scenes.<\/p>\n<p>In this example, we created a DoorSoundManager singleton to help us keep the door sound playing between the rooms\/scenes.<\/p>\n<p>Here are the details:<\/p>\n<h2 style=\"font-size: 18px; padding-left: 10px; border-left: 6px solid #000;\">Singleton implementation<\/h2>\n<ul>\n<li>The DoorSound class is designed as a singleton and can be accessed from anywhere via the Instance property.<\/li>\n<li>The Awake method manages instances and destroys duplicate objects.<\/li>\n<\/ul>\n<h2 style=\"font-size: 18px; padding-left: 10px; border-left: 6px solid #000;\">CriAtomSource component<\/h2>\n<ul>\n<li>The AttachCriAtomSource method dynamically adds a CriAtomSource component and sets the CueSheet and Cue names.<\/li>\n<\/ul>\n<h2 style=\"font-size: 18px; padding-left: 10px; border-left: 6px solid #000;\">Sound playback<\/h2>\n<ul>\n<li>The PlayDoorSound method can be used to play the sound with the specific CueSheet and Cue names.<\/li>\n<\/ul>\n<pre style=\"width: 94%; margin-bottom: 0px; padding-bottom: 40px;\"><code class=\"hljs php\">\r\nusing CriWare;\r\nusing UnityEngine;\r\n\r\npublic class DoorSound : MonoBehaviour\r\n{\r\n    \/\/ Singleton instance\r\n    public static DoorSound Instance { get; private set; }\r\n\r\n    private CriAtomSource criAtomSource;\r\n\r\n    void Awake()\r\n    {\r\n        \/\/ Initialize singleton\r\n        if (Instance == null)\r\n        {\r\n            Instance = this;\r\n            DontDestroyOnLoad(gameObject); \/\/ Make the object persistent\r\n        }\r\n        else\r\n        {\r\n            Destroy(gameObject); \/\/ Destroy duplicate instance\r\n            return; \/\/ Do not execute further\r\n        }\r\n\r\n        \/\/ Dynamically attach CriAtomSource\r\n        AttachCriAtomSource();\r\n    }\r\n\r\n    private void AttachCriAtomSource()\r\n    {\r\n        \/\/ Add CriAtomSource component\r\n        criAtomSource = gameObject.AddComponent<CriAtomSource>();\r\n\r\n        if (criAtomSource != null)\r\n        {\r\n            Debug.Log(\"CriAtomSource has been successfully attached.\");\r\n\r\n            \/\/ Set default settings if needed (e.g., specify CueSheet name)\r\n            criAtomSource.cueSheet = \"\";\r\n            criAtomSource.cueName = \"\";\r\n        }\r\n        else\r\n        {\r\n            Debug.LogError(\"Failed to attach CriAtomSource!\");\r\n        }\r\n    }\r\n\r\n    public void PlayDoorSound(string cueSheet, string cueName)\r\n    {\r\n        if (criAtomSource != null)\r\n        {\r\n            \/\/ Set CueSheet\r\n            criAtomSource.cueSheet = cueSheet;\r\n\r\n            \/\/ Play with the specified CueName\r\n            criAtomSource.Play(cueName);\r\n        }\r\n        else\r\n        {\r\n            Debug.LogError(\"CriAtomSource is not set.\");\r\n        }\r\n    }\r\n}\r\n\r\n<\/code><\/pre>\n<p>As for the door itself, here is how it is handled:<\/p>\n<ul>\n<li>We gave the door object an opening animation<\/li>\n<li>When you click on the door on the game screen, the sound playback function of the DoorSoundManager singleton is called, and after one second, the game transitions to the next room\/scene.<\/li>\n<\/ul>\n<p>Below is the part of the audio code attached to the door object:<\/p>\n<pre style=\"width: 94%; margin-bottom: 0px; padding-bottom: 40px;\"><code class=\"hljs php\">\r\n\/\/ cueSheet and cueName in the Inspector\r\npublic string cueSheet;\r\npublic string cueName;\r\n\r\n\u2026\u2026\r\n\r\n\/\/ calling the DoorSound playback\r\nDoorSound.Instance.PlayDoorSound(cueSheet, cueName);\r\n<\/code><\/pre>\n<p>By calling DoorSound.Instance.PlayDoorSound, the game object creates the singleton that can be accessed from any scene, and all that is left to do is to pass the right CueSheet names and Cue names to the PlayDoorSound function. For example, you could prepare several sounds for doors of various sizes and materials, and select the right one based on the player\u2019s location.<\/p>\n<p>To learn more about maintaining sound continuity when switching between scenes, we recommend referring to these two pages of the official documentation for further details:<\/p>\n<p><a href=\"https:\/\/game.criware.jp\/manual\/unity_plugin_en\/latest\/contents\/cri4u_samples_criatom_script_over_scene_sound.html\">https:\/\/game.criware.jp\/manual\/unity_plugin_en\/latest\/contents\/cri4u_samples_criatom_script_over_scene_sound.html<\/a><\/p>\n<p><a href=\"https:\/\/game.criware.jp\/manual\/unity_plugin_en\/latest\/contents\/cri4u_samples_criatom_script_over_scene_everywhere.html\">https:\/\/game.criware.jp\/manual\/unity_plugin_en\/latest\/contents\/cri4u_samples_criatom_script_over_scene_everywhere.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in<\/p>\n","protected":false},"author":2,"featured_media":5925,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[5,7,23],"tags":[],"class_list":["post-5921","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adx","category-tutorials","category-unity"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"criware\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\n\t\t<!-- Google tag (gtag.js) --> <script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-3KHVJQ0K75\"><\/script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3KHVJQ0K75'); <\/script>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"CRI Middleware Blog - Unleash creativity, boost productivity.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Playing sounds between scenes - CRI Middleware Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-03-25T07:34:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-08-06T08:32:16+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Playing sounds between scenes - CRI Middleware Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#blogposting\",\"name\":\"Playing sounds between scenes - CRI Middleware Blog\",\"headline\":\"Playing sounds between scenes\",\"author\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Blog-Picture-20250325_PlayingSoundsBetweenScenes.png\",\"width\":800,\"height\":445},\"datePublished\":\"2025-03-25T16:34:48+09:00\",\"dateModified\":\"2025-08-06T17:32:16+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#webpage\"},\"articleSection\":\"ADX, Tutorials, Unity\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.criware.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/adx\\\/#listItem\",\"name\":\"ADX\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/adx\\\/#listItem\",\"position\":2,\"name\":\"ADX\",\"item\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/adx\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#listItem\",\"name\":\"Playing sounds between scenes\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#listItem\",\"position\":3,\"name\":\"Playing sounds between scenes\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/category\\\/adx\\\/#listItem\",\"name\":\"ADX\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\",\"name\":\"CRI Middleware Blog\",\"description\":\"Unleash creativity, boost productivity.\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/CRI-Blog_Title-banner_03.png\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#organizationLogo\",\"width\":262,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/\",\"name\":\"criware\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#webpage\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/\",\"name\":\"Playing sounds between scenes - CRI Middleware Blog\",\"description\":\"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/author\\\/crich2_admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Blog-Picture-20250325_PlayingSoundsBetweenScenes.png\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#mainImage\",\"width\":800,\"height\":445},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/index.php\\\/2025\\\/03\\\/25\\\/playing-sounds-between-scenes\\\/#mainImage\"},\"datePublished\":\"2025-03-25T16:34:48+09:00\",\"dateModified\":\"2025-08-06T17:32:16+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.criware.com\\\/\",\"name\":\"CRI Middleware Blog\",\"description\":\"Unleash creativity, boost productivity.\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.criware.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Playing sounds between scenes - CRI Middleware Blog","description":"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next","canonical_url":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":"&lt;!-- Google tag (gtag.js) --&gt; &lt;script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-3KHVJQ0K75\"&gt;&lt;\/script&gt; &lt;script&gt; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3KHVJQ0K75'); &lt;\/script&gt;"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#blogposting","name":"Playing sounds between scenes - CRI Middleware Blog","headline":"Playing sounds between scenes","author":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"publisher":{"@id":"https:\/\/blog.criware.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/Blog-Picture-20250325_PlayingSoundsBetweenScenes.png","width":800,"height":445},"datePublished":"2025-03-25T16:34:48+09:00","dateModified":"2025-08-06T17:32:16+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#webpage"},"isPartOf":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#webpage"},"articleSection":"ADX, Tutorials, Unity"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.criware.com#listItem","position":1,"name":"Home","item":"https:\/\/blog.criware.com","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/adx\/#listItem","name":"ADX"}},{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/adx\/#listItem","position":2,"name":"ADX","item":"https:\/\/blog.criware.com\/index.php\/category\/adx\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#listItem","name":"Playing sounds between scenes"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#listItem","position":3,"name":"Playing sounds between scenes","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.criware.com\/index.php\/category\/adx\/#listItem","name":"ADX"}}]},{"@type":"Organization","@id":"https:\/\/blog.criware.com\/#organization","name":"CRI Middleware Blog","description":"Unleash creativity, boost productivity.","url":"https:\/\/blog.criware.com\/","logo":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#organizationLogo","width":262,"height":81},"image":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author","url":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/","name":"criware"},{"@type":"WebPage","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#webpage","url":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/","name":"Playing sounds between scenes - CRI Middleware Blog","description":"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/blog.criware.com\/#website"},"breadcrumb":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#breadcrumblist"},"author":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"creator":{"@id":"https:\/\/blog.criware.com\/index.php\/author\/crich2_admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2025\/03\/Blog-Picture-20250325_PlayingSoundsBetweenScenes.png","@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#mainImage","width":800,"height":445},"primaryImageOfPage":{"@id":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/#mainImage"},"datePublished":"2025-03-25T16:34:48+09:00","dateModified":"2025-08-06T17:32:16+09:00"},{"@type":"WebSite","@id":"https:\/\/blog.criware.com\/#website","url":"https:\/\/blog.criware.com\/","name":"CRI Middleware Blog","description":"Unleash creativity, boost productivity.","inLanguage":"en-GB","publisher":{"@id":"https:\/\/blog.criware.com\/#organization"}}]},"og:locale":"en_GB","og:site_name":"CRI Middleware Blog - Unleash creativity, boost productivity.","og:type":"article","og:title":"Playing sounds between scenes - CRI Middleware Blog","og:description":"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next","og:url":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/","og:image":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","og:image:secure_url":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png","article:published_time":"2025-03-25T07:34:48+00:00","article:modified_time":"2025-08-06T08:32:16+00:00","twitter:card":"summary_large_image","twitter:title":"Playing sounds between scenes - CRI Middleware Blog","twitter:description":"In adventure games, the heroes explore many different locations. For instance, while walking in the forest, they could emerge in a magical clearing. In horror games, it is common for a door to slowly open and make a creaking sound as the player moves into the next room. However, if the clearing or the next","twitter:image":"https:\/\/blog.criware.com\/wp-content\/uploads\/2021\/08\/CRI-Blog_Title-banner_03.png"},"aioseo_meta_data":{"post_id":"5921","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2025-03-25 06:07:52","updated":"2025-08-06 08:38:01","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.criware.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.criware.com\/index.php\/category\/adx\/\" title=\"ADX\">ADX<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPlaying sounds between scenes\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.criware.com"},{"label":"ADX","link":"https:\/\/blog.criware.com\/index.php\/category\/adx\/"},{"label":"Playing sounds between scenes","link":"https:\/\/blog.criware.com\/index.php\/2025\/03\/25\/playing-sounds-between-scenes\/"}],"_links":{"self":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/5921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/comments?post=5921"}],"version-history":[{"count":12,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/5921\/revisions"}],"predecessor-version":[{"id":5935,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/5921\/revisions\/5935"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/5925"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=5921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=5921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=5921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}