|
Post by davidson on Jun 8, 2019 14:57:53 GMT 1
I have been looking for a DSP Rescaler module for Mac and cannot find one. I need it for my modulation matrix. In the TD 64bit pack there is a rescaler that works with 64bit vst3. Windows vst3 64bit is good to go. I need to preform functions like -5 5 to range 0 10, is it possible maybe to use a prefab from factory modules?
Any Help getting Rescaler working on mac would be helpful thank you.
I think this may work for C++ but I don't have Visual Basic setup or Xcode to try it. I have limited to no knowledge of how to make modules. Looking through the tutorials it seems possible though.
|
|
Andrew
Developer
Posts: 110
Posts: 110
|
Post by Andrew on Jun 12, 2019 19:42:15 GMT 1
That math is a bit overly complicated, can easily be done with stock SE Modules. Simpler formula: rescale = out_min + ((out_max-out_min) * ((in_min-input) / (in_min-in_max))); The only thing to look out for is that "in_min" and "in_max" should never be the same value otherwise you'll create a divide by zero, in practice that should never happen though. Here's a pic of how to build it, note that the containers are just there for organisation they having nothing inside(inputs connected to outputs). Oh, and I don't have a Mac so no Mac modules, sorry!
|
|
|
Post by davidson on Jun 13, 2019 2:10:16 GMT 1
Great thank you very much Andrew that will help me replace the re-scalers in my mod matrix. I wish I did'nt have a Mac either I am forcing myself to provide cross platform compatibility for mac users. I did find a way to run windows vst on mac in an easy way but only works with vst2 not vst3. Having a AU plugin should work better thanks again for an easy solution.
|
|