{"id":909,"date":"2018-04-05T10:49:10","date_gmt":"2018-04-05T10:49:10","guid":{"rendered":"http:\/\/procedural-audio.com\/blog\/?p=909"},"modified":"2022-01-06T10:54:36","modified_gmt":"2022-01-06T10:54:36","slug":"using-samples-in-gamesynth","status":"publish","type":"post","link":"http:\/\/procedural-audio.com\/blog\/2018\/04\/05\/using-samples-in-gamesynth\/","title":{"rendered":"Using Samples in GameSynth"},"content":{"rendered":"<p>Thanks to the large number of audio processing modules available in its visual patching environment, GameSynth is the perfect tool for sample mangling! Moreover, by mixing both synthesis and sample manipulation, you can create truly amazing sounds. In this post, we will see how you can process existing recordings to create voice effects, play them in sync to simulate firing weapons or even perform granular synthesis!<\/p>\n<p>(All the patches described below are either presets from GameSynth or will be available for download shortly.)<br \/>\n&nbsp;<\/p>\n<h3>Example 1: Creating voice effects<\/h3>\n<p>All you need to create sample-based sound effects in GameSynth\u2019s visual patching environment is a Sample Player module. Simply connect it to an Output module, and voil\u00e0! You are already playing a sample and you can adjust its amplitude and playback speed, make it loop or trigger it in rhythm.<\/p>\n<p>From here, the possibilities are endless. For example, let\u2019s create some voice effects! What about a robot? Simply add a Vocoder or a Ring Modulator module and you are all set! In the Vocoder, you can change the number of bands at will, their magnitude and the type of carrier signal.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-919\" src=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-1.png\" alt=\"20180405-1\" width=\"640\" height=\"342\" srcset=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-1.png 869w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-1-150x80.png 150w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-1-300x160.png 300w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-1-768x410.png 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Of course, you can add many other effect modules such as EQ, Flanger, Chorus, Pitch Shifter, Reverb, Delay, Saturator etc\u2026 and modulate their parameters with LFOs, envelopes and more\u2026 Would you prefer a creature voice? Ok, let\u2019s convolve your voice with an animal growl&#8230; Or maybe you need a radio transmission effect for your game? Easy! Add a Degrader module, adjust the decimation and downsampling parameters, and mix the output with a bit of noise\u2026<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-918\" src=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-2.png\" alt=\"20180405-2\" width=\"640\" height=\"371\" srcset=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-2.png 785w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-2-150x87.png 150w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-2-300x174.png 300w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-2-768x445.png 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>You can add as many modules as you want to create rich, evolving, and out-of-this-world vocals with GameSynth. And that\u2019s not even mentioning the <a href=\"http:\/\/procedural-audio.com\/blog\/2017\/09\/14\/voicefx-is-back\/\">upcoming free VoiceFX model<\/a>!<br \/>\n&nbsp;<\/p>\n<h3>Example 2: Combining samples for weapon sounds<\/h3>\n<p>You can of course add more than one Sample Player module to your patch. GameSynth offers all the modules necessary to play them simultaneously as layers or to sequence them.<\/p>\n<p>For example, the patch below recreates the firing sequence of a weapon.\u00a0 At the top, the combination of the Sequencer and Switch modules allows us to trigger different generators following a precise timeline. In this case, different parts of the weapon are simulated as well as the firing itself.<\/p>\n<p>A second branch of the patch creates the metallic impact sounds coming from the casing. As you can see, in this patch we are combining sample playback with synthesis (for both the firing and the modal resonance of the casing).<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-917\" src=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-3.png\" alt=\"20180405-3\" width=\"640\" height=\"626\" srcset=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-3.png 772w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-3-150x147.png 150w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-3-300x293.png 300w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-3-768x751.png 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>To conclude, the casing impacts are delayed by a Time Shifter module as they happen after the shot and several audio processors have been added to shape the final sound, such as reverberations and a graphic equalizer.<\/p>\n<p>Of course, one of the advantages of GameSynth is that most parameters in this patch can be controlled in real-time based on what is actually happening in the game. The patch itself can communicate back to the game (for example when one of the parts of the weapon has finished paying) through GameSynth\u2019s event system.<br \/>\n&nbsp;<\/p>\n<h3>Example 3: Granular synthesis<\/h3>\n<p>The visual patching environment of GameSynth also offers a Granular Player module. As its name indicates, this module is perfect to perform granular synthesis. Indeed, it allows you to select many samples and to assign a weight to them. Every time the trigger input of the module is activated, a new grain will be started, whose waveform will be randomly selected according to the weights.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-916\" src=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-4.png\" alt=\"20180405-4\" width=\"297\" height=\"453\" srcset=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-4.png 297w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-4-150x229.png 150w\" sizes=\"(max-width: 297px) 100vw, 297px\" \/><\/p>\n<p>In addition, the amplitude, tuning, duration and starting position of the grain in the waveform can be adjusted. If the playback reaches the end of a waveform and the grain is not finished playing, the looping option allows the playback to jump back to the start of the waveform.<\/p>\n<p>By triggering the grains periodically (for example with a loop in the Sequencer module) or more randomly (for example with a Distribution module), you can either perform synchronous or asynchronous granular synthesis. Many types of interesting sounds can be generated this way, from falling rocks, to fire, water or even crowds.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-915\" src=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-5.png\" alt=\"20180405-5\" width=\"839\" height=\"362\" srcset=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-5.png 839w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-5-150x65.png 150w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-5-300x129.png 300w, http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2018\/04\/20180405-5-768x331.png 768w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/p>\n<p>Also don\u2019t forget that, as we have seen in a <a href=\"http:\/\/procedural-audio.com\/blog\/2018\/03\/19\/creating-sounds-from-analysis\/\">previous blog<\/a>, samples can be analyzed to extract parameters, for example to get an amplitude envelope to drive the Whoosh model or to create a set of resonant modes for the Impact model!<\/p>\n<p><a class=\"gs-learn-more\" href=\"http:\/\/procedural-audio.com\/web\/en\/products-gamesynth.html\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/procedural-audio.com\/blog\/wp-content\/uploads\/2020\/06\/2020_06_Introducing-Modular-Weapons-Modules-banner-1.png\" alt=\"GameSynth\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to the large number of audio processing modules available in its visual patching environment, GameSynth is the perfect tool for sample mangling! Moreover,<\/p>\n","protected":false},"author":1,"featured_media":911,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,15,12],"tags":[],"_links":{"self":[{"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/posts\/909"}],"collection":[{"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/comments?post=909"}],"version-history":[{"count":13,"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/posts\/909\/revisions"}],"predecessor-version":[{"id":4970,"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/posts\/909\/revisions\/4970"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/media\/911"}],"wp:attachment":[{"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/media?parent=909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/categories?post=909"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/procedural-audio.com\/blog\/wp-json\/wp\/v2\/tags?post=909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}