{"id":2111,"date":"2018-12-25T09:50:57","date_gmt":"2018-12-25T00:50:57","guid":{"rendered":"https:\/\/blog.criware.com\/?p=2111"},"modified":"2018-12-25T10:07:27","modified_gmt":"2018-12-25T01:07:27","slug":"creating-a-turntable-stopstart-effect-in-atom-craft-3","status":"publish","type":"post","link":"https:\/\/blog.criware.com\/index.php\/2018\/12\/25\/creating-a-turntable-stopstart-effect-in-atom-craft-3\/","title":{"rendered":"Creating a Turntable Stop\/Start Effect in Atom Craft 3"},"content":{"rendered":"<p>It can be quite jarring when music suddenly stop between game states, such as when entering the settings menus or a player\u2019s inventory. Using the features of Atom Craft 3, we can quickly create some logic which will simulate the sound of a vinyl record quickly dropping in pitch and volume as it slows down to stop spinning; which can also help sell the idea that motion has stopped for the player (if applicable). To do this:<\/p>\n<ul>\n<li>Create a Cue and add some music to it<\/li>\n<li>Create a new Cue and name it Music_Pause<\/li>\n<li>Add two Action Tracks to the Music_Pause Cue, and name them Pitch and Volume<\/li>\n<li>Drag the music Cue from the WorkUnits Tree onto the two Action Tracks to link them<\/li>\n<li>Create a Parameter Action at the beginning of each Action Track<\/li>\n<li>For the PlaybackParam on the Pitch Action Track in the Inspector set:\n<ul>\n<li>Type of playback parameter = Pitch<\/li>\n<li>Target Parameter value = -2400<\/li>\n<li>Rate of value change = 4800<\/li>\n<\/ul>\n<\/li>\n<li>For the PlaybackParam on the Volume Track in the Inspector set:\n<ul>\n<li>Type of playback parameter = Volume<\/li>\n<li>Target Parameter value = 0<\/li>\n<li>Rate of value change = 2<\/li>\n<\/ul>\n<\/li>\n<li>Create a Pause Action and place it on either track, after the Parameter Actions<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2115\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/1_SlowPause.png\" alt=\"1_SlowPause\" width=\"828\" height=\"302\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/1_SlowPause.png 828w, https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/1_SlowPause-300x109.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/1_SlowPause-768x280.png 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/p>\n<p>You should now have a pause Cue that looks something like the above screenshot.<\/p>\n<p>Next, to create the resume logic:<\/p>\n<ul>\n<li>Duplicate the Music_Pause Cue in the WorkUnits Tree, and rename it to Music_Resume<\/li>\n<li>Change the order of the Parameter Actions so that the Resume Action comes first<\/li>\n<li>For the PlaybackParam on the Pitch Action Track in the Inspector set:\n<ul>\n<li>Target Parameter value = 0<\/li>\n<\/ul>\n<\/li>\n<li>For the PlaybackParam on the Volume Track in the Inspector set:\n<ul>\n<li>Target Parameter value = 1<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2116\" src=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/2_SlowPause.png\" alt=\"2_SlowPause\" width=\"828\" height=\"302\" srcset=\"https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/2_SlowPause.png 828w, https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/2_SlowPause-300x109.png 300w, https:\/\/blog.criware.com\/wp-content\/uploads\/2018\/12\/2_SlowPause-768x280.png 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/p>\n<p>Now, if you play your Music Cue, you should be able to select the Music_Pause Cue and \u201cplay\u201d that to initiate the pausing logic that we have just created. You can then resume at any time by conversely \u201cplaying\u201d the Music_Resume Cue. Experiment with the values and sequencing to get an effect that is sympathetic to the pacing and style of your game.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It can be quite jarring when music suddenly stop between game states, such as when entering the settings menus or<\/p>\n","protected":false},"author":2,"featured_media":2120,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[5,7],"tags":[],"class_list":["post-2111","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adx","category-tutorials"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/2111","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=2111"}],"version-history":[{"count":3,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/2111\/revisions"}],"predecessor-version":[{"id":2117,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/posts\/2111\/revisions\/2117"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media\/2120"}],"wp:attachment":[{"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/media?parent=2111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/categories?post=2111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.criware.com\/index.php\/wp-json\/wp\/v2\/tags?post=2111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}