Need help for a formula to phaseshift cv values

This forum is for discussing Reason. Questions, answers, ideas, and opinions... all apply.
Post Reply
electrofux
Posts: 876
Joined: 21 Jan 2015

06 May 2024

I have a rotary that i want to control the offset of euclid so that a full turn moves a step from 1-32. Euclid however behaves a bit weird in that its offset goes from -16 to +16.
So in the end i need the first half of the values of my rotatry go from 64-127 and the second half from 0-63. It is like phase shifting a saw by 50% to the right. I was hoping a formula for that type of conversion exists that i can put into pepins math RE to get the desired values.

User avatar
huggermugger
Posts: 1470
Joined: 16 Jul 2021

06 May 2024

I'm able to do it with the help of a free RE called Aftermath CV8x4. The Combinator's Rotary dial takes Euclid from 1 to 16, then a jump to -16 and back up to 0. The positive and negative ranges of Euclid's Offset are effectively swapped, which is what I think you're trying to accomplish.

I've mapped a Rotary to modulate two of the Aftermath CV dials, but have adjusted the source ranges and target ranges, as well as setting the CV in from Aftermath to Unipolar. Here's a few images, but I'd be happy to send you the Combinator patch. All you need is the Aftermath (free).

Here's a link.

https://www.reasonstudios.com/shop/brow ... th%20Audio
Attachments
Screenshot 2024-05-06 at 12.51.23 PM.png
Screenshot 2024-05-06 at 12.51.23 PM.png (299.93 KiB) Viewed 512 times
Screenshot 2024-05-06 at 12.51.29 PM.png
Screenshot 2024-05-06 at 12.51.29 PM.png (297.02 KiB) Viewed 512 times
Screenshot 2024-05-06 at 12.51.35 PM.png
Screenshot 2024-05-06 at 12.51.35 PM.png (577.39 KiB) Viewed 512 times
Last edited by huggermugger on 06 May 2024, edited 2 times in total.

User avatar
huggermugger
Posts: 1470
Joined: 16 Jul 2021

06 May 2024

More images
Attachments
Screenshot 2024-05-06 at 12.51.09 PM.png
Screenshot 2024-05-06 at 12.51.09 PM.png (300.61 KiB) Viewed 510 times
Screenshot 2024-05-06 at 12.51.15 PM.png
Screenshot 2024-05-06 at 12.51.15 PM.png (290.88 KiB) Viewed 510 times

User avatar
huggermugger
Posts: 1470
Joined: 16 Jul 2021

06 May 2024

Here's the Combinator file, zipped.
Attachments
Flip CV Range.cmb.zip
(2.43 KiB) Downloaded 15 times

User avatar
Pepin
Posts: 632
Joined: 16 Jan 2015

06 May 2024

electrofux wrote:
06 May 2024
I was hoping a formula for that type of conversion exists that i can put into pepins math RE to get the desired values.
If I'm understanding correctly, this formula might work:

Code: Select all

(K+0.5)%1

electrofux
Posts: 876
Joined: 21 Jan 2015

07 May 2024

Thx for the answers. Will try tonight. Good stuff!

Edit: just plotted out the (k+0,5)%1 on some online calculator and it looks exactly right. The combi one is crazy too but i need those cv ins otherwise. But i will definitly use this nifty technique somewhere else.

User avatar
selig
RE Developer
Posts: 12118
Joined: 15 Jan 2015
Location: The NorthWoods, CT, USA

07 May 2024

Here's how to do it with Thor (of course!) in a Combinator:
Shifted Rotary 90°.cmb.zip
(1.88 KiB) Downloaded 18 times
CV1 out is covering the full range from 0 -127 on the top half and -127-0 on the bottom half. This is routed to the Pitch Bend wheel on Thor to 'visualize' the motion. Connect this (CV1 out) to the CV input of you choice!
Selig Audio, LLC

electrofux
Posts: 876
Joined: 21 Jan 2015

08 May 2024

selig wrote:
07 May 2024
Here's how to do it with Thor (of course!) in a Combinator:
Shifted Rotary 90°.cmb.zip

CV1 out is covering the full range from 0 -127 on the top half and -127-0 on the bottom half. This is routed to the Pitch Bend wheel on Thor to 'visualize' the motion. Connect this (CV1 out) to the CV input of you choice!
Thor is the GOAT! Thx for that aswell. Three different solutions for one thing that shows.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Trendiction [Bot] and 4 guests