Re: Audio wrapper for Python

2020-06-23 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: Audio wrapper for Python what version of python are you using? 32 bit or 64 bit? if you are using python 32 bit, make sure the 32 bit dll is present. else, if you are using 64 bit python, make sure that the 64 bit dll is present in the folder. URL: https://forum.audiogames.net/post

Re: Audio wrapper for Python

2020-06-23 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @67i've folloed your guide however nothing changes. is it possible that we do remote connection? if Yes, then can you put your contact here and i will hit you up.Error: 03\openal.py", line 67, in __init__    self._lib = ctypes.CDLL('OpenAL32.dll')  Fi

Re: Audio wrapper for Python

2020-06-23 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @67i've folloed your guide however nothing changes. is it possible that we do remote connection? if YEs, can you put your contact here and i will hit you up. URL: https://forum.audiogames.net/post/544533/#p544533 -- Audiogames-reflector mailing list

Re: Audio wrapper for Python

2020-06-15 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Hm, digging around [here] it seems that may be an architecture mismatch. Are you running 32bit or 64bit Python? The included OpenAL32.dll is 32bit, but OpenAL Soft also comes with a 64bit version.Try heading [here] and download the latest version, inside

Re: Audio wrapper for Python

2020-06-15 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @65My default wd is "C:\Users\MyUserName\AppData\Local\Programs\Python\Python38"  However i replaced that by "C:\Temp" right now and what i understand from the output  error default working directory doesn'T change for some reason. here

Re: Audio wrapper for Python

2020-06-15 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Hm, odd. Is this a compiled script? Or could you try sticking it in a temporary folder like "C:\tmp"? Whats the working directory when the script runs before trying to change it? Also be sure that you change the working directory before you try to imp

Re: Audio wrapper for Python

2020-06-14 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @62 and @63 i've tried os.chdir(os.path.dirname(sys.argv[0])) but, no luck.i've tried this . went foulder via command promt with cd C:\Users\myuser\Downloads\Compressed\1869090-84da233277af968ce31553e879f619db4fa07b03\ then called the script with the command

Re: Audio wrapper for Python

2020-06-14 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @62 and @63if so why i m not havving problem with other scripts? and again how will i set the working directory? i've tried os.chdir(os.path.dirname(sys.argv[0])) but, no luck.i've tried this one. went foulder via command promt with cd C:\Users\myuser\Downloads

Re: Audio wrapper for Python

2020-06-14 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @62 and @63if so why i m not havving problem with other scripts? and again how will i set the working directory? i've tried os.chdir(os.path.dirname(sys.argv[0])) but, no luck.i've tried this one. went foulder via command promt with cd C:\Users\myuser\Downloads

Re: Audio wrapper for Python

2020-06-14 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python Additionally, i've tried this one. went foulder via command promt with cd C:\Users\myuser\Downloads\Compressed\1869090-84da233277af968ce31553e879f619db4fa07b03\ then called the script with the command python scriptname.py however i still get the same output

Re: Audio wrapper for Python

2020-06-14 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @62 and @63if so why i m not havving problem with other scripts? and again how will i set the working directory? i've tried os.chdir(os.path.dirname(sys.argv[0])) but, no luck. URL: https://forum.audiogames.net/post/541054/#p541054 -- Audiogames-reflector

Re: Audio wrapper for Python

2020-06-14 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @62 and @63if so why i m not havving problem with other scripts? and again how will i set the working directory? do i need to play with environment veriables or what? URL: https://forum.audiogames.net/post/541054/#p541054 -- Audiogames-reflector mailing

Re: Audio wrapper for Python

2020-06-13 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python As amerikranian mentioned, even if the files are allin the same folder, python has to consider it the current working directory. If you run the script from C: by writing "C:\folder\myscript.py", then C: would be the working directory, not the folder c

Re: Audio wrapper for Python

2020-06-13 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Audio wrapper for Python If you are typing python script name, that is your issue. You will need to adjust the path manually in your script. I ran into this with another library earlier, and it was difficult to figure out why. URL: https://forum.audiogames.net/post/540943/#p540943

Re: Audio wrapper for Python

2020-06-13 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @60YEa but, script.py opeanl.py and OpenAl32.dll are in the same foulder already. URL: https://forum.audiogames.net/post/540684/#p540684 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com

Re: Audio wrapper for Python

