Glube from Junk and audio issue
08 December 2014 10:38
This was a quick test.
Click on the pipes.
Audio works pretty much as planned in Chrome, but can get a bit screwy.
Audio screws up right away in Firefox.
Audio does not play with IE.
http://www.trepaning.com/b4w/glube-b4w-musical-01.html
Let me know if it works on mobile.
It is a 6 meg file.
Click on the pipes.
Audio works pretty much as planned in Chrome, but can get a bit screwy.
Audio screws up right away in Firefox.
Audio does not play with IE.
http://www.trepaning.com/b4w/glube-b4w-musical-01.html
Let me know if it works on mobile.
It is a 6 meg file.
08 December 2014 11:43
Hi, this is really a nice idea.
Unfortunately, the NLA script is not the fastest solution to play on something with the minimal delays. Using low-level picking API should get you better results (see pick_object() from scenes module).
You may also consider using external keyboard together with the Web MIDI API. And finally, with midi.js, it's even possible to play midi files as shown in the demo here.
Unfortunately, the NLA script is not the fastest solution to play on something with the minimal delays. Using low-level picking API should get you better results (see pick_object() from scenes module).
You may also consider using external keyboard together with the Web MIDI API. And finally, with midi.js, it's even possible to play midi files as shown in the demo here.
Blend4Web Team
https://twitter.com/AlexKowel
https://twitter.com/AlexKowel
08 December 2014 20:12
My preference is for a non-coding solution with the "no-code required" software, but pipe dreams are easy to come by.
Will the audio ever work in IE?
Is there a way to overcome the looping error in Firefox?
Is it possible to implement an "Or" function in the NLA logic blocks, so clicking a pipe produces sound from speaker A OR sound from speaker B OR etc.
Will the audio ever work in IE?
Is there a way to overcome the looping error in Firefox?
Is it possible to implement an "Or" function in the NLA logic blocks, so clicking a pipe produces sound from speaker A OR sound from speaker B OR etc.
08 December 2014 21:43
Understood.
The Web Audio API in IE is in their TODO list (however I cant say when they'll do it actually)
The Firefox looping issue is some kind of a bug, I'll check it later.
About "Or" function: is what you really need is randomization, or a boolean operation?
The Web Audio API in IE is in their TODO list (however I cant say when they'll do it actually)
The Firefox looping issue is some kind of a bug, I'll check it later.
About "Or" function: is what you really need is randomization, or a boolean operation?
Blend4Web Team
https://twitter.com/AlexKowel
https://twitter.com/AlexKowel
09 December 2014 03:10
random selection of multiple speakers assigned per tube would be awesome. This is just a test, not a "serious" project, but something I would build upon if it was readily available. And by "it". I mean working audio in at least Chrome and FF, and a random selector of audio sources.
09 December 2014 08:33
When I first decided to do an animation project with the Junk musical set, it was just going to be an animation. However, because I had previous experience with ThreeJS, I started testing in that environment. It came to the point where I was ready to bring in characters
http://www.trepaning.com/3js/elvisWalls/2014-10-15-instruments.html
However, Sea3d was the character file format I was familiar with for ThreeJS
http://www.trepaning.com/3js/SEA3d/elvisJUNK.html .
Using Blender exclusively now, Sea3D was no longer an option, as it is only for 3D$ Max. Thus, I found Blend4Web. I mention this little history to demonstrate I could find alternate ways to make my project work, but I like this B4W effort, so am tossing out some ideas that may be handy for development. That said, I am not taken aback being told to shut up.
Here is a page that when you shoot the ball and it hits the floating plank, it switches to another page. Give the world that in B4W!
http://www.trepaning.com/3js/elvisWalls/pageChange-eventTriggered.html
http://www.trepaning.com/3js/elvisWalls/2014-10-15-instruments.html
However, Sea3d was the character file format I was familiar with for ThreeJS
http://www.trepaning.com/3js/SEA3d/elvisJUNK.html .
Using Blender exclusively now, Sea3D was no longer an option, as it is only for 3D$ Max. Thus, I found Blend4Web. I mention this little history to demonstrate I could find alternate ways to make my project work, but I like this B4W effort, so am tossing out some ideas that may be handy for development. That said, I am not taken aback being told to shut up.
Here is a page that when you shoot the ball and it hits the floating plank, it switches to another page. Give the world that in B4W!
http://www.trepaning.com/3js/elvisWalls/pageChange-eventTriggered.html
09 December 2014 10:41
random selection of multiple speakers assigned per tube would be awesome. This is just a test, not a "serious" project, but something I would build upon if it was readily available. And by "it". I mean working audio in at least Chrome and FF, and a random selector of audio sources.That is now possible through coding only, as it is too advanced task for the NLA Script for now.
Here is a page that when you shoot the ball and it hits the floating plank, it switches to another page.Just to mention - it appears that cannon.js physics is not frame independent - I get very different ball fly speed at 60 and 300 FPS.
Give the world that in B4W!Sure! Our guys are now preparing the other parts of the gamedev tut to demonstrate these and other possibilities.
09 December 2014 11:03
more important than random selection is both Chrome and FireFox to handle the audio properly. IE would also be nice.
cannon.js is not being updated, so far as I can tell, and has not been for awhile.
I look forward to reading what the team comes up with!
offtopic: Here is a paper towel rack my dad had made, I made it as b4w for a quick test
http://www.trepaning.com/b4w/susieTowel.html
cannon.js is not being updated, so far as I can tell, and has not been for awhile.
I look forward to reading what the team comes up with!
offtopic: Here is a paper towel rack my dad had made, I made it as b4w for a quick test
http://www.trepaning.com/b4w/susieTowel.html
09 December 2014 11:15
more important than random selection is both Chrome and FireFox to handle the audio properly. IE would also be nice.Could you please post here the source files for your test case (including sounds). That would speed up the bug fixing process much. Thanks!
cannon.js is not being updated, so far as I can tell, and has not been for awhile.Yeah this isn't an easy job, to make a full-fledged physics engine.
I look forward to reading what the team comes up with!Stay tuned, there will be some cool things by Christmas.