The Sonic NDK file type is ... ??? Alternative to Sonic. Need to change the sound sound in Android?

I downloaded the Sonic NDK project from https://github.com/waywardgeek/sonic-ndk , since I know that it plays "talk.bin" by default, which is in the raw folder projects, this is a binary file, and I want replace it with your own file in this project. So I created the binaries amr, wav and mp3 and tested them in this project, but nothing worked for me, because it just reproduces noise instead of the correct original sound. Any suggestions on playing a file in an NDk sound project.

NOTE. My main goal is to change the pitch of a recorded audio file that sounds great. Please offer any best working alternative.

SOLUTION: I found a solution to this ...

SONIC ndk plays the pcm file.

You can convert any mp3 to pcm, and then try this file for playback - a demo sound project, you can play the file. To convert mp3 to pcm, I used ffmpeg with the command

ffmpeg -y -i mymp3file.mp3 -f s16le -acodec pcm_s16le mypcmfile.pcm

+4
source share

All Articles