a core cell that responds to clicks but not clocks
I'm puzzled.
I'm trying to create a core cell that implements a simple MIDI follower.
It works when I assign "step" to a button, but not when I drive "step" with a clock at a modified control rate. Any ideas as to why? I think I'm missing something major!
Thanks,
Best Answer
-
I think I figured this out. See
It was most likely a compiler error. I revised the code for single event propagation paths and it works fine.
What this does is to smooth out sudden jumps in value on a touch panel by interpolating from the previous value at 10 steps per second.
0
Answers
-
The clock generates Audio Events (at least audio synchronous), so you would need the outputs to 'Allow Audio Events'. There may be other issues too, but that's the obvious one looking at the pic.
1 -
Audio was an issue, but not the only one. I changed everything to audio and it still doesn't work.
The library function Core --> Library --> Control --> Smoother --> Lin Smoother (A) does something very similar but enjoys a complete lack of race conditions, unlike my example. It doesn't do quite what I want, but is close. I don't quite get why it works and mine doesn't. Will continue studying.
The most obvious difference between my solution and Lin Smoother (A) is that mine has a race condition between the target and current value as far as reading them out of memory. This could be the problem.
0 -
A related question: I think this core cell is failing to compile, but I have no evidence of why. It is not doing anything at all.
Is there any place I can check in Reaktor for core cell compilation errors?
0 -
I think I figured this out. See
It was most likely a compiler error. I revised the code for single event propagation paths and it works fine.
What this does is to smooth out sudden jumps in value on a touch panel by interpolating from the previous value at 10 steps per second.
0
Categories
- 8.8K All Categories
- 17 Welcome
- 383 Hangout
- 57 NI News
- 172 Tech Talks
- 908 Native Access
- 4.1K Komplete
- 511 Komplete General
- 926 Komplete Kontrol
- 1.6K Kontakt
- 408 Reaktor
- 130 Battery 4
- 222 Guitar Rig & FX
- 170 Massive X & Synths
- 170 Other Software & Hardware
- 1.9K Maschine
- 19 Sampling Room
- 2.1K Traktor
- 1.9K Traktor Software & Hardware