Sep 8, 2022 Replies: 1 A wav file aware wrapper for RandomAccessFile that makes mixing and jumping around audio files easier. This implementation has the same functionality as the version in JAudioTrack2, but does not rely on JavaxSound library and therefore should work in B4a and possibly B4i. You can also read information stored in the wav files Chunks other than the data chunk. To test it download the example project WavRAF-Tezt.zip and an example wav file in the attached metadat.zip. See the example projects jAudioTrack2 - SimpleMixer and jAudioTrack2 - Mixer Full for more information. Please let me know if it works on B4i if you have reason to test it. Update V0.11 Made WavHeaderChunkMap available after initialization (also updated test project) Fix for edge case where fmt is not the first chunk. Attachments metadata.zip metadata.zip 148.2 KB · Views: 557 B4xWavRandomAccessFile-b4xlib.b4xlib B4xWavRandomAccessFile-b4xlib.b4xlib 2.4 KB · Views: 558 WavRAF-Test.zip WavRAF-Test.zip 2.2 KB · Views: 555 Last edited: Sep 15, 2022 Click to expand...
A wav file aware wrapper for RandomAccessFile that makes mixing and jumping around audio files easier. This implementation has the same functionality as the version in JAudioTrack2, but does not rely on JavaxSound library and therefore should work in B4a and possibly B4i. You can also read information stored in the wav files Chunks other than the data chunk. To test it download the example project WavRAF-Tezt.zip and an example wav file in the attached metadat.zip. See the example projects jAudioTrack2 - SimpleMixer and jAudioTrack2 - Mixer Full for more information. Please let me know if it works on B4i if you have reason to test it. Update V0.11 Made WavHeaderChunkMap available after initialization (also updated test project) Fix for edge case where fmt is not the first chunk.
stevel05 Expert Licensed User Longtime User Sep 15, 2022 #2 Update V0.11 Made WavHeaderChunkMap available after initialization Fix for edge case where fmt is not the first chunk.
Update V0.11 Made WavHeaderChunkMap available after initialization Fix for edge case where fmt is not the first chunk.