Re: Audio wrapper for Python

2020-05-31 Thread AudioGames . net ForumDevelopers 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: Open Source Audio Game

2016-04-23 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Open Source Audio Game Hi, there is also AudioQuake: http://agrip.org.uk/ URL: http://forum.audiogames.net/viewtopic.php?pid=257911#p257911 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Audio games in the Web Browser

2016-03-20 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Interesting! The web speech api works well with Chrome and Windows 8.1. Synthesis uses the default SAPI voice and additional Google Voices. Recognition works well too, and without learning (at least in this example), but requires to allow the browser

Re: good html 5 and javascript speech tutorial

2015-11-07 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: good html 5 and _javascript_ speech tutorial After some googling, it seems that server-side _javascript_ is possible with node.js, after all. URL: http://forum.audiogames.net/viewtopic.php?pid=237626#p237626 ___ Audiogames-reflector

Re: good html 5 and javascript speech tutorial

2015-11-06 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: good html 5 and _javascript_ speech tutorial About multiplayer from _javascript_, I don't have a working example, but it would probably use WebSocket:https://en.wikipedia.org/wiki/WebSocketA server can be done for example in Python with

Re: good html 5 and javascript speech tutorial

2015-11-05 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: good html 5 and _javascript_ speech tutorial Hi, thanks for mentioning this breakout game, very interesting, especially because it mentions some speech solutions (not many, and not perfect ones, unfortunately).http://blogs.msdn.com/b/davrous/archive … p-svg.aspx I don't know a perfect

Re: Python and accessible text

2015-10-29 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Python and accessible text Did you try to simply print to a console? I am wondering if it is convenient enough to review the text in the console though. This solution is probably compatible with pygame mixer to add music and sound effects. If the printed string is Unicode, even the non

Re: Accessible_output2 does not compile

2015-10-29 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Accessible_output2 does not compile In accessible output, py2exe_datafiles() had to be sent to the data_files parameter.data_files = ['sounds', ('blah.wav', 'woot.wav')] + accessible_output.py2exe_datafiles(),Maybe here it's the same but with ao2.find_datafiles() or

Re: Accessible_output2 does not compile

2015-10-27 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Accessible_output2 does not compile Maybe this thread can help:http://forum.audiogames.net/viewtopic.p … 42#p178042 URL: http://forum.audiogames.net/viewtopic.php?pid=236411#p236411 ___ Audiogames-reflector mailing list

Re: Python and accessible text

2015-10-27 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Python and accessible text It depends on what kind of game you are trying to do.How long is the text supposed to be available? Is it updated when the player presses a key or ends his turn, or when new information is available in real time? Is it just an intro before something more

Re: Python and accessible text

2015-10-27 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Python and accessible text It depends on what kind of game you are trying to do.How long is the text supposed to be available? Is it updated when the player presses a key or ends his turn, or when new information is available in real time? Is it just an intro before something more

Re: Audio games in the Web Browser

2015-10-09 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Now example 7 does exactly the same thing, except that I have translated the last parts in _javascript_ to Brython.Like previous example 7, I haven't noticed a speed difference with example 4. The only strange behavior is when testing the page locally as

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Thanks for the report. Chrome works here too. The door sounds strange to you maybe because there is no echo in this example. The result should be exactly the same as example 4. URL: http://forum.audiogames.net/viewtopic.php?pid=234296#p234296

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser This is only a very thin layer over WebAudio, because I wanted to keep the flexibility of the audio nodes. It's possible to add a simpler layer with a specific aim.I'm not sure yet about the efficiency. The code creates a Brython function as a callback

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser I have added example 7, which is example 4 implemented in Brython (music through a door (open/close) to the right). Loading a buffer had to be kept in _javascript_ (XHR2) because Ajax doesn't seem to allow loading files as an

Re: Audio games in the Web Browser

