Thank you for this! I should be getting around to it pretty soon now.baconpaul wrote: Wed Oct 23, 2024 6:00 pm @Aaron - I know Andreya has been in touch and would be great to see you in the surge tuning channel, but also the way I often share the simplest MTS onboarding is to share the single diff I did to take monique from 440 * 2^((key-69)/12) to that or MTS-ESP client.
https://github.com/surge-synthesizer/mo ... 52cb9e30ff
It's three years old but is basically the same today. I introduced a tuning handler with that in case I wanted to do direct SCL/KBM but never got around to it in monique. Hope that helps!
Peking at your code, you probably want to just replace
```
setFrequency (static_cast<float> (juce::MidiMessage::getMidiNoteInHertz (midiNoteNumber)));
```
with an if-client-bound-client-frequency-else-that.
New Free Open Source Synth, Terrain, By Aaron Anderson
-
aaron_anderson aaron_anderson https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=723176
- KVRist
- 42 posts since 21 Oct, 2024
- KVRist
- 486 posts since 2 Feb, 2005 from UK
Can I add one more voice for MIDI learn - and suggest you might want to consider pushing this up the priority list, it will make sounds repeatable and still retain the motion you have....
VST/AU Developer for Hire
-
aaron_anderson aaron_anderson https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=723176
- KVRist
- 42 posts since 21 Oct, 2024
This is now fixed in version 1.0.3! Thank you for finding this bug. Link to installers has been migrated to github/releases: https://github.com/aaronaanderson/Terrain/releasesjbraner wrote: Tue Oct 22, 2024 6:27 pm OK - I found something. If you save a Reaper preset with settings that you like, then play around - if you then load the Reaper preset, then none of the controls work anymore. In other words, Terrain is frozen at the settings of th eReaper preset (and works fine) but you can't change anything.
-
aaron_anderson aaron_anderson https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=723176
- KVRist
- 42 posts since 21 Oct, 2024
Hi all!
Version 1.0.3 is complete. Installers: https://github.com/aaronaanderson/Terrain/releases
-Adds Pitch Bend
-Sustain control now in Decibels
-Fixes Zero-Sustain bug
-Fixes Preset Saving bug in Reaper
-Stability Improvements
Best,
Aaron
Version 1.0.3 is complete. Installers: https://github.com/aaronaanderson/Terrain/releases
-Adds Pitch Bend
-Sustain control now in Decibels
-Fixes Zero-Sustain bug
-Fixes Preset Saving bug in Reaper
-Stability Improvements
Best,
Aaron
-
aaron_anderson aaron_anderson https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=723176
- KVRist
- 42 posts since 21 Oct, 2024
When generating the roadmap I balance the number of requests from the community with how much work a feature will take. MIDI Learn will be a time consuming feature to implement - but your voice is heard. I moved it up on the roadmap: https://github.com/aaronaanderson/Terra ... RoadMap.mdLind0n wrote: Thu Oct 24, 2024 10:03 am Can I add one more voice for MIDI learn - and suggest you might want to consider pushing this up the priority list, it will make sounds repeatable and still retain the motion you have....
- KVRAF
- 3643 posts since 21 Nov, 2015
Btw.aaron_anderson wrote: Tue Oct 22, 2024 8:32 pmI just tested again and you're right; it is easy to get aliasing with the sinusoidal terrain with maximum harmonics, the scale of the trajectory large, and the butterfly trajectory even at 16x oversampling.El°HYM wrote: Tue Oct 22, 2024 6:04 pm88 or 61 Keys, because a lot of digital ones start get really ugly above C5.aaron_anderson wrote: Tue Oct 22, 2024 5:28 pm
You're very welcome! Fortunately 16x is pretty overkill. I tried the worst-case scenario (the butterfly trajectory on a fully saturated terrain, with the highest note on the keyboard) and 8x oversampling was enough to remove any audible aliasing. For nearly all use cases I would recommend 2x.
Thank you for testing!
What is your take on ADAA?
https://ccrma.stanford.edu/~jatin/Notebooks/adaa.html
https://www.researchgate.net/publicatio ... onvolution
You can be creative in any right place on Earth, and not only in the wealthiest cities. Bring the world feelings from everywhere, and not only feelings of capitalistic or jail environment.
― Aleksey Vaneev
https://linuxdaw.org
― Aleksey Vaneev
https://linuxdaw.org
-
aaron_anderson aaron_anderson https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=723176
- KVRist
- 42 posts since 21 Oct, 2024
I actually hadn't heard of ADAA. This is really interesting, thank you for bringing it to my attention. It would seem that a 'trivial' implementation would be possible in Terrain; take the first or second order antiderivative of both the trajectory and terrain function independently. Each successive antiderivative order seems to increase the computational cost; likely not near as much as the oversampling however. It would be a nice feature to provide both orders of antiderivatives as options in addition to oversampling. I would really have to brush up on my calculus to pull that off though.
- KVRAF
- 1890 posts since 14 Jul, 2018
working fine in logic under mojave
uhm...:
in re pitchbend, it would imho be fine to be able to set the semitone value
12 semis (1 full octave) as it is now is imho to much (as a default)...
uhm...:
in re pitchbend, it would imho be fine to be able to set the semitone value
12 semis (1 full octave) as it is now is imho to much (as a default)...
-
aaron_anderson aaron_anderson https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=723176
- KVRist
- 42 posts since 21 Oct, 2024
I plan to add a setting for this to be changed by a user in the future. I'll make the default a whole step.muki wrote: Thu Oct 24, 2024 9:10 pm working fine in logic under mojave
uhm...:
in re pitchbend, it would imho be fine to be able to set the semitone value
12 semis (1 full octave) as it is now is imho to much (as a default)...
- KVRAF
- 3643 posts since 21 Nov, 2015
aaron_anderson wrote: Thu Oct 24, 2024 8:41 pm I actually hadn't heard of ADAA. This is really interesting, thank you for bringing it to my attention. It would seem that a 'trivial' implementation would be possible in Terrain; take the first or second order antiderivative of both the trajectory and terrain function independently. Each successive antiderivative order seems to increase the computational cost; likely not near as much as the oversampling however. It would be a nice feature to provide both orders of antiderivatives as options in addition to oversampling. I would really have to brush up on my calculus to pull that off though.
First Time I have heard of it was via TBT. So thats pretty much what I have for now. Some of the more interesting stuff on this topic so far, imho.
https://www.threebodytech.com/en/produc ... compressor
Anti-derivative anti-aliasing is a method to reduce aliasing artifacts in nonlinear audio processing without the use of oversampling. It transfers discrete sampling points into continuous signals, which provides the system an unlimited sample rate that remarkably reduces aliasing. The technique was initially invented by Native Instruments,[1] and was then gradually utilized in a number of waveshapers in the following years.
You can be creative in any right place on Earth, and not only in the wealthiest cities. Bring the world feelings from everywhere, and not only feelings of capitalistic or jail environment.
― Aleksey Vaneev
https://linuxdaw.org
― Aleksey Vaneev
https://linuxdaw.org
-
- KVRist
- Topic Starter
- 369 posts since 9 Mar, 2019
I've updated the links in my posts to also reflect installers' location.
TY for Version 1.0.3, Aaron, and to others' input and support!
TY for Version 1.0.3, Aaron, and to others' input and support!
Agreed." 'You can be creative in any right place on Earth, and not only in the wealthiest cities. Bring the world feelings from everywhere, and not only feelings of capitalistic or jail environment.' ― Aleksey Vaneev"
~ El°HYM (signature quote)
"You often need money to change things. But most ways of acquiring it require you to compromise on your ideals. We can do better than that." ~ Peter Sunde
- KVRian
- 852 posts since 12 May, 2004
Interesting unit. Using the VST3 version on an M1 Macbook, I found that turning on the filter introduced a fair amount of distortion, regardless of settings.
On a number of Macs
-
- KVRian
- 1213 posts since 25 Dec, 2018
We use it quite a lot in surge. Both in vcos and waveshaoers. Feel free to fire me questions on discord or in pm if you want examples but it works really well.aaron_anderson wrote: Thu Oct 24, 2024 8:41 pm I actually hadn't heard of ADAA. This is really interesting, thank you for bringing it to my attention. It would seem that a 'trivial' implementation would be possible in Terrain; take the first or second order antiderivative of both the trajectory and terrain function independently. Each successive antiderivative order seems to increase the computational cost; likely not near as much as the oversampling however. It would be a nice feature to provide both orders of antiderivatives as options in addition to oversampling. I would really have to brush up on my calculus to pull that off though.
Key insight is that the numerical derivative of the analytic integral is equivalent form to alias supressing filters but happy to share papers code blogs etc
From playing with terrain i would think a blit approach may also work (I haven’t read the code but I assume you are just putting position on surface into output and there may be better techniques to reconstruct)
Anyway as well as the tuning channel we have a dsp channel and always happy to shoot the you know what with friendly oss devs
- KVRAF
- 1890 posts since 14 Jul, 2018
aaron_anderson wrote: Thu Oct 24, 2024 9:19 pm I plan to add a setting for this to be changed by a user in the future. I'll make the default a whole step.
