Skip to main content

All Questions

Tagged with
0 votes
1 answer
339 views

Sound won't play from Python script

I get the error AUD_FileFactory: File couldn't be read. Other files from same path will work. Logic Brick works on the same file. Using Blender 2.79 on Windows 7. ...
Don Nelson's user avatar
1 vote
0 answers
119 views

Smooth Music Transitions in the BGE?

I have several pieces of music in my game's scene I want to play based on an assigned number in a game property. However I don't want the transitions to be abrupt, but rather smooth (as in when the ...
JakoNintenCraft's user avatar
0 votes
1 answer
83 views

Why don't I hear sound?

I made this code to control the sound of my car in a game very specifically: ...
Hendriks3D's user avatar
  • 1,151
2 votes
1 answer
954 views

Playing and stopping sound on in Blender game engine

I'm setting up an audio book of sorts in BGE. I'm wanting to be able to click on a button to play a sound until the end, unless I click on a different button before the sound ends. If i click on the ...
ForgettingSeptember's user avatar
1 vote
3 answers
211 views

Play audio file when scene starts but don't play it again if leaving scene and coming back

This is what I want to accomplish: User starts the game and a scene shows up (a landscape). An audio file plays telling the user a story about the fictional world my game is set on. After that, the ...
PAT's user avatar
  • 25
2 votes
1 answer
1k views

3D sound via python in the BGE?

I can't seem to get 3D sound working with audaspace. It works fine when using the logic brick, but I'd like to use python directly if possible. I'd like to have positional sound relative to the ...
gandalf3's user avatar
  • 158k
2 votes
1 answer
280 views

Play 3 sounds with aud and wait between them

I want to play 3 audio files in the Blender Game Engine. Play File 1 Wait 3 seconds Play File 2 Wait 4 seconds Play File 3 If I use time.sleep the blender game ...
Faminator's user avatar
  • 123
3 votes
2 answers
1k views

Blender in game volume control?

Is there a way to use python to control the master volume in game. I want that all sounds are controlled by one object so I can do any settings in game.
Hendriks3D's user avatar
  • 1,151
2 votes
1 answer
373 views

Audio track complete

it is possible to use Python to signal when an mp3 file, or other audio file, has finished playing/reached their end? I know how to play them, as per the BGE code below, but don't how do I check if ...
CubeBot88's user avatar
  • 677