-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update I2S sample files: #16
base: master
Are you sure you want to change the base?
Conversation
1. Correct original BBC files to 2ch, 32bit, 16khz 2. Add sample files for 2ch, 16bit, 48khz 3. Fix the original issue on right channel for BBC files. Generated wav files can be played on both channels. 4. Generate wav files for 2ch 16bit 48khz samples Note: to generate correct wav file need to adjust functions wav_header() and wav_sample in pd.py in i2s decoder.
Hi, thanks for the PR! A few suggestions for changes:
A few random suggestions for public domain audio: (There are many other sources, of course) The existing BBC file is very short, but we also don't have a clear license there AFAIK. Feel free to drop that one and replace it with only new files created by you, using free source material. Thanks! |
1. Remove original BBC files as unclear license. 2. Add sample files for 2ch, 16bit, 48khz from freesound 3. Generate wav files for 2ch 16bit 48khz samples Note: to generate correct wav file need to adjust functions wav_header() and wav_sample in pd.py in i2s decoder.
Hi Uwe, I removed original BBC file and regenerate 2 sample files based on freesound. Thanks! |
Sorry for spamming here. Is second commit ok? |
Looks OK (will do some minor README cosmetics, but that's not a big deal), but please make the file snippets a lot smaller. Ideally < 1MB or 500kB or such per file. This makes sigrok-dumps and also sigrok-test (which will need updates as well) unnecessarily huge otherwise. |
Very useful example dumps to test decoding of I2S audio... Using sigrok-cli and aplay, one can test live continuous decodes. Aplay can be used in RAW mode to ignore WAVE header inaccuracies.
|
Note: to generate correct wav file need to adjust functions wav_header() and wav_sample in pd.py in i2s decoder.