Record and Play sound at same time IOS

Stephen MacLean smaclean at madmansoft.com
Sat Apr 26 11:37:44 EDT 2014


I would not use the iPhonePlayOnChannel for playback if you have mergAV.

Instead, use mergAVPlayer. You have much more control and the mergAVSessionCategory will effect it.

I use both in an iOS app and they work great together, although I'm not trying to playback until the recording is finished. It does look like what you want to do is possible via both of these though because both use the AV framework from Apple.

Best,

Steve


On Apr 26, 2014, at 5:34 AM, Nakia Brewer <Nakia.Brewer at westrac.com.au> wrote:

> Okay,
> Had a small tinker and seems the same issue occurs.
> 
> To check my understanding, am i to assume the mergAvSessionCategory effects the iphonePlayOnChannel command ?
> 
> I think I may be miss interpreting how to achieve this... I am still using mergMicrophone to record the file and using iphonePlayOnChannel to play the file..
> 
> 
> 
> Sent from my iPhone
> 
>> On 26 Apr 2014, at 6:05 pm, "Nakia Brewer" <Nakia.Brewer at westrac.com.au> wrote:
>> 
>> Just had a quick look through the commands for mergAV.
>> 
>> Wow, it sure has a lot of functionality..  
>> 
>> Sent from my iPhone
>> 
>>> On 26 Apr 2014, at 5:02 pm, "Nakia Brewer" <Nakia.Brewer at westrac.com.au> wrote:
>>> 
>>> Okay will take a look.
>>> 
>>> Will this allow me to ditch using the mergMicrophone external then ?
>>> 
>>> Sent from my iPhone
>>> 
>>>> On 26 Apr 2014, at 12:32 pm, "Stephen MacLean" <smaclean at madmansoft.com> wrote:
>>>> 
>>>> Look to another of Monte's externals, mergAV.
>>>> 
>>>> Specifically, you can set the AVsession to "play and record", which would allow that. The player you can create is also very powerful.
>>>> 
>>>> Take a look at the commands for the external, down near the bottom of the page.
>>>> 
>>>> Best,
>>>> 
>>>> Steve MacLean
>>>> 
>>>>> On Apr 25, 2014, at 8:41 PM, Nakia Brewer <Nakia.Brewer at westrac.com.au> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> As a novelty I am trying to make a livecode IOS Speech Jammer App.
>>>>> 
>>>>> For those that aren't aware this basically works by playing back you voice slightly delayed and it messes with your brain and you can't speak.
>>>>> 
>>>>> Check this guy out for a laugh.
>>>>> 
>>>>> http://youtu.be/oU9EGeMP5n4
>>>>> 
>>>>> Anyway,
>>>>> Using montes mergMicrophone I have been able to get mostly there but have hit a stumble with playing back the file that is being recorded at the same time it's being recorded.
>>>>> 
>>>>> I am using iphonePlaySoundOnChannel to play back the file but it looks like it only evaluates the file when it starts cashing it to not continue playing..
>>>>> 
>>>>> Anyone got any ideas on how to maybe get around this ?
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications.
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications.
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications.
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications.
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list