This little extension lets you encode a wave audio file into a ogg file.
As you may know, the ogg format gives you a better compression and quality than the mp3 format. Also you can create gapless loops (best choice for this is the TaifunPlayer).
At the moment only wavfiles in the 16bit/44100Hz/stereo are supported and get encoded the right way. Other .wav formats will result in wrong pitch(speed). Maybe in the future I will manage to add different wav formats and also quality settings.
(This extension uses the vorbis-java-1.0.0-beta library by the Xiph.org Foundation. Java port by Ben Cohee)
thx to @bodymindpower for testing it on Android 9 and 11
Update version 2
- added encode quality settings:
int 1 - 10:
1 = 80 kb/sec, 2 = 96 kb/sec, 3 = 112 kb/sec. 4 = 128 kb/sec, 5= 160 kb/sec, 6 = 192 kb/sec, 7 = 224 kb/sec, 8 = 256 kb/sec, 9 = 320 kb/sec, 10 = 499 kb/sec.
com.django.DjWavToOgg.aix (538,5 KB)