Re: Audio games in the Web Browser

2017-12-16 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

I found Wad right after I posted that issue. I don't think it would be too difficult to write a wrapper for something like Sono to create oscillators, but I haven't spent the time reading through the web audio docs to figure out how it works. Wad was enough for me at the moment .

URL: http://forum.audiogames.net/viewtopic.php?pid=342388#p342388





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-12-16 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


Re: Audio games in the Web Browser

@frastlin, I was going to point you to an issue on the Sono project that asked for exactly what you're after. Then I realized you posted it Looks like the maintainer is waiting for you on that one, if you were interested in seeing it in Sono.I noticed it as I'm making a question issue asking about the rotation and listener orientation stuff. I've got a sort of example going... but it's not good yet

URL: http://forum.audiogames.net/viewtopic.php?pid=342373#p342373





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-12-13 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


Re: Audio games in the Web Browser

Thanks for the feedback! I knocked the music volume down. I also did a lot of background work around minification and cache busting, you mentioned about sizes for files which prompted me to put the time into minification.Ah when you say it that way it makes sense. And with wavs, 2 similar sounds would need all the size of each, whilst 2 similar sounding ocelator sounds would only need the difference between the first and second. So quite a bunch of space saving there. I might keep that as an option for quick sounds. Thanks. Useful to know.

URL: http://forum.audiogames.net/viewtopic.php?pid=341998#p341998





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-12-01 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

BTW, you access the listener object by accessing the audio context. In WAD it is Wad.context.listener. I haven't spent much time with it, so don't know too much about what all the params mean.

URL: http://forum.audiogames.net/viewtopic.php?pid=340631#p340631





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-12-01 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Yes, with oscillators you just generate the sounds in the web browser on the spot. Here are some examples:http://webaudio.prototyping.bbc.co.uk/gunfire/gunshotshttps://www.leshylabs.com/apps/sfMaker/old Nintendo soundsThe theory is that you can generate any sound by adding together oscillators in different combinations. This is how screen reader synthesizers were created before we had companies like Ivona putting real voices into synths.The problem is that making a single sound is incredibly difficult and there are little to no resources on how to generate sounds with oscillators. Practically speaking, unless you use raw oscillators a lot (like me), the promise of procedurally generated sound is still far off. But the ability for everyone to listen to a sound effect generated by their web browser makes this a field that will see some innovation very soon, just because generating sounds is so much faster than loading them.

URL: http://forum.audiogames.net/viewtopic.php?pid=340630#p340630





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-11-30 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


Re: Audio games in the Web Browser

Oh, so instead of playing sounds, you generate all your sounds using an ocelator? Is that worth it? I'd imagine it's quite limiting and you'd wind up with lots of bleepy and bloopy noises, but I never did that sort of side of audio editing, so I don't really understand it. Maybe I should leave ocelators well alone.Yeah, I think that would make sense. It's probably a lot easier than you having to rotate your positions around the player always being based at 0x3 (x=0, y=0, z=0). Otherwise you're going to get really mathsy.I understand the Sono 3D audio a... little better. I managed to get a truck sort of rotating around a stationary POV. Except... well... the right and left both ended up the same place. You need the Z of your orientation at -1 to get even that. I recently saw that sounds themselves can have an orientation too. I don't understand the purpose or the complexities here. I must be missing something. Any advice appreciated. I'm finding with both of these libraries, that neither really has tons of traction. Proves that web audio is really a new thing Even the Three.JS docs and such like isn't massively well defined. Maybe that's a good thing for innovation in the space. But bad when you're just getting started

URL: http://forum.audiogames.net/viewtopic.php?pid=340562#p340562





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-11-27 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Sono doesn't allow for advanced control of oscillators which is needed if you don't want to have the user download a ton of sounds. The problem is that making a sound is not a walk in the park.I'm going to open an issue on web audio daw to ask about setting the position of the listener. I do have a script that sets positioning quite well with just stereo, but I would rather use the 3D panning.

URL: http://forum.audiogames.net/viewtopic.php?pid=340152#p340152





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-11-27 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


Re: Audio games in the Web Browser

Ah okay, what put you off sono, do you remember?Looking at WebAudioDAW, it doesn't look like it has an orientation, only that you set the panning based on the orientation you're given. I hope I'm not doing it a disservice, but it looks like that's the case. So you'd move the sounds's location accordingly. I... think. Looks more complex than sono, but it seems like it has more features. Audiophiles would love this stuff.I've practically grocked sono now, with the ONE vital exception of setting the orientation. I've got an example where I move the P.O.V around, another where I move a sound source around, and I'm now most of the way to building a quick and dirty endless runner game using sono and 3D audio. I must admit I do quite like sono.I just haven't quite understood the moving the orientation. I've currently got a truck idling in front of my POV 10 units away. I do what I suspect should spin my orientation around... but it doesn't. It influences the sound in interesting ways... but it doesn't seem to move where the sound comes from, it still sounds like it's in front. I wonder if it's all still tied into Three.JS. Wondering whether to share my code as jists... but I'd have to leave the sounds out. I'm currently low on sounds as I lost a whole bunch of mine due to hard drive failure and me being very silly and not backing up, so I'm... appropriating sounds elsewhere for now to play with this idea 

URL: http://forum.audiogames.net/viewtopic.php?pid=340142#p340142





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-11-26 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

I've been actually using web audio daw:https://github.com/rserota/wadIt is the whole web audio API in a very easy to use package. I don't remember sono, but howler only plays external sounds, you can't generate sounds. WAD allows you to generate very complex sounds and play external sounds at the same time. The hard part is building sounds to generate... You can also kind of ignore the Firefox not working, I only use it in Firefox and it works great.I have not yet used the 3D panning yet, just the left and right panning. I don't see where to set the listener though.

URL: http://forum.audiogames.net/viewtopic.php?pid=339954#p339954





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-11-26 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


Re: Audio games in the Web Browser

Sorry I keep necroing this topic. But this is still something I keep coming back to. Now I'm actually getting a reasonable distance with it. And I got to learn some mad webpack skills while I was at it.@frastlin: My understanding is, from using things like Three.JS, that the orientation refers to what the listener's point of view is, i.e, where are they looking? If you want them to look left, say, you'd probably do: setListenerOrientation(-1, 0, 0)But then if they move, that might have to be tracked.So what you might wind up with, is:const playerX = 0, playerY = 0, playerZ = 0;// as the player's perspective moves, track that in these variables and adjust the listenerPosition accordingly// look leftsono.panner.setListenerOrientation(playerX - 1, playerY, playerZ)This is all in theory, I'm working on a testbed to fully test this out. As well as a little engine for 3D sound that I hope to use. Interesting that you said that about howler.js vs sono, what did you find the differences were?

URL: http://forum.audiogames.net/viewtopic.php?pid=339939#p339939





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-02 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

[[wow]], sono is way better than Howler and is exactly what I need. I was looking for something that combined tone.js and howler.js together. I need to be able to generate sounds and control their panning.Do you know how to generate sounds like trumpet sounds with the controls sono gives? In my apps people really don't like the pure square and sign waves I use.Also, for the sono/panner, how do you set the heading position of the listener? I see:    panner.setListenerPosition(x, y, z);    panner.setListenerOrientation(x, y, z);but I didn't know your orientation could be set by x, y and z. I thought it was something like 90 degrees or 180 degrees.

URL: http://forum.audiogames.net/viewtopic.php?pid=317696#p317696





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-01 Thread AudioGames . net Forum — Developers room : GhorthalonTheDragon via Audiogames-reflector


  


Re: Audio games in the Web Browser

I don't really use much. I only use Sono because it makes webaudio a lot simpler to work with, but other than that only JQuery, even though that's almost unnecessary.I'm getting further with the lane splitter clone thing, I'm going to open source it if anyone wants to take a look when I'm done. 

URL: http://forum.audiogames.net/viewtopic.php?pid=317594#p317594





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-01 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

what engine/library are you using Ghorthalon?I would prefer lots of little games that younger kids could play so I can introduce them to the keyboard and web browser through fun games.

URL: http://forum.audiogames.net/viewtopic.php?pid=317589#p317589





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-01 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: Audio games in the Web Browser

Recently came across [HumbleNet], a free cross-platform network library for browsers that may prove useful.

URL: http://forum.audiogames.net/viewtopic.php?pid=317587#p317587





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-01 Thread AudioGames . net Forum — Developers room : GhorthalonTheDragon via Audiogames-reflector


  


Re: Audio games in the Web Browser

I'm frustrated with the FPS right now so I'm working on a ghost rider/avoidance style car evading game with HRTF with jumping over cars and stuff. Gonna be an easy game but hey, the webaudio API should make this sound pretty cool. I think those really big projects aren't for me. I'd rather create a ton of small, fun games than one really big one that I have to constantly attend to. Especially since I'm running into issues counting walls between the player and a sound source to muffle them... For some reason...

URL: http://forum.audiogames.net/viewtopic.php?pid=317565#p317565





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-01 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Ghorthalon that is awesome!I would really like some games that are for 6-12 yearolds in the web browser though LOL.

URL: http://forum.audiogames.net/viewtopic.php?pid=317561#p317561





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-01 Thread AudioGames . net Forum — Developers room : GhorthalonTheDragon via Audiogames-reflector


  


Re: Audio games in the Web Browser

I've also been working on a 3D first person shooter, which is actually coming along nicely. I've posted several demo's in the RTR thread and on Twitter. You can already play with multiple people, you have maps with ambiences, reverb etc. So I think the web will allow for a lot of neat creations. There are limitations of course, but I think for our purpose it could be enough for a lot of things.here is the newest demo, where I spawn and then another player spawns and walks around you and shoots some.Here is an older demo where I just walk around a little.I should make a new recording with the progress since then, but I'm a bit stuck right now. Grrr.

URL: http://forum.audiogames.net/viewtopic.php?pid=317525#p317525





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2017-07-01 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hi there. It's been a while, but I got stuck on technology choices and stuff.Anyway, I'm working on the engine I mentioned and It's been progressing nicely in recent weeks.I already have positional audio and scene definition, basic moving around. Need to add player and movement controls.For now it's a fully declarative way to create a 3d scene. Not an if, not a loop. I'll be looking for developers wanting to try it out and share feedback.Links to demos coming soon!

URL: http://forum.audiogames.net/viewtopic.php?pid=317524#p317524





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2016-04-21 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Howler.js is just the audio. three.js looks really like a graphics library... I didn't see anything but maybe a clock that is useful for anything but Graphics. Thus saying, it would probably be a good thing to plug in for sighted developers to use.It is not you, in any 3d system, there are problems with sounds right next to you. It is like (1,0,0), (1, 1, 0) and (1, -1, 0).So when y is 1, 0 or -1, and x is 1 or -1, it is a little odd.You could google about how to grab touch gestures. Otherwise, it would not be too difficult to program a little app you use and log what is what when you do something on your phone.

URL: http://forum.audiogames.net/viewtopic.php?pid=257814#p257814





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2016-04-21 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


Re: Audio games in the Web Browser

I am yeah, well I have some residual vision, but having worked in a sighted workplace with a _javascript_ guru who is sighted, he put me onto three.js. My only interest in that really is that three.js happens to have implemented 3D sound. My attitude here was really that the camera could also be thought of as a point of view, and the shapes as just a sound source. Ideally, I could even work with someone of a more visual persuasion to make the ideal, an audio game with nice visuals to boot that everyone could play, but that's miles and miles and miles and miles away. I thought of writing my own engine piggy-backing off of three.js, to wrap around some of the complexities, though I'm not even sure there's that many of them unless you stray into some of three.js's fancier visual shenanigans. But it sounds like the OP has some kind of plan for this, sorry I haven't read all the posts in this thread, lazy I know. Hmmm, I wonder if I coded it wrong somehow 
 if it's going a bit wrong when it's next to you. This is all pretty new to me too, really, like I said it was to see if it was possible as much as anything. I've stalled, as I can't think how to fathom touch controls. Anyone here any good with those in a browser setting? I could use your help. Once I'm over that, I'll try and put together a proper prototype that showcases both 3D sound in browsers and proves it works on desktop and mobile. But... I'm getting way ahead of myself again. Apologies! It's just that this is all exciting.

URL: http://forum.audiogames.net/viewtopic.php?pid=257788#p257788





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2016-04-21 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

This is awesome! Are you blind? Because looking at the code you are using canvas and a camera, something I always get super frustrated with!This is not you, but I really don't like the sound when it is next to you because it jumps several spaces farther than it should. This is pretty easy though, just skip the 3 or so spaces that have that sound of being next to you.

URL: http://forum.audiogames.net/viewtopic.php?pid=257761#p257761





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2016-04-21 Thread AudioGames . net Forum — Developers room : truecraig via Audiogames-reflector


  


Re: Audio games in the Web Browser

Not sure if it's too early to share my proof of concept, but I wanted to prove that this 3D sound could work in a browser. This little demo doesn't do much, but you can tab onto the app, move the sound source and see how it changes. http://craigbrett17.azurewebsites.net/games/testAny thoughts?

URL: http://forum.audiogames.net/viewtopic.php?pid=257726#p257726





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2016-03-20 Thread AudioGames . net Forum — Developers 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 every time to use the mic.Couldn't make synthesis work with Chromium 37 in a Knoppix Live CD.It's impressive how the espeak synthesizer could be ported to _javascript_. Requiring the user to have Chrome is good enough for me. Having the meSpeak option (just in case) is great.So, it's possible to have full control on the speech, but I wonder if it would be great to also use the web page as a way to display a lot of structured text info (tables, etc) freely accessible to screen readers. I wonder how it would be possible to use fully controlled speech synthesis and accessible text (eventually with aria) in an efficient and user-friendly way.Just in case, here is a link to an old post about speech in another topic:http://forum.audiogames.net/viewtopic.p … 24#p237424

URL: http://forum.audiogames.net/viewtopic.php?pid=254467#p254467





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2016-03-19 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hello,I just found the coolest thing! The web speech api is now able to be used on Chrome and Firefox and it attaches to your SAPI5 voices:https://hacks.mozilla.org/2016/01/firef … peech-api/It fires an event when the speech finishes, so this allows the creation of apps that are triggered by speech finishing. If someone is running a browser that does not handle the speech API, there is meSpeak.js:http://www.masswerk.at/mespeak/#downloadThis means that it is now possible to have an app that uses SAPI or something similar on the web!!!If someone is using Linux, please let me know what the API does there!Here is an example in brython, it has an html page with a Click me:from browser import document, windowfrom _javascript_ import JSConstructorsynth = window.speechSynthesisdef create_u(txt="Nothing", voice=None):    Utterance = JSConstructor(window.SpeechSynthesisUtterance)    u = Utterance(txt)    if voice:u.voice = voice    return udef my_event(e):    synth.speak(create_u("Hello peoples"))document['b1'].bind('click', my_event)

URL: http://forum.audiogames.net/viewtopic.php?pid=254400#p254400





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-09 Thread AudioGames . net Forum — Developers 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 a file with Firefox: sometimes it works and always works, sometimes it doesn't until some time have passed (maybe until the page is loaded from a web server, I don't know). With Chrome the result is more reliable: it only works with a web server.

URL: http://forum.audiogames.net/viewtopic.php?pid=234400#p234400





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Test successful on my end. Hmmm, sounds like a kitchen door when its opened and closed.

URL: http://forum.audiogames.net/viewtopic.php?pid=234295#p234295





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net Forum — Developers 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





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net Forum — Developers 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 for each sound file. Maybe some more _javascript_ will be necessary. I don't exclude to write all the game in _javascript_ if necessary either, now that I start to understand the "this" keyword and the "prototype" property. I'll try Brython a bit more though.The good thing is that it's possible to give a Brython function to a _javascript_ function as a parameter for a callback. _javascript_ and WebAudio seem to use a lot of callbacks. I have sent the example to the Brython list and mentioned the problem with Ajax. It isn't really a problem because the lower layer can be in _javascript_ as long as it is possible to make callbacks. Reading the documentation, I first thought that ca
 llbacks wouldn't be possible, but they are.In a first version without callbacks the whole loading code was in _javascript_ and a variable was set when the loading was over. The Brython part was polling this variable using the timer module and the function set_timeout(function, ms). Note that, contrary to Python, using time.sleep() isn't really possible in Brython because it would use 100% CPU. The underlying _javascript_ prefers callbacks.

URL: http://forum.audiogames.net/viewtopic.php?pid=234313#p234313





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net Forum — Developers 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 ArrayBuffer.http://jlpo.free.fr/webaudio

URL: http://forum.audiogames.net/viewtopic.php?pid=234289#p234289





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-08 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

[[wow]]! That is pretty awesome, it looks really complex, even in brython though. I'll need to really go through it in order to understand it.It is significantly slower loading than any of the other examples, even though brython is cached in my browser.Have you considered asking on the brython list for the Ajax to be updated?

URL: http://forum.audiogames.net/viewtopic.php?pid=234306#p234306





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-04 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

That slow down effect is so neat!That would also be good for time-shifting, like in the game Lagousy  Of Cane:   Soul Reaver on Playstation, which lets the character go between different worlds.

URL: http://forum.audiogames.net/viewtopic.php?pid=233739#p233739




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-03 Thread AudioGames . net Forum — Developers 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 in a function call).Yes, the initial idea was the sound of music behind the heavy door of a club. To make the door heavier I have used the Audacity effect called "change speed, affecting both Tempo and Pitch", which could be called: "what this object/animal would sound like if it were smaller/bigger?".I wonder if this effect can be done in real time with AudioBufferSourceNode.playbackRate . According to this doc and this example, it is possible, and the parameter can even change during playback:https://developer.mozilla.org/fr/docs/W … aybackRatehttp://mdn.github.io/decode-audio-data/I will try to make an example where you can freeze time and listen to the world slow down (the music, in this example). Then the world would progressively resume at full speed.

URL: http://forum.audiogames.net/viewtopic.php?pid=233712#p233712




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-03 Thread AudioGames . net Forum — Developers 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 simulation would slow down too. Anyway this effect could be interesting to enter menu mode to inform the player that the game is slowing down or freezing while the player is in the menu. Another use is for an acceleration potion or power where the player character have the impression that everything is slowing down, which is very useful because this would give more time for the player to identify the surroundings and make various actions that would be too hard in real time.

URL: http://forum.audiogames.net/viewtopic.php?pid=233725#p233725




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-03 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

nice!I can't wait to check that out when it arrives.Making small steps, turn in to more excitment!!

URL: http://forum.audiogames.net/viewtopic.php?pid=233714#p233714




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Greettings!@SoundMUDWith your 3 examples, using Chrome/Chrome OS,Examples 1 and 2 play and stop without issues,.Example 3 however does not stop nor start audio, but both the stop and open/close door buttons are there, and can be clicked/spaced on.Using the latest dev channel of Chrome OS, currently at v47.

URL: http://forum.audiogames.net/viewtopic.php?pid=233525#p233525




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net Forum — Developers 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 be done with at least one browser.Iceweasel (Firefox) on Linux works too.

URL: http://forum.audiogames.net/viewtopic.php?pid=233559#p233559




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net Forum — Developers 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 completely satisfied by example 5 because the sounds seem to stay on one side of the room. I don't know.

URL: http://forum.audiogames.net/viewtopic.php?pid=233590#p233590




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Oo, nifty!At least with example 5, I am able to open and close the door, and the sound plays.Nice door! Sounds like its in a dungeon.Using Chrome OS 47 Dev channel, just like before.Update!I am now able to open and close the door with music in it. No idea why it wasn't working before.I wonder if it was do to the powerwash I did. This example 4 I'm referring to.Sounds like its coming from a club!

URL: http://forum.audiogames.net/viewtopic.php?pid=233617#p233617




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Oo, nifty!At least with example 5, I am able to open and close the door, and the sound plays.Nice door! Sounds like its in a dungeon.Using Chrome OS 47 Dev channel, just like before.Update!I am now able to open and close the door with music in it. No idea why it wasn't working before.I wonder if it was do to the powerwash I did. This example 4 I'm referring to.Sounds like its coming from a club!Update 2!I tried all 5 examples again, and all work! Closing and opening. So yep, doing a power wash was the cure.

URL: http://forum.audiogames.net/viewtopic.php?pid=233617#p233617




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Oo, nifty!At least with example 5, I am able to open and close the door, and the sound plays.Nice door! Sounds like its in a dungeon.Using Chrome OS 47 Dev channel, just like before.As ya said, something is up with music, but eh, at least I hear the door!

URL: http://forum.audiogames.net/viewtopic.php?pid=233617#p233617




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-02 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Oo, nifty!At least with example 5, I am able to open and close the door, and the sound plays.Nice door! Sounds like its in a dungeon.Using Chrome OS 47 Dev channel, just like before.As ya said, something is up with music, but eh, at least I hear and interact with the door!

URL: http://forum.audiogames.net/viewtopic.php?pid=233617#p233617




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-01 Thread AudioGames . net Forum — Developers 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




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-01 Thread AudioGames . net Forum — Developers 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 has been loaded.

URL: http://forum.audiogames.net/viewtopic.php?pid=233500#p233500




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-01 Thread AudioGames . net Forum — Developers 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: http://forum.audiogames.net/viewtopic.php?pid=233506#p233506




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-10-01 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

[[wow]]!!! That's so cool! Also thanks for the book!3d audio is totally supported and you can see how to use it in howlerJS.I'm delving into _javascript_ currently, but if you did create a library for brython, I would totally use it. brython is just immeasurably faster and cleaner development wise than _javascript_ could ever be.

URL: http://forum.audiogames.net/viewtopic.php?pid=233520#p233520




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-30 Thread AudioGames . net Forum — Developers 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_ (eventually with brython) might be a very good combination. I have googled and tested some web examples with Firefox and they are actually working! The features that interest me most are: low pass filter (to render sound behind you, or muffled sound through a door), room effects (echo), no need to install (as easy as Flash games). Positional audio in 3D would be great, but even with 2D panning there are already a lot of possibilities.So I'll make some small tests very soon!Note: accessiblewebgames.com are probably Shockwave games (a variant of Flash if I remember correctly), not WebAudio games.

URL: http://forum.audiogames.net/viewtopic.php?pid=233360#p233360




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-30 Thread AudioGames . net Forum — Developers 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 combination. I have googled and tested some web examples with Firefox and they are actually working! The features that interest me most are: low pass filter (to render sound behind you, or muffled sound through a door), room effects (echo), no need to install (as easy as Flash games). Positional audio in 3D would be great, but even with 2D panning there are already a lot of possibilities.So I'll make some small tests very soon!Note: accessiblewebgames.com are probably Shockwave games (a variant of Flash if I remember correctly), not HTML5 games.

URL: http://forum.audiogames.net/viewtopic.php?pid=233360#p233360




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-30 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Yep, you are are correct, about the games from that site being shockwave flash.I would love to test your Sound RTS, or any other thigns ya made using HTML5.That'd be neat!

URL: http://forum.audiogames.net/viewtopic.php?pid=233364#p233364




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-29 Thread AudioGames . net Forum — Developers room : StarTrekCafe via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hi.Well.Looking for ways to modify the flash, so I use html 5, css, _javascript_.So how do I modify the tutorial.Got any ideas, or info.Will take a look at this page.But cannot use flash, for the reasons my lectuer noted above.So, can use this as a jumping off point the make flash games site.So want to make this my own.So what modifications would you make.Any suggestions, not to do it for me, but point me in the right direction?As a starting point.So, can any one give me some ideas.Marvin.Ps: was searching for space invaders start up screens, when I came across this.Any ideas.Any tips, tricks, suggestions, links, so then if I try to start searching, could go in the wrong direction, any ideas.Marvin.From: Darrell Klar [mailto:darrell.k...@upskilled.edu.au] Sent: Tuesday, September 29, 2015 4:54 PMTo: Marvin HunkinSubject: RE: did you get my messagesGood afternoon Marvin.The “makeflashgames” site is great and provides a good deal of information in how to structure a build of the game. My concern is that you certainly do not want to use flash as not only is it expensive to purchase the development environment, but Flash is also being actively removed as a standard platform for the Internet.What this means is that HTML, CSS and _javascript_ is preferred to Flash, but you can certainly use the structure and process provided on this page to build in HTML. This will take a bit of modification, but at first glance, there is a LOT of great information here.Obviously, you can’t make it exactly the same, but I know you have some specific ideas and will definitely want to make this project your own.Go for it – use this page as a guide and make the best accessible Space Invaders ever!Regards,Darrell Klar | Senior IT Trainer From: Marvin Hunkin [mailto:startrekc...@gmail.com] Sent: 29 September 2015 16:47To: 'Darrell Klar' <darrell.k...@upskilled.edu.au>Subject: did you get my messagesHi.Just holding off, waitingfor your okay, or do I look for more accessible space invader game engines.And accessibility.So might google accessible flash.And then work arounds for apple and ios, and also accessible text to speech.Waiting for you.Do not want to plagurise, but was looking for start up screens, and found this site.Marvin.This electronic mail/facsimile contains information that is privileged and confidential, intended only for use of the individual(s) named or addresses listed.  If you are not the intended recipient, any dissemination, copying or use of the information is strictly prohibited.  If you have received this transmission in error please delete it (including any attachments) immediately from your system and inform us via email at: i...@upskilled.edu.auIt is the recipient's responsibility using this form of communication to virus scan or otherwise test this email prior to opening any files attached. The author will not be liable to you or any other person for any loss or damage (including direct, consequential or economic loss or damage) however caused and whether by negligence or otherwise which may result directly or indirectly from the receipt or use of this communication or any files attached to it.

URL: http://forum.audiogames.net/viewtopic.php?pid=233281#p233281




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-22 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

I have found:https://github.com/goldfire/howler.jsand it seems to do everything I could possibly need from an audio library.

URL: http://forum.audiogames.net/viewtopic.php?pid=232557#p232557




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-20 Thread AudioGames . net Forum — Developers room : Socheat via Audiogames-reflector


  


Re: Audio games in the Web Browser

Well, this is an interesting idea. can't wait to see this!good luck!

URL: http://forum.audiogames.net/viewtopic.php?pid=232299#p232299




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-18 Thread AudioGames . net Forum — Developers room : aaron via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hello,This could be interesting. I'd love to see some little arcade style games at first, as that's what used to happen a lot of sighted folks used to play little flash games. Gamevial did some stuff similar, but it'd be awesome to have some more.

URL: http://forum.audiogames.net/viewtopic.php?pid=232164#p232164




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-18 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector


  


Re: Audio games in the Web Browser

Apparently, trying to work on stuff offline is not allowed, due to http requests and some paranoid security measures. So I'm tapping out.

URL: http://forum.audiogames.net/viewtopic.php?pid=232192#p232192




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-18 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hey!Have a look at this!http://www.html5rocks.com/en/features/offlineAlso see:http://labs.ft.com/2012/08/basic-offline-html5-web-app/

URL: http://forum.audiogames.net/viewtopic.php?pid=232196#p232196




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-18 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

What do you mean? Sometimes it is a really good idea to setup a localhost server like the one django comes with, WAMP comes with or brython comes with. But I haven't had any problem yet.

URL: http://forum.audiogames.net/viewtopic.php?pid=232193#p232193




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-18 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

And I'll be sure to check it out on Chrome OS over here.Good luck, and thanks for going above and beyond the call of Markup Language!

URL: http://forum.audiogames.net/viewtopic.php?pid=232172#p232172




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-18 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

There are 2 directions in which a web developer could go.1. use existing HTML elements to present game info. These could be things like menus and dialogues.The other option is to do what those old flash games did and just make custom elements and whatnot.I am in the midst of making a black jack game exploring both of those elements.

URL: http://forum.audiogames.net/viewtopic.php?pid=232170#p232170




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-18 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hello,I have sat down and hacked out a working player for sounds using the web API. It just plays sounds atm, but that is all I need it for currently. How it works is how it should, you make a sound by typing:sound1 = Sound("sounds/my_sound.ogg");and you play it in the way that one would think:sound1.play();var bufferLoader;  window.AudioContext = window.AudioContext || window.webkitAudioContext;    var context = new AudioContext();function BufferLoader(){    this.urlList = [];    this.bufferLoader = function(sound){        var request = new XMLHttpRequest();        request.open("GET", sound.url, true);        request.responseType = "arraybuffer";        request._onload_ = function(){            //decode the aud
 io data            context.decodeAudioData(request.response, function(buffer){                if(!buffer){                    alert("Error decoding file data: " + sound.url);}                else{                    sound.buffer = buffer;}                },            function(error){                console.error('decodeAudioData error', error);}            );            }        request._onerror_ = function(){            alert('BufferLoader: XHR error');&
 nbsp;       }        request.send();        }    }bufferLoader = new BufferLoader();function Sound(url){    this.url = "" />    this.buffer = null;    this.source = null;    bufferLoader.bufferLoader(this);    this.init = function(){        this.source = context.createBufferSource();        this.source.buffer = this.buffer;        this.source.connect(context.destination);        };    this.play = function(){        this.init();        this.source.start(0);    }}//example:var s = new Sound("sounds/smack1.wav");//I have an html file with a button on it that accepts keyboard inpu
 t when ever a key is down and calls the below function.function handler(e){    var key = e.keyCode ? e.keyCode : e.charCode;    if(key === 32){        s.play();    }}

URL: http://forum.audiogames.net/viewtopic.php?pid=232140#p232140




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-09-07 Thread AudioGames . net Forum — Developers room : devinprater via Audiogames-reflector


  


Re: Audio games in the Web Browser

Yeah, I'd love to have audio mario in the web, lol. That way, I won't have to have Windows to just play a game with braille display support, lol.

URL: http://forum.audiogames.net/viewtopic.php?pid=231102#p231102




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-08-25 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector


  


Re: Audio games in the Web Browser

Did anything ever come of this? Id definitely appreciate some sort of JS sound engine at least somewhat comparable to the old IE6 embed player, in terms of ease-of-use.

URL: http://forum.audiogames.net/viewtopic.php?pid=229257#p229257




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-23 Thread AudioGames . net Forum — Developers room : Sik via Audiogames-reflector


  


Re: Audio games in the Web Browser

frastlin wrote:How does initial loading of sounds work? Is it fast? If I have like 500 sounds, will it take ages to load?Initiating 500 connections to the server... um... If you can get it all into a single request its not an issue, but asking for each file separately is going to be a really serious issue. Is there a way to get a sound off a ZIP archive or something like that? Because that would solve the issue and your only real problem will be filesize. I know Pixiv does it to store animated images as a sequence of JPEG files, so maybe it can be pulled off with audio files too.

URL: http://forum.audiogames.net/viewtopic.php?pid=217505#p217505




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-22 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Thats something that Ill have to figure out some day. Loading assets for a web game has lots of options.You can group sounds in packages assigned to locations and have a loading step between locations.You can assume your sounds are small enough, and load them as you go (except for the most basic ones)Finally, you can do what regular games do and just make your players wait for the whole thing to download.Theres a balance to everything. Depending on the size/length of the sounds and dynamics of the game, even the second option, to stream the sounds when needed, makes sense.For me, the biggest conceptual problem in building an engine is sound proof obstacles. Imagine a labyrinth, where something waits behind a corner. I should emit the sound from the edge of the corner in front of the player instead of the actual location of the thing.So to make it work, Id have to use a pathfinding algorithm for walking the w
 alls until I find an edge that is visible to the player. But in reverse. So its an equivalent of ray tracing for sound. And once I find the location or locations where the sound should be heard, I emit the sound from those location and decrease volume based on the distance. Now add echoes. I dont think Ill implement that in the first version...

URL: http://forum.audiogames.net/viewtopic.php?pid=217380#p217380




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-22 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

How does initial loading of sounds work? Is it fast? If I have like 500 sounds, will it take ages to load?I like to have good object processing. So my map object will have 50 item and monster objects and 20 wall objects. When a monster or item comes into the range of 50 squares, their sounds starts playing as quiet as possible. Then if nothing happens, their sound stops playing when the player/listener gets out of range.If the listener gets closer then the sound will get louder using the 3d algorithms.Not being able to use these sounds is the only thing keeping me from building a _javascript_ game.

URL: http://forum.audiogames.net/viewtopic.php?pid=217373#p217373




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-18 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Ya know what folks, I forgot about the game Stem Stumper!If you havent checked out its web version check it out here!For more info about Stem Stumper in general, plus to download either the Android or IOS app, have a look over hereI can safely say, it works with Chromevox under Chrome OS/Chrome Browser, though I have no idea how it will work under anything else. Thats with any other browser, nor screen reader.

URL: http://forum.audiogames.net/viewtopic.php?pid=216776#p216776




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-17 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Thanks Trenton, Im asking because I believe game engine should deliver tools that let you comfortably create worlds with minimal programming required, so Im thinking of making an editor that would be close to what people already use comfortably.Frastlin, first of all, congrats on your memory What you describe is a little hard to understand without being a person with your exact context and previous experience, but most of the things seem doable with my current understanding of web audio api.I dont get why youd want to operate on sound arrays though. Sounds to me like a lot of unnecessarily convoluted procedural programming. My idea for an engine is to provide a way to build the world declaratively, from objects having position, dimensions and sounds, and control them in an event-based environment. So, instead of working on an array and deciding
  everything in every iteration of your main loop, youd declare a sound to play on collision with the object and never worry about it again. Interactive items could have sounds attached to events, and youd just trigger events on them.I dont know about using massive numbers of sounds. Well know when theres a prototype. I have no idea what the limits of web audio are, but they mostly depend on browsers, so you can expect worst performance on apple products. Browser support for web audio is limited to new browsers, and Im going to detect the support.Anyway, my idea is an engine, not just an audio manager.The engine would include:- methods for declaring and manipulating sound emitting objects in space- methods for manipulating the main character/listener- built in collisions- built in doppler effect based on distance change between listener and object- built in basic management of sound nodes (removing
  items that are too far, to free up resources)- access to lower level api to add custom hacks (including the ability to add an effect on all sounds globally)- 2 or 3 steering mechanics (for touchscreens and desktops) and hooks to build your own- rendering quality setup (webaudio has support for binaural sound, but its cpu intensive and some games on some devices will have to switch to basic stereo, the limit of sounds in a scene can be changed, doppler on/off)- maybe a game menu implementation- tools for level editing both using vision and not (text based or in-game)The above is not a promise, nor a declaration, but a list of items I have ideas for.All comments are helpful, Im just building my own vision of the project at this stage.

URL: http://forum.audiogames.net/viewtopic.php?pid=216758#p216758




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-17 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

I am looking for an easy way to process lots of sounds in 3d space, so if you had a sound manager class that would let me attach sound objects, move a listener and set the max sound attenuation distance, it would be perfect.I will have a sound array for each section of the map, so being able to swap out either the whole sound array or parts of the array would be nice.A sound object could have the source (the arg you pass in), the volume, play, pause, stop, seek, loop, panning, pitch, (possibly reverb) and position.The listener would have position in x, y, and facing (h).The other things in the sound management would be the sound array, the process call (that I can use in my main-loop to check and play all the sounds in the sound array), attenuation (how far till the sound fades away to 0) and the listener.Another thing that could be given to the audio manager is an environment. So if we are in a cave, everything will be given an echo.This is how
  it is done in most game audio managers that I know of, but I think the way they have set it up is a little different. I think they chose the node approach, but the above approach is a little easier and faster to use for the programmer.I would not want to program checks, so, say I use ogg files, and the person has IE 9 or something that doesnt support .ogg files, there can be an error saying to change to fire fox.How difficult would it be to do this?

URL: http://forum.audiogames.net/viewtopic.php?pid=216749#p216749




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-17 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

I just memorize the directions. I dont really write out anything ever. Entombed is really the only game where the floors were too big for me to remember. So I do like the nearest unexplored space and directions to the up or down stairs in Entombed because of that.

URL: http://forum.audiogames.net/viewtopic.php?pid=216750#p216750




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-15 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Thanks for the link to the letsplay. Its great (although its hard to listen to it outside, or in public transport, so Im at 40 minutes now)You guys convinced me that this project is a good idea. Thanks!Ive got one more question. It seems unrelated, but I have use for it.How do you make and read maps while playing text games or MUD or audio games with labyrinths?

URL: http://forum.audiogames.net/viewtopic.php?pid=216484#p216484




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-15 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Some folks will open up a note pad, while games such as Sarah And Castle Of Whichcraft And Wizardry have a map system built-in.The original Sarah 2007 demo can be found here:http://www.toltbbs.net/pcsgames.net/games/Sarah10.exe, while the 1.1 patch which changes up a few things can be found here:http://www.toltbbs.net/pcsgames.net/gam … Patch4.exeIts 2012 1.2 promo can be found here:http://www.toltbbs.net/pcsgames.net/gam … 2promo.mp3Sarah, who Ive known for years, is the Sarah featured in here.

URL: http://forum.audiogames.net/viewtopic.php?pid=216485#p216485




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : pitermach via Audiogames-reflector


  


Re: Audio games in the Web Browser

Getting a screen reader to play with a web application is actually very easy, this is exactly what the aria application roll was designed for, to mark an area of the page that should accept direct keyboard commands. It causes screen readers like NVDA and JAWS to automatically enter forms mode when you press enter on it or when the page automatically focuses it. The other good thing is that it doesnt stop things like live regions from working, so you can speak game messages through the screen reader if you want.

URL: http://forum.audiogames.net/viewtopic.php?pid=215796#p215796




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hi guys,Ive found something about accessiblewebgames.com. The games are still available to play, because I just played bat and ball a minute ago. Let me tell you how to play them, and I will be recording a podcast on it as well.You have to go to accessiblewebgames.com. Preess alt plus 2 if you have internet explorer, or alt shift 2 if you have firefox... thats all the browser I use so I dont know any other keystrokes. Anyways, that will either take you to the games page, or take you a link called Play blind games. (Blind games? rofl).Anyways, on that page you find all the games. Its kind of hard to get to them since your screen reader has to be off... if it is jaws anyway.But yeah, Ill try to do a podcast on it so stay tuned for that. But in summary, there are broken links on the site, but on the play blind games page the links work.

URL: http://forum.audiogames.net/viewtopic.php?pid=215835#p215835




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

How do people normally get text files from bookshare so the punctuation is decent? I downloaded _javascript_ the good parts and here is what the hello world example looks like:documentddwritelngg`Hello, world!`); I believe it is supposed to be:document.write(Hello, world!); or something like that, but Im not 100% sure.What I do is download the brf file and open it in dbt, then press ctrl+T and translate it into text and then copy and paste that into a text file. But it comes out with errors like this.How do you get around this?

URL: http://forum.audiogames.net/viewtopic.php?pid=215836#p215836




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

For Papa Sangre Lets Plays, take a visit on over to:http://pg13.tk/?s=Papa+Sangre, both Papa I and Papa II are up there for your listening enjoyment.I was among the listeners during Papa IIs original LP broadcast.

URL: http://forum.audiogames.net/viewtopic.php?pid=215861#p215861




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Lets take it a step closer to happiness as it were... Heres direct link!http://www.accessiblewebgames.com/playblindgames.htm, though that play games link is at the top of the page, below the home link.As a side note: for Access keys if using Chrome OS at least, numbered Access keys are inercepted by Chrome OS itself, since they are used for opening programs on the doc, unless you add shift to them. It depends on what web site youre on.

URL: http://forum.audiogames.net/viewtopic.php?pid=215845#p215845




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

I figured it out, there is an XML file in the daisy download and when you open that in the web browser it shows everything.I think the similarities between python and _javascript_ are what makes it so easy to convert between the two languages.Being able to tell where sounds are does take practice, but there are people who are incredibly good. Mostly because Swamp and Shades of doom use directional panning really well.In swamp for example, there are people who can hear a creature start sounding at almost 0 and be able to aim and shoot it in one action without any kind of radar.

URL: http://forum.audiogames.net/viewtopic.php?pid=215956#p215956




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Audio games in the Web Browser

Yeah, Trentin, I didnt consider Crome OS since Its so rarely mentioned, at least where I am. But yeah, thanks for the link. I did forget to mention that at least for windows, the play blind games link is, literally, one or two presses of the down arrow from the top of the page. lol.I also find that if you play these games in firefox, it is possible to have your screen reader active, it pretty much puts it into forms mode without saying so. So, internet explorer doesnt allow your screen reader to be on, theres not even an application region, but firefox does--and weve pretty much already established that Firefox is better in terms of accessibility anyway. Just make sure your shockwave is updated.

URL: http://forum.audiogames.net/viewtopic.php?pid=215847#p215847




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

I think Ill start working on the engine this summer. I listened to the trailer for Papa Sangre and its undoubtedly great quality, but I couldnt place quite a lot of sounds. I could only imagine exact location of the most obvious sounds. But it probably comes with some practice.Ill get more into playing later.@EntombinatorAll cool things you listed about python are available to me in _javascript_. I agree Python is much better for beginners if they want to learn to use it correctly. But in terms of features for experienced developers, those languages are pretty close. Did you try mobi format? It might be more readable (if its not a conversion from PDF)One more thing I can recommend, but with the sidenote that I disagree with some things and think others are a little old-fashioned: http://addyosmani.com/resources/essenti … erns/book/

URL: http://forum.audiogames.net/viewtopic.php?pid=215856#p215856




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-11 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Lets take it a step closer to happiness as it were... Heres direct link!http://www.accessiblewebgames.com/playblindgames.htm, though that play games link is at the top of the page, below the home link.As a side note: for Access keys if using Chrome OS at least, numbered Access keys are inercepted by Chrome OS itself, since they are used for opening programs on the doc, unless you add shift to them. It depends on what web site youre on.A Quick UpdateSadly, Chrome OS only supports Flash, not Shockwave. So, Chrome OS users are out of the running.On the bright side, I am hoping more HTML5 games come out...Only one I know of involves finding cats.Im gonna have to look for that link again...Its on here among the archives though...Hmmm... An HTML5 maze game would be nifty!

URL: http://forum.audiogames.net/viewtopic.php?pid=215845#p215845




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : pitermach via Audiogames-reflector


  


Re: Audio games in the Web Browser

HRTF is something many audio games developers are very much missing in their games. People may be used to playing games, even ones that are 3d in stereo, but thats only because 90% of them have been built using direct sound 8 which only really supports stereo audio, and eax effect support was dropped post XP. The way developers solve the lack of behind sound problem is by doing one of 2 things, either lowering the volume or decreasing the pitch, both of which are quite bad.The few games that use HRTF work great for just about everyone I know. A few examples are the somethin else games on iOS (papa sangre, nightjar, audio defence). I wouldnt be surprised if you actually make this engine, youd get quite a few devs getting into js just for that reason alone.

URL: http://forum.audiogames.net/viewtopic.php?pid=215700#p215700




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

I found accessiblewebgames.com before, when I searched for game examples, but after some clicking I concluded its not maintained anymore and I couldnt try any games.

URL: http://forum.audiogames.net/viewtopic.php?pid=215695#p215695




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hmm,, that is a pitty. Although, I feared something like that would happen since accessible web games.com is quite old and hasnt had much in the way of additions recently.

URL: http://forum.audiogames.net/viewtopic.php?pid=215740#p215740




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Weee! I found the specification of web audio API and it has proper spacial sound built in. One more thing for free! http://webaudio.github.io/web-audio-api/#SpatializationI finally went and read about what brython is. With all due respect - it doesnt look like a good idea to say the least. Its like well let you write _javascript_ without writing _javascript_ and all that on top of an abstraction layer that you wont understand and that will slap you in the face every time you attempt something we didnt anticipate. I saw a few abstractions on top of HTML and _javascript_ in my career and Ive seen disappointed users, because it all only worked at first and sooner or later, hit the wall.If you want to learn _javascript_ and you already are a programmer, there
 9;s a very old book called _javascript_ - the good parts that you should start with. After that, theres an article Two pillars of _javascript_ that explains that there are better things in life than Object Oriented programming and class hierarchies.But back to what I wanted to say - I dont see any advantages in brython as a tool for creating browser audio games other than you already know python. Id aim for something more focused on putting objects in 3D space and rendering them with sound only.

URL: http://forum.audiogames.net/viewtopic.php?pid=215691#p215691




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

As I use a chromebook full time, I cant wait for any! html5 based web audio games to come out.Very pleased that someone is willing to take on a project like this!

URL: http://forum.audiogames.net/viewtopic.php?pid=215657#p215657




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : Hektor via Audiogames-reflector


  


Re: Audio games in the Web Browser

naugtur, I would suggest trying out some games listed on this site. It is definitely possible to make a game where you navigate an environment with sound alone. On IOS, a company called Something Else has created a few audio only games that do this. Ive also played games like Audio Quake and Shades of Doom which allow the user to navigate with audio only. I also think Sam Tupys new game uses sound primarily for navigation. None of these are games played in a browser, but that is largely because it wasnt really much of an option until the new Audio API was supported by browsers--and as you have noticed _javascript_ isnt much used in this community write now largely because most people are writing games to run natively on the OS. However, I could see that people might become interested in this option if there was some API available that helped hide the low level stuff. While some of the game developers have 
 quite advanced knowledge of development, many of our game designers are hobbyists and only beginning to develop coding skills

URL: http://forum.audiogames.net/viewtopic.php?pid=215665#p215665




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Audio games have become very advanced, check out Swamp, Paladin of the sky, tactical battle, Entombed or Shades of doom to get a taste of what people expect from an audio game.I use panda3d and or pyglet for python audio game development, so I am used to something like OpenAl. I believe they copy the ideas behind what OpenAl does, but it is the different html requests I have a problem with.Do you know any other languages?Do you know any good _javascript_ tutorials that have you building or learning why you are doing some of the horrible things they have in _javascript_?I really want to learn it so I can develop brython, but currently I am just too horrified at all the antipythonic structures _javascript_ has. I think it is even worse than C++...So I would really like to change my opinion!The best way is to make something we can use in brython. There are a lot of people learning python and brython is super easy to learn. Python is also a lot better for
  beginners in general.

URL: http://forum.audiogames.net/viewtopic.php?pid=215667#p215667




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hey, this forum is teaming with life! Good to see.Thanks for confirming stuff.frastlin, _javascript_ has some weirdness in it for historical reasons, but when you know what to avoid, its a great language.One of the greatest things is that you can do with a function everything that you can do with any plain object.Anyway, to the point.Web Audio Api lets you define a 3D situation and it adapts sound ballance and loudness correctly for you. So if you define the listener direction (which Id call nose placement) it will change the loudness of sound based on that fact. The strength of that effect can be configured and I have no idea how strong it should be. My plan for the engine is to hide all low level crap, so for a static audio scene programming wouldnt be needed at all. The more declarative it is, the better. Interactions and item/character scripting would be done with some functions.Im still not sure if it
 s a project that has potential. Id like to put some effort in it and maintain it for a long while. But Im afraid theres not enough people to use it. Whats an engine without games built with quality sound and voice acting? Other questions:Is it possible to navigate a location (room, street, park) with just stereo sound in a game? I read the description of audioquake project and they claim its working, but could you point me to more details on how to find walls without hitting them or having a lame voice saying how far is one? Also, with growing popularity of audiobooks, I think playing a game like that would be considered a great and relaxing thing to do for sighted people as well. Is that happening already? Im new to the concept 

URL: http://forum.audiogames.net/viewtopic.php?pid=215640#p215640




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hey all... Im not sure if you all have heard of this or not, but http://www.accessiblewebgames.com has games such as are being discussed in this forum topic. From the times Ive played their games, I can assure you its not just some ambitious scam or something, unless they took their games down since I played them two years ago. But yes, this is just proof that such games can, and have, been made.

URL: http://forum.audiogames.net/viewtopic.php?pid=215670#p215670




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hey all... Im not sure if you all have heard of this or not, but http://www.accessiblewebgames.com has games such as are being discussed in this forum topic. From the times Ive played their games, I can assure you its not just some ambitious scam or something, unless they took their games down since I played them two years ago. But yes, this is just proof that such games can, and have, been made.Edit: Yes, all of the games are still there. They have racing game, three D games, and maze games. There are not many games there... but yeah.

URL: http://forum.audiogames.net/viewtopic.php?pid=215670#p215670




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

No way!Why is this the first time I am hearing this?Thanks for sharing that!I bookmarked it.They got 40 games on there it looks like...Will be checking this out for sure!

URL: http://forum.audiogames.net/viewtopic.php?pid=215678#p215678




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Thanks for all the replies, Ill try to check things out (if they work on linux  ). I wrote a long post, but something glitched and I lost it... Anyway, I found this: http://gamedev.stackexchange.com/questi … l-3d-audioAnd I wanted to know if Binaural sound and HRTFs (Head-related transfer functions, see wikipedia, the forum wont let me add more links) are really that important for the game experience. I dont think html5 audio supports them (but didnt check yet)On the other hand I read that everybodys ears are different enough so that the brain only adjusts to Binaural sound over time. HRTFs available in software are based on measurements from one fake rubber head.So my question is, from your experience, is Binaural sound that much better than stereo with adjustment for the sound being quieter when behind you? Does it make sense to create an engine that wouldnt support binaural sound?

URL: http://forum.audiogames.net/viewtopic.php?pid=215680#p215680




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

No, stereo is what people are used to. You should really play some of these games so you can see what they are like.I wonder if Thomas Ward could comment, he develops on linux, so he may know what games you can play.But honestly 90% of the game engine is dealing with basic audio, speech, saving stats both through post and in the browser and keyboard input.Doing everything with brython is 3 lines max for each thing, except for audio. That is the only thing keeping me from puting out html5 games.

URL: http://forum.audiogames.net/viewtopic.php?pid=215683#p215683




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-10 Thread AudioGames . net Forum — Developers room : Trenton Goldshark via Audiogames-reflector


  


Re: Audio games in the Web Browser

Seems links on the Accessible web Games site are gone, but dont quote me on that.Well, the games inside the games directory itself.

URL: http://forum.audiogames.net/viewtopic.php?pid=215687#p215687




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-09 Thread AudioGames . net Forum — Developers room : naugtur via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hi,Im a seasoned _javascript_ developer and recently I got an idea for a sound-only 3d engine for games and exploring virtual environments. Then some nice people pointed me to this forum. Now I need to learn a few things about audio games before I decide if my idea makes sense. Anyway, it seems not so hard to:- position sound in 3d- define sound direction and hearing direction (rotating your head, kinda)- add doppler effect for moving items- handle touchscreens on any smartphone (the game would work on any modern browser)What I dont know is what is the current state of 3d audio games in other technologies. Is stereo sound enough nowadays, or is something better being used?If I made the engine, how many people should I expect to use it? _javascript_ doesnt seem popular here. Also, if I made tools for editing the virtual space, should they be targeted at visually impaired, or are most developers sighted anyway?

URL: http://forum.audiogames.net/viewtopic.php?pid=215523#p215523




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-09 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector


  


Re: Audio games in the Web Browser

a few helpful hints.1. most games now a days use stereo movement, indeed, you were pretty much right on your post in your descriptions. Most of the developers here are actually blind or visually impaired. There are a few who have sight, though. It would be wise to gear the editing towards blind users, however if it would be possible to make it usable for sighted people that would definitely be beneficial.Hope this helps.

URL: http://forum.audiogames.net/viewtopic.php?pid=215529#p215529




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: Audio games in the Web Browser

2015-05-09 Thread AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector


  


Re: Audio games in the Web Browser

Hello,I would really like some help with understanding the Web Audio API and getting a sound source to run. I am horrible at _javascript_, but am really good at using python withbrython.I think that what needs to happen is more audio games in the browser.For an audio game, really all you need is 3d sound. If you can get sound like Swamp, it would be perfect! For me, I would like to know how to do:1. load a sound2. set a sound in space3. unset a sound in space (so it is not checked in the loop if this is a memory problem after many sounds)4. move the listener both through the coordinates and change the facing direction.Does the web audio API change the sound to be lower sounding when it is behind the listener? That would also need to be something I would need for an audio game.If you do not know python and cant help directly 
 in brython, I really just need to know how to create and use an audio source. The examples I have seen look so horrifying that I am completely lost (defining functions within the call of another function? )There are a few sighted developers on this forum but most are not.

URL: http://forum.audiogames.net/viewtopic.php?pid=215531#p215531




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector