Jump to content
IGNORED

Sound help..


yuppicide

Recommended Posts

I found something I sort of like in Tone Toy 2008. If you go in there, set the top to 10, 2, and then cycle the third box from 0 to all the way around and a little more maybe. Kind of sounds like a wall closing in on you.

 

However, I can't figure out how to get it to sound like that in my bB game?

 

Here's the code I tried:

 

wallsound
 if w = 32 then w = 0 : AUDV0 = 0 : return
 AUDV0 = 10 : AUDC0 = 2 : AUDF0 = w

wallsound2
 x = x + 1
 if x = 3 then x = 0 : w = w + 1 : goto wallsound
goto wallsound2

 

Either way, if someone could tell me how to get that to work or make me the sound of a wall closing in on you, that would be great.

 

I have a game I made where walls close in and you get trapped. When the wall closes in, it'll make the sound real quick, then go back to the main loop. Don't really want the sound to slow the action of the game down.

Link to comment
Share on other sites

This may not be exactly what you're looking for, but you can play with the numbers until it sounds right to you.

 

Here's the .bin file to use with your favorite emulator:

yuppicide_sound_2009y_03m_21d_0929t.bin

 

Here's the .bas file if you want to play with the code:

yuppicide_sound_2009y_03m_21d_0929t.bas

 

 

Press the fire button to hear the sound.

Link to comment
Share on other sites

Thanks. I like it. I just don't get how to make it work within my game. It never works or sounds as it's supposed to.

Can you post your code so I can see if something is getting lost in translation? If it's a secret, you can always send it in a PM.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...