Skip to content

EXS & CAF issues, and some suggestions. #404

Description

@eve93100

Hi. First of all, thank you very much for implementing the improvements I suggested; they have been very useful.
While testing the latest release, I encountered some bugs specifically related to the CAF 3 support implementation.
I have included the text output generated by the program and attached the test files (which come from Logic Pro's native libraries).
I also want to mention that the SoundFont format is exhibiting a glitch I had previously reported and which was fixed in version 16.2.0 where
the conversion from any format to SF2 completes successfully, but the instrument produces no sound when played in an SF2 player.
I recall reading that the fix for this would be included in the next release.

ERROR 1

ConvertWithMoss 20.2.0
Detecting multi-samples from Logic EXS24...

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu\Erhu.exs

Unknown EXS block type: 5 (Name: , Size: 1372)

Then the program freezes.

ERROR 2

ConvertWithMoss 20.2.0
Detecting multi-samples from Logic EXS24...

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Muted Electric Bass.exs
Could not load file: Unknown magic tag:

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Muted Electric Guitar.exs
Could not load file: Unknown magic tag:

Finished.

ERROR 3: Can´t convert "Could not create file: Could not detect MIDI note in file name: sample.caf"

ConvertWithMoss 20.2.0
Detecting multi-samples from Sample Files...

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu
Detected 0 AIFF (*.aif, .aiff) files.
Processing
Detected 1 CAF (
.caf) files.
Processing.
Could not create file: Could not detect MIDI note in file name: Erhu_consolidated

Detected 0 FLAC (.flac) files.
Processing
Detected 0 NCW (
.ncw) files.
Processing
Detected 0 OGG (.ogg) files.
Processing
Detected 0 WAV (
.wav) files.
Processing
Detected 0 AIFF (*.aif, *.aiff) files.
Processing

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu
Detected 0 AIFF (*.aif, .aiff) files.
Processing
Detected 1 CAF (
.caf) files.
Processing.
Could not create file: Could not detect MIDI note in file name: Erhu_consolidated

Detected 0 FLAC (.flac) files.
Processing
Detected 0 NCW (
.ncw) files.
Processing
Detected 0 OGG (.ogg) files.
Processing
Detected 0 WAV (
.wav) files.
Processing
Detected 0 CAF (*.caf) files.
Processing

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu
Detected 0 AIFF (*.aif, .aiff) files.
Processing
Detected 1 CAF (
.caf) files.
Processing.
Could not create file: Could not detect MIDI note in file name: Erhu_consolidated

Detected 0 FLAC (.flac) files.
Processing
Detected 0 NCW (
.ncw) files.
Processing
Detected 0 OGG (.ogg) files.
Processing
Detected 0 WAV (
.wav) files.
Processing
Detected 0 FLAC (*.flac) files.
Processing

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu
Detected 0 AIFF (*.aif, .aiff) files.
Processing
Detected 1 CAF (
.caf) files.
Processing.
Could not create file: Could not detect MIDI note in file name: Erhu_consolidated

Detected 0 FLAC (.flac) files.
Processing
Detected 0 NCW (
.ncw) files.
Processing
Detected 0 OGG (.ogg) files.
Processing
Detected 0 WAV (
.wav) files.
Processing
Detected 0 NCW (*.ncw) files.
Processing

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu
Detected 0 AIFF (*.aif, .aiff) files.
Processing
Detected 1 CAF (
.caf) files.
Processing.
Could not create file: Could not detect MIDI note in file name: Erhu_consolidated

Detected 0 FLAC (.flac) files.
Processing
Detected 0 NCW (
.ncw) files.
Processing
Detected 0 OGG (.ogg) files.
Processing
Detected 0 WAV (
.wav) files.
Processing
Detected 0 OGG (*.ogg) files.
Processing

Analyzing: C:\Users\Erick\Documents\Producer\Instruments\Multi Sampler_conv_in\Erhu
Detected 0 AIFF (*.aif, .aiff) files.
Processing
Detected 1 CAF (
.caf) files.
Processing.
Could not create file: Could not detect MIDI note in file name: Erhu_consolidated

Detected 0 FLAC (.flac) files.
Processing
Detected 0 NCW (
.ncw) files.
Processing
Detected 0 OGG (.ogg) files.
Processing
Detected 0 WAV (
.wav) files.
Processing
Detected 0 WAV (*.wav) files.
Processing

Finished.

Errors exs - caf.zip

In addition to this, I’d like to take the opportunity to suggest a few improvements for the program's existing features.

1.- Conversion without samples: Sometimes, it is only necessary to convert the mapping file without the accompanying samples.
While I understand that some formats rely on their samples, this step can be skipped for formats like SFZ or DecentSampler.
In the case of NKI files, for instance, a user might not want to—or be able to—purchase a newer version; they might find an
instrument that sounds great but simply need the mapping file converted to a version compatible with their specific edition of Kontakt.

2.- Support for Cakewalk’s SFZ v2: I’ve noticed that the current implementation supports the RGC Audio SFZ v1 standard,
but SFZ v2 causes errors. This is because some libraries use a main .sfz file that calls upon separate files—located either
in a specific path or the same folder as the main file. These called files might lack an extension or use .txt or other extensions,
but they are always plain-text files containing mapping data for the entire instrument or specific sections (I hope that makes sense).
Others use ARIA; the structural complexity involved can make this quite a tangle.

Documentation attached:
https://sfzformat.com/versions/
https://sfzformat.com/opcodes/
https://sfzformat.com/headers/

It would be incredibly useful if you could implement these suggestions. Thanks again for your contribution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions