octave Pitch Converters:Functions octave octave Calculates a factor to raise/lower a frequency by a given amount of octaves. Description Calculates a factor to raise/lower a frequency by a given amount of octaves. Syntax octave(x) This function works at a-rate, i-rate, and k-rate. Initialization x -- a value expressed in octaves. Performance The value returned by the octave function is a factor. You can multiply a frequency by this factor to raise/lower it by the given amount of octaves. Examples Here is an example of the octave opcode. It uses the file octave.csd. Example of the octave opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. Its output should include lines like: i1 3520.00000 i1 1760.00000 i1 880.00000 i1 440.00000 i1 7040.00000 i1 3520.00000 i1 1760.00000 i1 880.00000 i1 440.00000 ....... See also Pitch Converters: Functions Credits New in version 4.16