Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on June 16, 2012, 04:34:28 AM
-
Hi,
Ok, after a user request:
http://hutonggames.com/playmakerforum/index.php?topic=1739.msg7668#msg7668 (http://hutonggames.com/playmakerforum/index.php?topic=1739.msg7668#msg7668)
Please find a set of custom actions to work with the microphone right within playmaker.
I have a sample ready, but can't sahre it for now, there are some issue with exporting events, so I will provide as soon as I have managed to create a proper package.
I have also created actions to request web am and microphone access, mandatory to start using it, it's in the package.
I have also created an arrayMaker action to store the available devices in a list, download is separate, cause you will need arrayMaker installed, else it will throw errors.
Meanwhile, if you need help on how to set it up, don't hesitate, it's anyway very simple, provide an audio source, start recording, and it will create an audioclip automatically, then play the sound back as normal.
Bye,
Jean
-
Hello Jean.
When developing optimal actions.
Congratulations.
All custom actions could not be a single place such as in FogBugz. Organized as the official actions. I'm not saying to get together, I mean to have the same organization as that https://hutonggames.fogbugz.com/default.asp?W2. I'm just giving a suggestion. Would be easier to search organized by category.
-
Hi,
Custom actions are not official, some became oart of the official state tho, but for the rest, i think it should remain separated.
You are correct tho for better organization, Infact i already started a wiki page to do just that, and simply never think of doing it straight away... My bad, will start doing so.
https://hutonggames.fogbugz.com/default.asp?W547 (https://hutonggames.fogbugz.com/default.asp?W547)
I do plan to gather actions and put them in that page. If you want participate, you are all welcome, this is a community wiki, so simply request access, and you'll be able to contribute. Currently, there is around 150 custom actions just in the dedicated forum section, so testing/validating them, and reference them is a involving task indeed.
It's been discussed anyway, so hopefully, fture version of playmaker could provide a convenient system right in the editor to search, and install custom actions and packs.
Bye,
Jean
-
This is great.
I do not know where I could help.
But I would rather help.
150 custom actions organized this wiki as opposed to around the forum would be better. The search would be perfect.
Forum could stay for clarifications, questions the actions .....
-
Hi there,
Thanks for those nice actions!
I´m trying to setup something like "talking tom"
Since I´m quite new to this it´s a bit hard.
I would be so happy if someone could help me out.
Best
Tony
-
Hi,
check out the fully working sample here:
http://hutonggames.com/playmakerforum/index.php?topic=1886.msg8279#msg8279 (http://hutonggames.com/playmakerforum/index.php?topic=1886.msg8279#msg8279)
Bye,
Jean
-
Hi jean i tried to save record audio but i can record this but not able to save.
i have tested your demo record and play but does not make audio files
can you make this action that can be save audio file.
hope this will be modified according to the changes.
-
Hi,
it depends your targeted platform? are you going for mobile, web or desktop?
Bye,
Jean
-
hi i am working for mobile
-
Hi,
ok, Please bump this early february, I am going on holiday now, but I think it's important I address this indeed. Mobile has unique ways to deal with file storage, so indeed a custom solution will need to be studied.
Bye,
Jean
-
Hey Jean!
I'm bumping this thread.
The actions for Microphone Start/Stop recording are not working on iOS. The permissions dialog window does not appear, along with there not being a permission request in the iPhones Settings>Privacy>Microphone.
I have checked Prepare Microphone For Recording box, along with adding a Microphone Description.
The actions do work for PC though.
Thanks for the help in advance, I know you're super busy :)
-
[WORKAROUND]
I have a workaround for iOS to get the microphone recording.
I created a script that has 2 functions and 1 public audio clip variable. Use the action Send Message to send the function name RecordStart to the RecordMicrophone.cs script. After a Wait action for the record time wanted, transition to a new State. Then use another Send Message action to send the function name RecordStop to stop the recording.
Once RecordStop is called, it will add the recorded object audio file to a public variable. Now use Get Property to get the object audio clip from the script RecordMicrophone.cs
You'll also need to setup the Linker Wizard to make sure the Get/Set Property actions work on iOS.
This uses code to start, stop and save the audio file into something Playmaker can use. I'm really new to C# so the code might not be the best, but I wanted to help anyone that will read this thread in the future :)
-
Hi,
thanks for this!!
Bye,
Jean
-
Sorry to resurrect this old topic.
Is there an action similar to "Request Web Cam And Mic Access" that is just for Mic Access?
Or could somebody help me with moding this action's script or creating a new one for just Mic?
I don't need Cam for my project and would hate to freak out people with unnecessary permissions.
Developing for Mobile btw.
Thanks!
-
I'm still trying to get this to work but got these errors.
Assets\PlayMaker Custom Actions\Microphone\MicrophoneGetDevicestoArrayList1.cs(16,3): error CS0579: Duplicate 'ActionCategory' attribute
Assets\PlayMaker Custom Actions\Microphone\MicrophoneGetDevicestoArrayList1.cs(16,3): error CS0579: Duplicate 'ActionCategory' attribute
Assets\PlayMaker Custom Actions\Microphone\MicrophoneGetDevicestoArrayList1.cs(17,3): error CS0579: Duplicate 'Tooltip' attribute
Assets\PlayMaker Custom Actions\Microphone\MicrophoneGetDevicestoArrayList1.cs(30,24): error CS0111: Type 'MicrophoneGetDevicesToArrayList' already defines a member called 'Reset' with the same parameter types
Assets\PlayMaker Custom Actions\Microphone\MicrophoneGetDevicestoArrayList1.cs(37,24): error CS0111: Type 'MicrophoneGetDevicesToArrayList' already defines a member called 'OnEnter' with the same parameter types
I have array maker
-
Hi.
There error mentions 'Duplicate' so there might be the same action somewhere else in your project.