Jump to content
IGNORED

Music has noise!


Recommended Posts

I created a music track for my game and it sounds good on its own, but when I add the code to my game... it sounds like the noise channel is on so its all distorted.

 

I am using sound effects in the game that use noise, so I don't know if that is what is causing it. I tried PLAY FULL and PLAY FULL NO DRUMS and it didn't help..

 

any ideas?

Link to comment
Share on other sites

2 minutes ago, Brian's Man Cave said:

hmm, didn't seem to work. Do I need to disable to the sound effect code some how?

More probably in your sound effect playing code you never turn off the noise channel.

 

If you are following my code examples, the sound_none procedure should do SOUND 4,,$38 and SOUND 2,,0

Link to comment
Share on other sites

5 minutes ago, Brian's Man Cave said:

Ya that was the issue. I had it as SOUND 4,,0.

 

Another question, is there a way to detect that music is playing. Like what if I don't want any other sounds happening while the music is playing? the song only plays few a few seconds each round.

 

There's the expression MUSIC.PLAYING that is zero when music ceases to play.

 

Link to comment
Share on other sites

Here is some more discussion regarding music control, including ways to pause it or to react based on how far into the song you have played. The latter though to some part is compile time specific so you would have to check your LST file for exact memory locations.

https://atariage.com/forums/topic/296741-intybasic-music-pause-resume-function/

 

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...