I will also add support for AIFC files with uncompressed samples (big endian float, big endian PCM, little endian "sowt"). It's basically the same as AIFF with some extra format specifiers.

On Dec 20, 2019, at 11:24 AM, Dan Wilcox <danomatika@gmail.com> wrote:

As an update, I have refactored the audio file format-specific code in d_soundfile.c into separate d_soundfile_aiff.c, d_soundfile_next.c, and d_soundfile_wave.c spurce files and added a new d_soundfile.h header for internal-use only. I'm in the process of testing and cleanup, then I will make a PR for people to review & test the existing functionality while I add a new d_soundfile_caff.c for CAF support in an associated branch. As this, like the previous net object updates, is touching a fundamental part of Pd, I hope for help with testing on all platforms.

On Dec 2, 2019, at 4:16 PM, Dan Wilcox <danomatika@gmail.com> wrote:

On Dec 2, 2019, at 3:59 PM, pd-dev-request@lists.iem.at wrote:

how so?
by adding a(n optional?) dependency on libsndfile?
by using some OS-specific framework (CoreAudio/...)?
by implementing only a subset of CAF (the PCM sample-type)?

Simple uncompressed-only PCM implemented in a similar manner to WAV and AIFF without external libraries. I may do some slight reorganization but I'm probably not in a position to engineer any sort of plugin-style overhaul.

Then please allow me to also remind about my request to be able to...

We need to be able to simply play back existing project CAF files with up to 32 channels. Anything beyond is outside of the (paid) time I would be able to put into this.

--------
Dan Wilcox




--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com