2015-10-03 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Actually, I have fixed and updated example 3. Sorry for not informing you earlier. It happened by chance that example 4 and 5 worked completely with Chrome, so I did the same thing in example 3 to make it work with Chrome (a default value of 0 was missing

Re: Audio games in the Web Browser

2015-10-03 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser I have added example 6, music with a "slow down everything" button:http://jlpo.free.fr/webaudioAs far as I understood, the "slow down" parameter only works on the AudioBufferSourceNode, so the room echo wouldn't be affected. It would be nice if the

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser With Chrome installed today on Windows (or with Chromium on Linux), example 3 works except the door sounds. Maybe the sources are garbage collected before they run, I don't know; I'll try to fix this later since the goal at the moment is to check what can

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Here are two more examples:- example 4, like example 3 with the door the right,- example 5, like example 4 with the listener inside a very big room (like a large sports hall).Here is an index with all the examples:http://jlpo.free.fr/webaudio I'm not

Re: ideal way of creating a map parcer?

2015-10-01 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: ideal way of creating a map parcer? CAE_Jones wrote:Having said all that, I just spent the past 3 days trying to construct, from scratch, a system of tunnels and spherical spaces in an otherwise solid space, and after everything, nothing connects the way I expected it to, and for some

Re: Audio games in the Web Browser

2015-10-01 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Here is my first working example using WebAudio. It does only one thing: play a sound.http://jlpo.free.fr/webaudio/webaudio1.htm URL: http://forum.audiogames.net/viewtopic.php?pid=233500#p233500 ___

Re: Audio games in the Web Browser

2015-10-01 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Here is my first working example using WebAudio. It does only one thing: play a sound.http://jlpo.free.fr/webaudio/webaudio1.htmEdit: This example has been tested with Firefox. It doesn't work with Internet Explorer. The sound should play as soon as it

Re: Audio games in the Web Browser

2015-10-01 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Here are two more examples, with a low pass filter. Don't miss example 3 (with Firefox) where the music is behind a door that you can open and close at will.http://jlpo.free.fr/webaudio/webaudio2.htmhttp://jlpo.free.fr/webaudio/webaudio3.htm URL:

Re: Audio games in the Web Browser

2015-09-30 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser Edit: fixed confusion between HTML5 and WebAudio.I have found this topic only today, and I must say that it is a very good surprise! I have been searching for a better combination than python + pygame for several years, and WebAudio + _javascript_

Re: Audio games in the Web Browser

2015-09-30 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Audio games in the Web Browser I have found this topic only today, and I must say that it is a very good surprise! I have been searching for a better combination than python + pygame for several years, and HTML5/AudioWeb + _javascript_ (eventually with brython) might be a very good

Re: Image to Sound Python Examples

2015-09-30 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Image to Sound Python Examples Interesting, thank you. I quickly tested your scripts. v1 and v2 are working. v3 couldn't because I didn't install openal yet. v4 couldn't work either because I didn't install numpy yet. URL: http://forum.audiogames.net/viewtopic.php?pid=233356#p233356

Re: Building the Dice Game Pig, in Python

2015-09-29 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: Building the Dice Game Pig, in Python I have noticed 2 things:1. In roll(die, ...) the "die" argument isn't used because it is always rewritten by "die = random.randrange(1,7)". So you can remove this argument and the initialization in game(): "die = 0".2. changeTurn() returns a value,

Re: ideal way of creating a map parcer?

2015-09-28 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: ideal way of creating a map parcer? Some suggestions, hope it helps:1. Maybe you don't need to test this. The game will act weird, that's all. A separate script could test the map without taking time each time you load the map, or the map maker will test his map anyway.2. About the

Re: pygame

2015-07-06 Thread AudioGames . net ForumDevelopers room : SoundMUD via Audiogames-reflector
Re: pygame pygame is probably easier to use, and it doesnt require to install OpenAL and AVbin (pyglet) so its probably easier to package your game with pygame.About pygame this tutorial might help: http://soundrts.blogspot.fr/2008/01/som … ogame.html URL: