Cockos Incorporated Forums pitch bend CC question
 Register Track Bugs/Feature Requests Search Today's Posts Mark Forums Read

 09-17-2019, 03:08 PM #1 clepsydrae Human being with feelings     Join Date: Nov 2011 Posts: 2,427 pitch bend CC question I need to precisely control pitch bend CC's to generate precise frequencies for a project. My understanding is that CC value 8192 is +0%, 16383 is +100%, and 0 is -100%. This means that the positive range is over 8191 integers, where the negative range is over 8192, meaning, the upper and lower halves are different scales. Is this correct? So, assuming a pitch bend range of +/- 1 semitone, the conversion from cents to pitch bend value is: if cents > 0: (cents/100)*8191+8192 else (cents/100)*8192+8192 Right? Thanks!
 09-18-2019, 04:41 PM #2 WernerB Human being with feelings     Join Date: May 2019 Location: Munich / Germany Posts: 10 A matter of 14 bits The number range and the "if terms" you have set out are entirely correct. You may refer to this exemplary page (header “pitch bend”): https://www.cs.cmu.edu/~music/cmsip/...-midi-spec.htm Btw: The accuracy of this calculation is well beyond any pitch difference perceivable by the human ear. Each cent may now be subdivided into nearly 82 (8.191/100 or 8.192/100) further steps! I wonder what kind of project you are pursuing
09-18-2019, 05:49 PM   #3
clepsydrae
Human being with feelings

Join Date: Nov 2011
Posts: 2,427

Thanks!

Quote:
 Originally Posted by WernerB I wonder what kind of project you are pursuing
It's a video about the 12 tone scale, including demonstrations about just intonation, etc, so while it isn't necessarily crucial to be that accurate, I'd like to make sure I'm getting as close as I can. :-)

 09-20-2019, 08:23 PM #4 dangguidan Human being with feelings   Join Date: Jan 2019 Posts: 103 Bending range from - 8192 to 8191.
 09-22-2019, 11:37 PM #5 Tale Human being with feelings     Join Date: Jul 2008 Location: The Netherlands Posts: 2,975 BTW, "pitch bend CC" doesn't really make sense; pitch bend and CC are different MIDI message types: 1011nnnn (0xB0) = Control Change (CC) 1110nnnn (0xE0) = Pitch Bend Change __________________ Martinic Kee Bass - Scanner Vibrato - Elka Panther - Tale's JSFX Pack
 09-23-2019, 11:07 AM #6 clepsydrae Human being with feelings     Join Date: Nov 2011 Posts: 2,427 Thanks!

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General Discussion     General Discussion (aka spam trap) REAPER Forums     REAPER General Discussion Forum     newbieland     REAPER Q&A, Tips, Tricks and Howto     Recording Technologies and Techniques     REAPER Compatibility     REAPER Color Themes and Icon Sets     MIDI Hardware, Control Surfaces, and OSC     REAPER Non-English Speaking User Forums         Forum de REAPER en français         Foro de REAPER en Español         Fórum do REAPER em português         Forum di REAPER in italiano         Deutschsprachiges REAPER Userforum         Pyccкоязычный фopyм REAPER     REAPER Bug Reports     REAPER Feature Requests     Dstruct's Casa De Nitpicks     REAPER for Live Use     REAPER for Video Editing/Mangling     REAPER for Ambisonic and 3D positional audio uses     ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum     REAPER for macOS X     REAPER for Linux     REAPER Pre-Release Discussion     REAPER Music/Collaboration Discussion     REAPER lounge NINJAM Discussion     NINJAM User Discussion     NINJAM Developer Discussion Other Software Discussion     WDL users forum     LICEcap Discussion     OSCII-bot forum     Old Cockos Products Forum

All times are GMT -7. The time now is 11:23 PM.

 -- Cockos ---- REAPER 5 ---- Reaper 3 ---- Reaper 2 ---- Reaper 1 Contact Us - Çockos Incorporated - Archive - Top