Cadenzo Active Member Licensed User Longtime User Oct 27, 2018 #1 Is there a way in B4i to capture the microphone wave data directly in a int or byte array? In B4A we have the very good solution with the audiostreamer and the event RecordBuffer in the Audio or AudioRecord library. It is very importent for any form of noice or frequency analysis. There are already some iPhone apps like intrument tuners, so it should be possible in iOS. But how to access the mircophone data in B4i?
Is there a way in B4i to capture the microphone wave data directly in a int or byte array? In B4A we have the very good solution with the audiostreamer and the event RecordBuffer in the Audio or AudioRecord library. It is very importent for any form of noice or frequency analysis. There are already some iPhone apps like intrument tuners, so it should be possible in iOS. But how to access the mircophone data in B4i?
Erel B4X founder Staff member Licensed User Longtime User Oct 28, 2018 #2 Currently you can only save the recorded stream to a file. Upvote 0
Cadenzo Active Member Licensed User Longtime User Oct 28, 2018 #3 OK, than it could be a kind of solution, to save the recorded stream to a not compressed .wav file and access the file in the same time? I have to check, if it is possible. Are there any audio libraries planed in future? Could this be imported to B4i? https://developer.apple.com/documentation/avfoundation/avaudiorecorder https://developer.apple.com/library...doc/uid/DTS40007770-Intro-DontLinkElementID_2 Upvote 0
OK, than it could be a kind of solution, to save the recorded stream to a not compressed .wav file and access the file in the same time? I have to check, if it is possible. Are there any audio libraries planed in future? Could this be imported to B4i? https://developer.apple.com/documentation/avfoundation/avaudiorecorder https://developer.apple.com/library...doc/uid/DTS40007770-Intro-DontLinkElementID_2
Erel B4X founder Staff member Licensed User Longtime User Oct 28, 2018 #4 Set MPEG4 parameter to False. If I remember correct the file extension affects the format. You need to check it. AudioRecorder is based on AVAudioRecorder. It will probably be extended in the future. Upvote 0
Set MPEG4 parameter to False. If I remember correct the file extension affects the format. You need to check it. AudioRecorder is based on AVAudioRecorder. It will probably be extended in the future.