2020-06-13 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If it can't find the binary, then there may be an issue with your current working directory. The script your working on has to be in the same directory as the OpenAL binary and the OpenAL.py script, and the script has to consider that folder your working

Re: Audio wrapper for Python

2020-06-12 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python i've cleaned up the existing Openal setup btw. URL: https://forum.audiogames.net/post/540471/#p540471 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames

Re: Audio wrapper for Python

2020-06-12 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @57it seems i couldn't solve it.OpenAl32.dll is in the same foulder. However it seems openal can't find the file. there are some errors too."Traceback (most recent call last):  File "C:\Users\User\Downloads\Compress

Re: Audio wrapper for Python

2020-06-08 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python @56No, I believe thats an OpenAL issue. If you have OpenAL installed, then Python will default to it instead of the OpenAL Soft dll included with the examples. To fix it you'll either need to uninstall OpenAL, or download [OpenAL Soft] and follow the included

Re: Audio wrapper for Python

2020-06-08 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @55i've tried with that hotfix and i m getting this error, i guess it's still a py2 thing which i've put it on research a bit.03\openal.py", line 760, in __init__    self.alcGetStringiSOFT = self._lib.alcGetStringiSOFT  File "C:\Users\Çağlar\App

Re: Audio wrapper for Python

2020-06-08 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @55i've tried with that hotfix and i m getting this error, i guess it's still a py2 thing which i've put it on research a bit.03\openal.py", line 760, in __init__    self.alcGetStringiSOFT = self._lib.alcGetStringiSOFT  File "C:\Users\Çağlar\App

Re: Audio wrapper for Python

2020-06-07 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Well, thats frustrating. Its just a python 2 to 3 thing, if you don't mind editing openal.py, you can change that print function to "return". Or you could just grab a hotfix version I just uploaded [here]. URL: https://forum.audiogames.net/post/53850

Re: Audio wrapper for Python

2020-06-07 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @51i've put openal.py and OpenAL32.dll in the my project's working directory. however i m getting this error: "03\openal.py", line 2599    print self._min_aux_filter_gain_auto  ^SyntaxError: Missing parentheses in call to 'print'. Did you

Re: Audio wrapper for Python

2020-06-07 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If set_pos() can work properly its not much of an issue, whats the length in seconds of the mp3 you tested it with? Integrating Pylite with Pygame is also fairly easy:import pygame from openal import * import sys def Example(): #initialize pygame

Re: Audio wrapper for Python

2020-06-07 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If set_pos() can work properly its not much of an issue, though integrating Pylite with Pygame is fairly easy:import pygame from openal import * import sys def Example(): #initialize pygame pygame.init() #initialize sound mixer listener = Listener

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python If set_pos() can work properly its not much of an issue, though integrating Pylite with Pygame is fairly easy:import pygame from openal import * import sys def Example(): #initialize pygame pygame.init() #initialize sound mixer listener = Listener

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @51SO no way i can play back and forward with this knowledge as it seems right?is there a way that i can mingle with pylite on that issue? i will see your example though on og files. URL: https://forum.audiogames.net/post/538201/#p538201 -- Audiogames

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The problem isn't so much the playback, which can be done easily enough with other libraries, so much as the decoding. If you wanted to play wav or ogg file formats it would be easy enough, but mp3's are more of a pain to work with given the available libraries

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The problem isn't so much the playback, which can be done easily enough with other libraries, so much as the decoding. If you wanted to play wav or ogg file formats it would be easy enough, but mp3's are more of a pain to work with given the available libraries

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @magurp244Your code doesn't play forward as well. is there any other way that i can solve this with an other library? i m really stucked on this and  searching for a solution since  long time. it's py3 by the way. URL: https://forum.audiogames.net/post/538005

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @magurp244Your code doesn't play forward as well. is there any other way that i can solve this with an other library? i m really stucked on this and  searching for a solution since  long time. URL: https://forum.audiogames.net/post/538005/#p538005

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Well, seems unload may not be implemented like it says in the documentation, or maybe thats for Pygame2? No matter. You can leave that out and just load a new song when you want to play something different. You may also want to move pygame.display.update() up

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @47i see no underscore inside the actual code though, here it is:import pygamefrom pygame import mixerimport globfrom mutagen.mp3 import MP3import sysdef play():    pygame.init()    mixer.init()    pencere = pygame.display.set_mode([640,480])    song = (&q

Re: Audio wrapper for Python

2020-06-06 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @47i see no underscore inside the actual code though, here it is:import pygamefrom pygame import mixerimport globfrom mutagen.mp3 import MP3import sysdef play():    pygame.init()    mixer.init()    pencere = pygame.display.set_mode([640,480])    song = (&q

Re: Audio wrapper for Python

2020-06-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python @46Hm? The line you wrote doesn't match the attribute error, which has an underscore between mixer and music instead of a period. I'd need more context. URL: https://forum.audiogames.net/post/537861/#p537861 -- Audiogames-reflector mailing list Audiogames

Re: Audio wrapper for Python

2020-06-05 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @43 @44 @45Error is related to mixer.music.unload    pygame.mixer.music.unloadAttributeError: module 'pygame.mixer_music' has no attribute 'unload' URL: https://forum.audiogames.net/post/537836/#p537836 -- Audiogames-reflector mailing list Audiogames

Re: Audio wrapper for Python

2020-06-01 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python I don't think threading would improve the situation any, and thats something python can be troublesome with. But being able to move forward only once is... odd. How many times can you rewind? Can you post the code for your forward and rewind code, and mention

Re: Audio wrapper for Python

2020-06-01 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Audio wrapper for Python Yeh, threads should not be touched unless you absolutely know what you're doing. Even then, threading can be replaced with async and other functions with the same purpose. What exactly happens? How does your code backfire? I personally need more information

Re: Audio wrapper for Python

2020-06-01 Thread AudioGames . net Forum — Developers room : chrisnorman7 via Audiogames-reflector
Re: Audio wrapper for Python Do you get any error when you try and shuttle forward more than once? I would guess a massively resounding no for threads. They always seem lik a good idea, but they're not usually. URL: https://forum.audiogames.net/post/535789/#p535789 -- Audiogames

Re: Audio wrapper for Python

2020-06-01 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @41Hey, it seems to be working. However i can forward  music only once but, not anymore. Should i use threading? if so, threading module is enough or what do you suggest? URL: https://forum.audiogames.net/post/535781/#p535781 -- Audiogames-reflector

Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python There's something about that error [here], it would seem that get_pos() returns the position in milliseconds, whereas set_pos() takes the target position only in seconds, for whatever reason. So instead of putting set_pos(1000), it would be set_pos(1) to set

Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python There's something about that error [here], it would seem that get_pos() returns the position in milliseconds, whereas set_pos() takes the target position only in seconds, for whatever reason. So instead of putting set_pos(1000), it would be set_pos(1) to set

Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net Forum — Developers room : SoundMUD via Audiogames-reflector
Re: Audio wrapper for Python Frenk Kinder wrote:Because when I use pygame.mixer, I have the delay.The buffer size is too big by default for a game:NOTE: For less laggy sound use a smaller buffer size. The default is set to reduce the chance of scratchy sounds on some computers. You can

Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @38i've tried boath with your method and without, i get "unsupported codec" error. are there anyway of doing this by any other library, that would also be ok for me. can You guide me thru?My code was this one btw.import pygamefrom pygame import m

Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @38i've tried boath with your method and without, i get "unsupported codec" error. are there anyway of doing this by any other company? that would also be ok for me. can You guide me thru? URL: https://forum.audiogames.net/post/53547

Re: Audio wrapper for Python

2020-05-16 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Challenges like this can crop up in any language, its all part of the fun, heh. Part of what I meant is that I don't have the latest version of pygame, so have to rely on the documentation for this. The example I posted was based off that documentation

Re: Audio wrapper for Python

2020-05-16 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Challenges like this can crop up in any language, its all part of the fun, heh. Part of what I meant is that I don't have the latest version of pygame, so have to rely on the documentation for this. The example I posted was based off that documentation

Re: Audio wrapper for Python

2020-05-16 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @34i already got the latest version. saw afew examples on  though they are mostly poor on what we want.i can't believe it's undoable with python, there must be a way to do this.i don't know if ever you felt like this but, even started to think about learning c

Re: Audio wrapper for Python

2020-05-16 Thread AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
Re: Audio wrapper for Python Hi, the code posted by Turkce_Rap gives me this error:Traceback (most recent call last):  File "playfr.py", line 34, in     play()  File "playfr.py", line 23, in play    mixer.music.set_pos()+length*5/100TypeError: set_pos() takes exactly o

Re: Audio wrapper for Python

2020-05-16 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: Audio wrapper for Python you can use pysoundfile and pyaudio to do this.and when loading mp3, you can use mutagen to load it.just make sure to use the callbacks for it and then your main thread won't block. URL: https://forum.audiogames.net/post/529813/#p529813 -- Audiogames

Re: Audio wrapper for Python

2020-05-15 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The pygame documentation mentions set_pos and get_pos, but whats in the documentation and whats actually implemented in the API can be two different things, which is one of the chronic problems with libraries like wxPython. I think there may be a newer version

Re: Audio wrapper for Python

2020-05-15 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @magurp244the set_pos function on post 32  doesn't work. i could mesure length of mp3 within using mutagen but, couldn't succeed playing back and forward again. here is the code below:import pygamefrom pygame import mixerimport globfrom mutagen.mp3 import

Re: Audio wrapper for Python

2020-05-15 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @magurp244the set_pos function above doesn't work. i could mesure length of mp3 within using mutagen but, couldn't succeed playing back and forward again. here is the code below:import pygamefrom pygame import mixerimport globfrom mutagen.mp3 import MP3import

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Oops! ambro86 is right, the [mixer.music] functions do support position control. But theres a few caveats, music played like this is streamed only from the mixer itself, and the mixer can only stream one track at a time. There also doesn't seem to be a function

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Oops! ambro86 is right, the [mixer.music] functions do support position control. But theres a few caveats, music played like this is streamed only from the mixer itself, and the mixer can only stream one track at a time. There also doesn't seem to be a function

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @30i guess we should count the song length first right? URL: https://forum.audiogames.net/post/526604/#p526604 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: Audio wrapper for Python probably have a counter. when the left or right arrows are pressed, the counter increments or decrements. and then just do set_pos(counter), i don't know how the function works... URL: https://forum.audiogames.net/post/526580/#p526580 -- Audiogames

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @28Yea but, i couldn't use it as to forward and backward music. How will i do it? URL: https://forum.audiogames.net/post/526579/#p526579 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
Re: Audio wrapper for Python Hi Turkce_rap, as far as I understand, there is a function in pygame that allows you to play a file at the position you want. It is: pygame.mixer.music.set_pos()However, I understand that not all audio formats are supported. URL: https://forum.audiogames.net

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : ambro86 via Audiogames-reflector
Re: Audio wrapper for Python Hi Turkce_rap, as far as I understand, there is a function in pygame that allows you to play a file from the location of your choice. It is: pygame.mixer.music.set_pos()However, I understand that not all audio formats are supported. URL: https

Re: Audio wrapper for Python

2020-05-07 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python Anyone knows? URL: https://forum.audiogames.net/post/526557/#p526557 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio wrapper for Python

2020-05-06 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python @magurp244Have you ever used winamp? actually vlc also got simillar function. while music plays, you press right errow key, the song forwards then if you press left errow key it backwards how will i do it? URL: https://forum.audiogames.net/post/526407/#p526407

Re: Audio wrapper for Python

2020-05-06 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Hmm, I see. If thats the goal then you'd probably need to track when a button is held with a variable and run it in the main loop. Something like this:import pygame from pygame import mixer import sys class Player: def __init__(self): self.x = 0

Re: Audio wrapper for Python

2020-05-06 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Hmm, I see. If thats the goal then you'd probably need to track when a button is held with a variable and run it in the main loop. Something like this:import pygame from pygame import mixer import sys class Player: def __init__(self): self.x = 0

Re: Audio wrapper for Python

2020-05-06 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,There is a difference between press and release a key, and press and hold a key. Up and down.You press a key, and while you hold this key, the player moves at a certain speed. URL: https://forum.audiogames.net/post/526160/#p526160 -- Audiogames

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244There is a difference between press and release a key, and press and hold a key. Up and down.You press a key, and while you hold this key, the player moves at a certain speed. URL: https://forum.audiogames.net/post/526160/#p526160 -- Audiogames

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python @22Hm? In your example, you should already have to tap the left or right keys to move one step in either direction. Or is it that you want to limit the speed at which a person can tap, and thus move in a given direction? URL: https://forum.audiogames.net/post

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,I meant that in my code I should press, but not hold down the key to move. URL: https://forum.audiogames.net/post/526137/#p526137 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python @14If you want to generate a random audio sample, there are tools and methods for doing that. If you want to play one of a set of sounds randomly, then how you imagine it is exactly how you'd do it. You could pack it all into one line though like so:self.player

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python Pygame and i couldn't do seaking back and forward on a song file. URL: https://forum.audiogames.net/post/525983/#p525983 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: Audio wrapper for Python what audio lib are you using? URL: https://forum.audiogames.net/post/525979/#p525979 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python With my music player i m trying to build right now, i couldn't make the seaking back and seaking forward function. i mean like you do with left and right errows on Winamp. i mingle with it for 2-3 days and got no luck. any advice for it? URL: https

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Turkce_Rap via Audiogames-reflector
Re: Audio wrapper for Python Wİth my music player i m trying to build right now, i couldn't make the seaking back and seaking forward function. i mean like you do with left and right errows on Winamp. i mingle with it for 2-3 days and got no luck. any advice for it? URL: https

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @zywek,I think yes, you should test it. URL: https://forum.audiogames.net/post/525969/#p525969 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : zywek via Audiogames-reflector
Re: Audio wrapper for Python Is it possible to enable hrtf in pylite or add reverb and another effects to sounds currently playing? URL: https://forum.audiogames.net/post/525961/#p525961 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: Audio wrapper for Python just make use of pygame. else if you are usuing pyglit, go look at the documentation, that might help you URL: https://forum.audiogames.net/post/525946/#p525946 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,Now my task is to create a playing field of 50 by 50, on which I can move, and on which there will be audio sources.The main problem now, I don't know how I can generate random sounds. Rather, I know. But imagine. I press the key, randint (1, 3

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Of course. The included examples show how to load sounds and players, queue sounds into players, and then play them whenever you like. This is very similar to the pygame mixer, though if your experiencing a delay, that could be for a number of reasons

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,Does your library have the ability to play regular sound? For steps, for example?Because when I use pygame.mixer, I have the delay.Or maybe can you recomend me other options?import pygamefrom pygame import mixerimport sysclass Player:    def __init__

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python That depends on what you have in mind. If you don't plan on using positional audio, then it doesn't matter. If you do plan on using positional audio, then it depends on how comfortable you are with whatever setting you happen to choose. For most applications

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,Which parameter will be optimal for this? URL: https://forum.audiogames.net/post/525879/#p525879 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The Roll Off Factor is an OpenAL feature that determines how much the volume drops the further a sound moves from the listener. A high roll of factor means the volume drops over a very short distance, whereas a low Roll Off Factor means it drops over a very

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The Roll Off Factor is an OpenAL feature that determines how much the volume drops the further a sound moves from the listener. A high roll of factor means the volume drops over a very short distance, whereas a low number means it drops over a very long

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,What is rolloff factor? This is some kind of mathematical function, why is this needed and what should I install there? URL: https://forum.audiogames.net/post/525868/#p525868 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python Oh no, I'm wrong. Thank you, I will try this URL: https://forum.audiogames.net/post/525867/#p525867 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,But I saw import from pyglet in your code... URL: https://forum.audiogames.net/post/525865/#p525865 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo

Re: Audio wrapper for Python

2020-05-05 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python The latest version of the wrapper which I linked to, which should be the one your using, doesn't use pyglet or PyAL, it uses an OpenAL Soft binary thats included with it. All you need to do is include the wrapper and OpenAL32.dll in your scripts working

Re: Audio wrapper for Python

2020-05-04 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python I found PyAL but cannot import openal.audio:Traceback (most recent call last):  File "", line 1, in   File "C:\TestGame\lib\site-packages\openal\audio.py", line 107, in     al.AL_FREQUENCY: (al.ALint, al.alBufferi, al.alGetBufferi),At

Re: Audio wrapper for Python

2020-05-04 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Re: Audio wrapper for Python @magurp244,Yes, I saw your wrapper.But it uses pyglet.Still, I'd like a wrapper over a separate audio library. URL: https://forum.audiogames.net/post/525843/#p525843 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: Audio wrapper for Python

2020-05-04 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Audio wrapper for Python Pyglet and Pygame come with built in audio support, among others. If you'd like I can provide examples for those, or if your looking for more advanced audio functions you could look at my [OpenAL Pylite] wrapper. URL: https://forum.audiogames.net/post/525841

Audio wrapper for Python

2020-05-04 Thread AudioGames . net Forum — Developers room : Frenk Kinder via Audiogames-reflector
Audio wrapper for Python Hello.I researched audio libraries for Python. But they are all very difficult.Maybe someone have wrappers for this?Thanks in advance! URL: https://forum.audiogames.net/post/525729/#p525729 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin