wav file format type byte index 20-21

Skip to first unread message

Koenraad Vanderschaeve

Jan 28, 2022, 8:06:58 PM1/28/22
to beadsproject

I an currently experimenting with multichannel wav files from protools and other daw programs. however, the format type in these files is 65534 (0xFFFE) and that format is not understand by the WavefileReaderWriter.java:

if (compressionCode != WAVE_FORMAT_PCM && compressionCode != WAVE_FORMAT_IEEE_FLOAT ) {

throw new OperationUnsupportedException("Compression Code " + compressionCode + " not supported");


If i hack both the bytes in the wav file from FEFF to 0100, than it works! This FEFF is the extensible wav format. Can this be fixed in the code?

Kind regards,

Koenraad Vanderschaeve

Oliver Bown

Jan 28, 2022, 8:10:34 PM1/28/22
to beadsp...@googlegroups.com
Yes definitely. Are you working from the git master? Could you submit a patch? 


You received this message because you are subscribed to the Google Groups "beadsproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beadsproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beadsproject/403f06d8-a945-444f-8bc9-0533f6628cf1n%40googlegroups.com.

Koenraad Vanderschaeve

Jan 29, 2022, 3:59:13 AM1/29/22
to beadsproject
Hi Ollie,

Yes i have checked out the master branch but when i try to commit the patch, the push of course fails. Sourcetree asks me for a username and password, i filled something in, and it failed again. Now, subsequent retries to push return the following:

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

fatal: Authentication failed for 'https://github.com/orsjb/beads.git/'

Pushing to https://github.com/orsjb/beads.git

I use sourcetree and git all the time for my projects and this works fine. However, i am not so familiar with all those different ways of authentication , etc... So i attached the patch in this mail.

Kind Regards,


Oliver Bown

Jan 30, 2022, 6:26:40 PM1/30/22
to beadsp...@googlegroups.com
I’ve pushed that patch to the current branch I’m working on, fixing_jack_IO. I have no schedule for releasing Beads updates, but it’s there when that comes around. I think the issues you had are to do with Github’s new authentication process which is quite complex.
Thanks for the patch.

Reply all
Reply to author
0 new messages