audio

  1. William Garrison

    GMS 2 Sound playing every step. (need to stop that)

    Okay so simple enough I want a hover sound to play when the characters HSP (horizontal speed) is > 0. So if this is the case and its HSP > 0 then I set the hovering var to be true. Otherwise its false. Once hovering is true I do the following (hovering code included). PLAYER - CREATE hovering...
  2. MCHLV

    GMS 2 audio_group_set_gain VS volume in sound editor[SOLVED]

    Hello, I have a question on how the volume in the sound editor work and how to adjust sounds from one another : Is there a way to combine the audio_group_set_gain function with the volume settings from the audio editor ? So that I can have one audio group with multiple sounds in it. Fine tune...
  3. MaxLos

    Good volume level?

    Hihi, So in the few years I've been using Gamemaker, I've only really made a bunch of prototype games. They all were usually just limited to one playtest room before I moved on to something else, so I never bothered to adding sound effects and music. I've decided to trying adding some sounds...
  4. andev

    Why is the audio functionality so jumbly?

    We have audio_sound_set_track_position. But then half the other set functions don't contain 'set' like audio_sound_gain. Unless it's a getter in which case it's audio_sound_get_gain. audio_sound_play? Nope, it's audio_play_sound. audio_is_playing returns true even if a sound is paused...
  5. M

    3d sound sometimes does not play / stops playing inexplicably

    so I have a snowstorm-object emitting 3d sound of a heavy wind, as follows: Create: emitter_id = audio_emitter_create() audio_falloff_set_model(audio_falloff_linear_distance); audio_emitter_position(emitter_id,x,y,0) audio_emitter_falloff(emitter_id,400,1300,1)...
  6. M

    3D sound randomly just doesn't play

    So in my game (top-down 2D strategy game) I've implemented 3d sounds via emitters. For example, there's snowstorms, that emit a wind sound. When such an object (obj_snowstorm) passes by or onscreen, players hear the sound in 3d. However, sometimes it just doesn't play even if the object passes...
  7. Let's Clone

    Android Play audio with screen locked

    Hey, forum. I'm pretty new to mobile development via GML and I was wondering if it's possible to have audio continue to play when the user locks the screen. I know this isn't a typical function for a game, but it's a desired feature for what I'm currently working on. Thanks!
  8. Jihl

    GMS 2 Question about audio_play_sound volume stacking

    Hello! My question is in regard of high volume when you play an audio repeatedly... In my game you can kill lots of monsters, and the cut sound effect, hit sound effect and dying sound effect all get on eachother making a really big mess with the volume... My solution was to make global...
  9. tamation

    audio_play_sound just not working?

    Really strange error here, it's been happening the last few days with this prototype and it's never happened to me before, really confused here. When trying to play a sound with audio_play_sound, sometimes it just...doesn't work? I'll add a sound called snd_door for example, set it up with the...
  10. rogonow

    Monosound method needed [solved]

    I can't find a method with GM Studio 2 to set the volume to 0 at one side and to max at the other side. I hear it always with my 2 ears. I hear it louder at one side and more scilent at other side with the function audio_play_sound_at. Can someone help me please? I need such a horizontal volume...
  11. ac585318

    GMS 2 How to get audio current play position (For rhythm game)

    I'm following this guide for making a rhythm game. At this point I need a song position variable, which is the audio track position, but GMS2 seems to make it difficult getting this in a direct and simple way. Looking at previous threads the audio_sound_get_track_position() function may have...
  12. 2

    GMS 2 Choosing what Audio Group External Audio Is Part Of

    When loading external audio how do you decide what audio group it is part of? Music needs to be in a separate audio group for me to adjust the volume separately.
  13. Qing Donnie Yoshi

    Sound alternation

    Does anyone know how to Alternate sounds/audios, like say for instance footsteps with 2 different audios (left foot audio play and then right foot audio play and etc.) Is there a specific variable I can use for that, just like how choose is a built in variable?
  14. Dwighty4000

    GMS 2 I need Stereo sounds for a game object!

    I am using GMS2 with the GameMaker Language and I am currently working on a 2D game. I'm looking for a way to make an game-object in my game a ruse. Depending on the distance to the player becomes louder or quieter and in a stereo audio output, so that the player can hear from which side of his...
  15. jana

    Portfolio - Audio Music - Epic, Piano, Ambient, Other Types

    My name is Jana Cole, from the San Francisco Bay Area. If you're looking for an epic theme, piano theme, ambient, or other type of music, I can create a track that's perfect for your project. I've been composing music for years, and I compose in different styles. I started composing music when...
  16. S

    Windows Problems With Audio Falloff [SOLVED]

    I can't seem to get audio falloff working with audio emitters and listeners. The audio emits, the LR panning works fine, but the audio does not shed any gain as my listener moves away from it. I may be missing something major, or it's just not working like the issue from last year. Create code...
  17. Dwighty4000

    Windows music and Rooms?

    Is there a way I can do, that I can play a music that does not restart every time if I enter a new Room? The music "audio_play_sound(music, 100, true);" restart every time if the codeline: "room_goto(room1);" is in the same moment running...
  18. MeltingCat

    GMS 2 Output message Audio_PlaySound Attempting to play sound on inactive emitter

    I've been getting game freezes lately a lot and didn't know what to look for as I'm not getting an error message. I've realized now that this message shows in the output, possibly just before it freezes. The thing is, I'm using a deactivation code deactivating objects far outside view. But I...
  19. P

    Trying to make an audio file play once

    Hi everyone, this one's fairly simple,for someone experienced anyway. I have a simple audio file that plays when my street lights come on, but it wants to loop even with the loop turned to false. It just plays over and over, I've tried setting variables to shut it off, but not sure what...
  20. W

    Legacy GM Audio group gain always resetting

    I have an option menu in game. It's the only place in the code where audio_group_set_gain is used. Even when I use this function in a STEP event, the volume of the audio group always resets when a sound from this audio group is played. Does this have a link to the channels used to play the...
Top