enclosure parameters

Using the CODM to create your own organ definitions, exchange CODM organ definitions, ...
Post Reply
marclabru
Member
Posts: 20
Joined: Fri Mar 03, 2023 3:11 am

enclosure parameters

Post by marclabru »

Is there a way to find out what the enclosure parameters are in the original sample sets? I looked in the ODF file, but could not find it. Or is there a better way to go forward to set the parameters?
User avatar
mdyde
Moderator
Posts: 16006
Joined: Fri Mar 14, 2003 1:19 pm

Re: enclosure parameters

Post by mdyde »

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.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
marclabru
Member
Posts: 20
Joined: Fri Mar 03, 2023 3:11 am

Re: enclosure parameters

Post by marclabru »

Thank you so much! That answers my question!
User avatar
mdyde
Moderator
Posts: 16006
Joined: Fri Mar 14, 2003 1:19 pm

Re: enclosure parameters

Post by mdyde »

Thanks. Excellent. You're very welcome.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
marclabru
Member
Posts: 20
Joined: Fri Mar 03, 2023 3:11 am

Re: enclosure parameters

Post by marclabru »

I found the parameter nimbers in the odf. but they are in that strange format with the letter e. like :
3.3336e+2 or 1.37e+1. Can I write those numbers in the codm? or shoul I convert them to normal numbers ad in that case, How do I do that (tried to google, but didn't fid out)
User avatar
mdyde
Moderator
Posts: 16006
Joined: Fri Mar 14, 2003 1:19 pm

Re: enclosure parameters

Post by mdyde »

Hello marclabru,

As a floating point number format AeB (where B is a positive or negative whole number) means:

A x ( 10 to the power of B )

For example, 3.7e-2 = 0.037.

CODM ODFs will accept either number format (as do 'full-format' ODFs), so you can copy the numbers directly if you like.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
marclabru
Member
Posts: 20
Joined: Fri Mar 03, 2023 3:11 am

Re: enclosure parameters

Post by marclabru »

Thank you so much!
User avatar
mdyde
Moderator
Posts: 16006
Joined: Fri Mar 14, 2003 1:19 pm

Re: enclosure parameters

Post by mdyde »

Thanks. You're welcome.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
marclabru
Member
Posts: 20
Joined: Fri Mar 03, 2023 3:11 am

Re: enclosure parameters

Post by marclabru »

It seems the enclosure parameters influences the sound also when the swell bos is open. I recorded both with parameters set and without any parameters and there is a little difference in tone (harmonics) I used the parameters from the original organ. Is that supposed to be like that? I guess the parametes "when open" do this?
mnailor
Member
Posts: 1853
Joined: Sat Nov 30, 2013 5:57 pm

Re: enclosure parameters

Post by mnailor »

You'd expect a slight muffling. The pipes are still in a box behind some wood slats even when they are angled open. Not fully exposed.
User avatar
mdyde
Moderator
Posts: 16006
Joined: Fri Mar 14, 2003 1:19 pm

Re: enclosure parameters

Post by mdyde »

Hello marclabru,

Yes -- if a virtual rank/pipe is enclosed, the enclosure filters will still apply very slightly to it even when the box is fully open, to avoid a discontinuity. If you set the following CODM Rank attributes:

Encl_FiltParamWhenOpenForPipeMIDINoteNum036_MaxFreqHz
Encl_FiltParamWhenOpenForPipeMIDINoteNum036_MinFreqHz

... so that the max. frequency value is a lot higher than the min. frequency value (to make the filter slope very broad) then the effect should be minimised, and likewise for:

Encl_FiltParamWhenOpenForPipeMIDINoteNum096_MaxFreqHz
Encl_FiltParamWhenOpenForPipeMIDINoteNum096_MinFreqHz

(For good measure, also make sure that you are actually testing it when the virtual swell pedal is fully at its 100% position, e.g. by dragging the virtual control with the mouse, in case your MIDI expression pedal doesn't cover the full value range.)
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
Post Reply