Can the audio tuner be used when recording to a file or during playback?

In my application I need to detect when the user is speaking. I also need to record what they say and save to a file. I’ve noticed I cannot use the audio tuner when saving to a file. Is there any way around this?

Is there any reason why the audio tuner methods (like getTunerVolume) can’t return a valid value while recording something that will be saved to a file?

Is there a workaround I’m missing? Any help would be greatly appreciated.

Thanks,
paul [import]uid: 7101 topic_id: 4592 reply_id: 304592[/import]

Any thoughts on this one? Any info you can provide would really help. If you don’t get to it until after the break, no problem.

Thanks,
Paul [import]uid: 7101 topic_id: 4592 reply_id: 14768[/import]

Hi Paul,

did you ever get this sorted?

I have the same problem

cheers,

Rob [import]uid: 2131 topic_id: 4592 reply_id: 56414[/import]

Hey Rob … I didn’t. I don’t think this one is a priority for Ansca right now.
paul [import]uid: 7101 topic_id: 4592 reply_id: 56418[/import]

Yeah, I suspected that was the case,

Cheers Paul,

Rob [import]uid: 2131 topic_id: 4592 reply_id: 56465[/import]

Sorry, I don’t know all the answers to your specific questions. There are a lot of platform specific limitations right now with recording. However, have you looked at the ALExplorer example? I think it may do some of the things you talk about.

[import]uid: 7563 topic_id: 4592 reply_id: 56574[/import]

If you use two media objects, this is possible:

rec = media.newRecording(filePath)
loudness = media.newRecording()

then you just start them at the same time and voila! [import]uid: 31793 topic_id: 4592 reply_id: 85129[/import]