It is currently Fri Apr 19, 2024 1:11 am


Transposing / extending a rank

Using the CODM to create your own organ definitions, exchange CODM organ definitions, ...
  • Author
  • Message
Offline

PCF

Member

  • Posts: 52
  • Joined: Wed Nov 27, 2019 7:44 am

Transposing / extending a rank

PostTue Mar 31, 2020 11:30 am

Good day,

How can I transpose an 8' sample (e.g., 73-pipe 8' rank, starting at 024-C) down to a 16' rank (or even extending the original rank to include the lowest 12 notes of the (artifical) 16' octave)? The idea is not to lose harmonic content, for example, when you change the Rank.Pitch_PipeMIDINoteNum036_TuningAdjustPercentSemitones by -1200.

What Rank and Stoprank settings in the CODM do I have to tweak?

Thank you in advance!
Offline

larason2

Member

  • Posts: 764
  • Joined: Thu Feb 04, 2016 9:32 pm

Re: Transposing / extending a rank

PostTue Mar 31, 2020 3:00 pm

In the Rank entry, set up your 8' rank the way you normally do for it to sound 8', but then change the following entry from 8 to 4:

<Pitch_RankBaseOutputPitch64ftHarmonicNum>4</Pitch_RankBaseOutputPitch64ftHarmonicNum>

This will take the lowest note, and replicate it down. The 8 foot pipe will still sound as it had previously. No need to change anything in the stop rank.
Offline
User avatar

mdyde

Moderator

  • Posts: 15475
  • Joined: Fri Mar 14, 2003 1:19 pm
  • Location: UK

Re: Transposing / extending a rank

PostWed Apr 01, 2020 4:05 am

Hello PCF,

PCF wrote:How can I transpose an 8' sample (e.g., 73-pipe 8' rank, starting at 024-C) down to a 16' rank


MIDI note number 24 (024-C sample) on a rank of 8' samples would normally be 16' C anyway, so if I understand correctly what you're hoping to do, no additional pipes/samples would need to be synthesized artificially in that case..

To make that rank play at 16' pitch on a 61-compass keyboard, you would just need to keep the settings as they are (i.e. corresponding to the samples) in the Rank table:

Rank.MIDINoteNumberOfFirstPipe=24
Rank.NumberOfPipes=73
Rank.Pitch_RankBaseOutputPitch64ftHarmonicNum=8

... then use the StopRank table to map them appropriately:

StopRank.MIDINoteNumIncrementFromDivisionToRank=-12
StopRank.MIDINoteNumOfFirstMappedDivisionKey=36
StopRank.NumberOfMappedDivisionKeys=61

By setting StopRank.MIDINoteNumIncrementFromDivisionToRank=-12 you would cause MIDI note number 36 (bottom C on a 61-note keyboard) to play rank sample 024-C (the 16' C sample), with no real-time pitch shifting (i.e. without any change in its harmonic content or sound character).

If you *do* also want to extend a rank artificially at one or both ends:

- Reduce Rank.MIDINoteNumberOfFirstPipe (if you want to extend its bottom end).
- Increase Rank.NumberOfPipes (if you want to extend either end).

... but keep Rank.Pitch_RankBaseOutputPitch64ftHarmonicNum set to correspond to the real pitch of the samples (i.e. =8 for an 8' rank of samples). Then use StopRank (as above) to map the relevant 61-note portion of the rank to the 61-note keyboard at the desired (e.g. transposed) pitch for the stop.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
Offline

PCF

Member

  • Posts: 52
  • Joined: Wed Nov 27, 2019 7:44 am

Re: Transposing / extending a rank

PostWed Apr 01, 2020 6:43 am

Thank you so much Martin. This is exactly what I was looking for.

Best, Pharny
Offline
User avatar

mdyde

Moderator

  • Posts: 15475
  • Joined: Fri Mar 14, 2003 1:19 pm
  • Location: UK

Re: Transposing / extending a rank

PostWed Apr 01, 2020 7:36 am

Thanks. You're most welcome.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.

Return to Custom Organ Design Module (CODM)

Who is online

Users browsing this forum: No registered users and 4 guests