Erik Zimmermann Posted August 23, 2022 Share Posted August 23, 2022 Hallo, i try to make a Rimshot or Tom Sound for drumbeat. How can me help me? Bye Erik Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted August 23, 2022 Share Posted August 23, 2022 (edited) 4 hours ago, Erik Zimmermann said: Hallo, i try to make a Rimshot or Tom Sound for drumbeat. How can me help me? Bye Erik A simple way to get more complex sounds: Set a variable with a value. When that variable is not some value, play the sound and decrement/increment the variable, otherwise set the volume to zero for that audio channel. Use other conditionals ("if" statements) to alter the sound under certain conditions. Do a drawscreen at some point in your code to delay things enough so that you can hear the sound. That will allow you to do a drum sound: Often you want the frequency to decrease over a short period of time that the sound is played. You can use a conditional to use a different control value for the "hit" of the drum. For tom you may want something closer to a sine or square wave maybe (?); the "pure lower" AUDCx value 4 or 12 may be good. A rimshot may involve AUDCx 8 (white noise), either to simulate the reverberation of the snare of a snare drum or just because it's noise. Or, instead, you could: Create a data object with values. Use those values to set AUDCx, AUDFx, AUDVx. Increment the index of the array and stop and set AUDVx to 0 when finished. Do a drawscreen at some point in your code to delay things enough so that you can hear the sound. Sorry- that's not specifically answering your question, but hopefully it helps some. Also, here is a previous similar answer where a kick and snare were simulated: Edited August 23, 2022 by Fort Apocalypse 1 Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 23, 2022 Share Posted August 23, 2022 There are a couple drum sounds here: https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#sound_example_no_bank 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.