Music Distortion

Discussion in 'Legacy GameMaker Community Tech Support' started by charat chan, Nov 1, 2016.

  1. charat chan

    charat chan Member

    Joined:
    Nov 1, 2016
    Posts:
    1
    It pains me that my first post is one asking for help. I am very hands on and have tried many things to fix this to no avail.

    Any music I try to play is highly distorted and sounds like it is "pixelated" and loud. I have used preformated sound files downloaded right from the yoyo marketplace and they distort as well.

    .wav and .mp3 alike do this. I have tried changing the sample and bit rate (no change).

    Any suggestions?

    Edit: 3 days and no reply. I can't be that unlikable.

    Let me narrow it to a single question: Do most of you use the built in sound features or do you run your sound files with a 3rd party program?
     
    Last edited: Nov 5, 2016
  2. Drewster

    Drewster Member

    Joined:
    Jun 21, 2016
    Posts:
    222
    Perhaps posting a dropbox link to some samples -- like a sample of the original audio file plus a sample of audio captured from your game?

    Everyone -- or at least nearly everyone -- uses the built-in sound stuff. It generally works well.

    Are you playing music or sound effects?

    If I were to take a wild guess, I would guess you are playing a sound repeatedly -- perhaps creating it many steps in a row when a specific condition is true. This can cause a very distorted sound.

    For example, if you made a beep sound on keyboard event instead of keypress event, you will be activating a new copy of the sound every step while the key is being held down. Another possibility is in a collision -- the collision event fires for each frame where the collision is occurring. So, if you play an explosion sound upon collision, but do not take steps to make sure you do it only once -- such as by checking to see if it is already playing, keeping a "playing" flag, or perhaps destroying the instance, you'll get the same situation.

    Lastly, if you're posting a question for help and are getting no responses, it's usually because you haven't included enough information. When in doubt post samples of what you are talking about, and/or code snippets if they might be relevant.
     
  3. WillB777

    WillB777 Member

    Joined:
    Jun 25, 2019
    Posts:
    3
    I have the same problem too. After several levels, the music gets more distorted, and I don't know why.
     
  4. zendraw

    zendraw Member

    Joined:
    Jun 20, 2016
    Posts:
    1,329
    i get distorted sounds when i import them in the project as assets. not all of them but those that are are like bit crushed or somthing.
     
  5. WillB777

    WillB777 Member

    Joined:
    Jun 25, 2019
    Posts:
    3
    The transition stops the music playing and goes to the next. Then the songs keep getting more and more distorted, and I hate it with all my passion, and I would be the happiest game designer alive to get rid of this pesky problem.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice