[Plugin] : Microphone record & compress

0 favourites
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • Pode

    First, thank you again for all the great plugins you kindly share with us!

    I am starting to work in a project in which this mic plugin is a great help. But when I tested it here there are some issues:

    • it is working here only in Opera and FF, in Chrome and IE it shows the flash panel but I can not select the "allow acess" tick.
    • the first capture is working ok, but the next ones no. How can I discard the first capture and capture again.

    Thanks

  • hi Pode

    Well I did some changes in the .capx file you have created, mainly removing the .mp3 (capture/encode/play) functions, put the "Init Microphone" action in the "Start of Layout" event and do not hide the 'Flash Microphone Panel" and now is working well in all four browsers, IE9, FF, Chrome and Opera. I changed too the "Save" action but it needs more develop, the main issue is than you can not clean the "AudioBase64" object string, setting "" to it, because do not work. So I am destroying and creating new "AudioBase64" objects for each "Play" action.

    My altered .capx

    But I found a post in with the author explained another method of obtain HTML5 "camera-and-microphone-access", so I wanna ask if you think it is better than the one you did? If it is, do you know how to put it in yours or a new plugin?

    HTML5 Camera and Microphone Acess

    Thanks

  • NRABrazil : I need to do some changes to the plugin. The post you are linking to is talking about getsUserMedia(). For the moment, the microphone support is broken with it (it's only working on Chrome Canary if you want to use the audio stream for something else than sending it, and the user need to explicitly allows it by checking a flag in the Chrome options).

  • Ok Pode,

    If I understand right the getUserMedia() only does the audio stream, not converting the capture in .mp3 or .ogg files? And i need that conversion!

    About the changes you said in your plugin, do you have some schedule to do or finish it? And what are the changes?

    Thanks your attention.

  • NRABrazil : getUserMedia() does only streaming, no file compression (and although gUM() is going to be supported on all browser, there's no mention anywhere in the HTML5 specification of any browser native MP3 or OGG compression !)

    About the plugin, I'm going to check for the bugs (hidding/showing the panel), and what you are talking about in your post.

    For the timeframe, I don't when I'll can do it, I think it's going to be before the end of next month, but I can't promise anything.

  • Thank Pode

    Good news!

  • Pode

    Hi, I resumed the development of the app in which I will use this plugin, and I did some changes in your capx demo and is working well. Except than in Google Chrome and IE9, when the flash popup appears, to the user allow the acess, the "remember" checkbox and some other options, in other tabs, are not working, what do not happening in Firefox and Opera. Could you take a look?

    Here is my modified capx:

    MicrophoneC2_demo_2

    And Pode, how much is the time limit for audio capture with your Mic Plugin?

    Thanks again.

  • Pode

    I forgot to mention that the export WITH minified is not working!

  • NRABrazil : wow ! That means I have a lot to do to make it works better...

  • Pode : Well, you are the boss, you must know!

    But until now, yours plugin is the ONLY way to capture audio in a HTML5 Web App! <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

  • NRABrazil : if you want the truth, I'm head of R&D and gamedev projet manager in my company. I'm no longer a freelancer, my "free" time is now very sparse, that's why all my plugins didn't got a lot of love from me lately...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Pode

    That is suc6 u have earned!

    Congrats on that.

    And we are just glad with the time u already spend on construct2.

    Kind Regards.

    Savvy001

  • & : thanks for the kind words !

    I'm pushing the use of HTML5 in our workfklow (we are still doing everything natively, C/C++), but the plans are going to HTML5 in the following months. If we can, Construct2 will be integrated in the workflow. To let you imagine the effervescence, the company next door has some three.js creating working part time with them. I'm planning to integrate Kinect into C2 via a plugin, and a few other ideas (node-opencv into node-webkit...) !

  • Oh, and by the way, anybody saying that Flash is dead didn't work in a gamedev team, trying to find any tool matching the capabilities of the Flash IDE ! (If anybody has something close to show, he's going to revolutionize a whole industry !)

  • Great Pode

    Congrats for you! I hope you have sucess in HTML5 development.

    Thanks anyway.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)