Hello marclabru,
I assume you're referring to creating a CODM ODF Rank based on existing settings for that rank of samples from a 'full-format' (non-CODM) ODF. If so (and subject to the caveat that we don't officially provide support with editing full-format ODFs, except to major sample set producers):
- In the full ODF format, the enclosure parameters are specified in the EnclosurePipe table, on a per-pipe basis. (EnclosurePipe.PipeID references the Pipe_SoundEngine01 table, and Pipe_SoundEngine01.RankID references the Rank table.)
- Since, for any given rank, the CODM ODF format only allows specifying enclosure parameters for MIDI note numbers 36 and 96, you would probably want to copy them for those values (or linearly interpolated equivalents if the rank is of smaller compass), then check that the linearly interpolated values for intermediate pipes are similar to those for the corresponding pipes in the full-format ODF.
Alternatively, you could just ignore the values from the original ODF and configure the parameters 'by ear' to sound good/similar. The enclosure filters are essentially shelf filters.
Hope that helps.