![logo](https://private-user-images.githubusercontent.com/493908/313849419-7a731744-643a-4b6c-b82b-68f2fcc436c9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzNDA3MTUsIm5iZiI6MTcyMTM0MDQxNSwicGF0aCI6Ii80OTM5MDgvMzEzODQ5NDE5LTdhNzMxNzQ0LTY0M2EtNGI2Yy1iODJiLTY4ZjJmY2M0MzZjOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOFQyMjA2NTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMmRkNzE1NjU2N2Q3YWY4YjExZjk2OTAyMDYxN2JiYzdiNTgzZDQ5ODMzOTYyMDY1YjU4NTY1MTE3OTdiNGE1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.S3PxEgGEzHxu_xuCtuQuyaBCP5A9gnqb7DyGbJF68ng)
Provides old school Japanese cell phone sounds library as javax.sound
SPI
includes many ADPCM codecs and the SSRC sampling rate converter.
SPI | Codec | Description | IN Status | OUT Status | SPI Status | Comment |
---|---|---|---|---|---|---|
midi | MFi | Japanese ring tone format | ๐ง | โ | โ | DoCoMo |
midi | SMAF | YAMAHA ring tone format | ๐ง | โ | โ | au, Softbank |
sampled | MFi | Japanese ring tone format | โ | โ | โ | DoCoMo |
sampled | SMAF | YAMAHA ring tone format | โ | โ | โ | au, Softbank |
sampled | CCITT ADPCM | G711, G721, G723 | โ | โ | โ | G721 cellphone w/ Fuetrek chip |
sampled | DVI ADPCM | DVI ADPCM | โ | โ | โ | |
sampled | IMA ADPCM | IMA ADPCM | โ | โ | โ [1] | |
sampled | MA ADPCM | YAMAHA ADPCM | โ | โ | โ | cellphone w/ YAMAHA MA chip |
sampled | MS ADPCM | Microsoft ADPCM | โ | โ | โ [1] | |
sampled | OKI ADPCM | OKI ADPCM | โ | โ | โ [1] | |
sampled | ROHM ADPCM | ROHM ADPCM | โ | โ | โ | cellphone w/ Rohm chip |
sampled | VOX ADPCM | VOX ADPCM | โ | โ | โ [1] | |
sampled | YAMAHA ADPCM | YAMAHA ADPCM | โ | โ | โ [1] | |
sampled | YM2068 ADPCM | YAMAHA ADPCM | โ | โ | - | same as YAMAHA ADPCM |
sampled | ssrc | resampling | โ | - | โ | need to wait for phase 1 |
[1] wav file readable
A. yes you can, follow those steps
- create a separated jar (ssrc.jar) file including ssrc classes. (never include those .class files into your application jar file)
vavi/sound/pcm/resampling/ssrc/SSRC.class
vavi/util/SplitRadixFft.class
vavi/util/I0Bessel.class
- โ caution:
- your application complies with the LGPL. customers have a right to reverse engineering your application.
- if you include ssrc.jar with a distribution, you must offer a way to get ssrc source code.
- see also
- github actions workflow on ubuntu java8 cannot deal line
PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
- use
Receiver
instead ofMetaEventListener
- ssrc: use nio pipe for 1st pass
- on macos m2 ultra 1st pass is in a blink of an eye
ima
,ms
adpcm: wav readertritonus:tritonus-remaining:org.tritonus.sampled.file.WaveAudioFileReader
- use service provider for mfi, smaf sequencer
- service loader instead of vavi.properties