You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My goal is to send a data array with size 5.17 KiB/s to a WebSocket.
I have not tried it yet, currently I tried to save the audio to a file. I use RNSaveAudio to save the audio file. I also use react-native-fs to get the app's folder path.
My expected result is the file should be around 5 - 6 kB for 1 seconds of audio.
My actual result is: 8236 bytes for 93 milliseconds (roughly 0,093 seconds) of audio. I tried to change the sampleRate to 8000. I found the data size to be 2 - 3 times larger compared to Opus Voice with bit rate 5.17 KiB/s and sampling rate 8 kHz.
The issue
My goal is to send a data array with size 5.17 KiB/s to a WebSocket.
I have not tried it yet, currently I tried to save the audio to a file. I use RNSaveAudio to save the audio file. I also use react-native-fs to get the app's folder path.
My expected result is the file should be around 5 - 6 kB for 1 seconds of audio.
My actual result is: 8236 bytes for 93 milliseconds (roughly 0,093 seconds) of audio. I tried to change the
sampleRate
to 8000. I found the data size to be 2 - 3 times larger compared to Opus Voice with bit rate 5.17 KiB/s and sampling rate 8 kHz.TL:DR
Steps to reproduce:
The text was updated successfully, but these errors were encountered: