I have a PD patch running successfully on my PC, but when i put it into my android project and run it on my phone, the file for the recorded duration exists but the audio is fully null /0, i'm nit able to hear anything. I'm attaching a photo of my patch, please help me figure out a solution as it is my project.I also added app permissions for recording and writing to external disk in android studio.
@EEight I tried this too, the thing is i'm unable to hear whats being recorded using pure data. I recorded audio using android's built in audio recorder, it got succeeded.The audio duration is there, but the sound is pure blank. I turned on phone's mic and then tried too, but fails.
@RobertSpartacus Hello Robert. Should we understand that the problem is with Android recording a .wav file with zero volume..... in effect recording nothing at all? Could you check your recording with VLC or Windows media player... or some other player and then if the file is really mute then we will know that the problem is not with "Pure Data" running under Windows??? Try opening some other .wav file with your patch to see if it is working as expected.....
How are you running the patch under Android.... PdDroidParty? or some other host?
@whale-av Here's what i did,
1.Recorded .wav files in PC using PD patch and played it successfully.
2.Applied the same patch on android and changed the path of .wav for write and read, failed.Here's what i get, i get a .wav file for the duration of audio i recorded, but the content for the duration is zero/it has zero amplitude through t the duration/zero volume.
3.Recorded audio using Android inbuilt classes like Media-Recorder, and saved it as .3gpp format, it was successfull for the same amount of duration.
4.For point 2 , i turned the mic ON , eventhough it fails terribly.
5.Android cannot output audio as .wav,and conversion is a hectic one,so i want to resolve this with the pure data.
Help me out.