cent Pitch Converters:Functions cent cent Calculates a factor to raise/lower a frequency by a given amount of cents. Description Calculates a factor to raise/lower a frequency by a given amount of cents. Syntax cent(x) This function works at a-rate, i-rate, and k-rate. Initialization x -- a value expressed in cents. Performance The value returned by the cent function is a factor. You can multiply a frequency by this factor to raise/lower it by the given amount of cents. Examples Here is an example of the cent opcode. It uses the file cent.csd. Example of the cent 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: instr 1: iroot = 440.000 instr 2: iroot = 440.000 instr 2: ifactor = 1.189 instr 2: inew = 523.251 instr 2: iroot = 440.000 instr 2: ifactor = 2.000 instr 2: inew = 880.000 See also Pitch Converters: Functions New in version 4.16