HolyCityAudio / SpinCAD-Designer

SpinCAD Designer is an open source Java project which allows creation of patches for the Spin FV-1 audio DSP chip.
153 stars 27 forks source link

Create 1/X control block with ratio/threshold control #47

Closed Digital-Larry closed 6 months ago

Digital-Larry commented 1 year ago

I finally figured out how the 1/X block works. Suppose you want something that maps (0.2, 1.0) to (1.0, 0.2) while keeping the x * y product constant the whole way? A simple SOF won't do it!

Digital-Larry commented 6 months ago

OK I came up with the ratio block. Has a single input to go from 0-1. Linear output goes from 1/ratio to 1. Ratio output goes from 1 to 1/ratio, following the curve y = 1/(x * ratio).