Simple counter
Turning the dial increments the value by 1, because of the feedback loop
WHy is it not working when replacing it with SR.C?
Comments
-
edit ..forget to set signal mod to audio for the outlet
All good
0 -
Those orange coloured wires are a warning. They tell you that Reaktor is adding in a unit delay 'somewhere' in that loop. When using OBC, there is no need for this, just swap the order of the read and write modules, and you control where the unit delay is - that way you know for sure exactly what is going on :)
0 -
I am verry well aware that the orange lines indicate a feedback loop , because that's exactly what I wanted to do ->Creating a simple counter based on feedback <--
The error I got was because the outlet was not set to audio
0 -
The error I got was because the outlet was not set to audio
I understand that, I was just pointing out a problem with implicit feedback loops. Apologies for being preachy about it :)
Here's a bit from the manual:
The point I'm making is that there is a more controlled way to implement a feedback loop using OBC. In this particular example the implicit unit delay doesn't change the functionality unexpectedly, but in general there are no guarantees. Makes sense to get into good habits IMO.
e.g. with orange feedback, it's possible that some more complex code might work now, but then in some future version of Reaktor stop working correctly because the compiler chooses a different position for the implicit unit delay, or a different number of unit delays in the loop!
It's always possible to rewrite code to remove all implicit feedback.
Your version:
Can be re-written like this:
This is functionally identical, but there are no orange wires, the feedback including the (now explicit) unit delay is contained within the OBC!
Another alternative would be:
Here the feedback is contained within the OBC of the Latch[-1] module, so again no orange warning
0
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 785 Tech Talks
- 4.1K Native Access
- 16.5K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 378 Battery 4
- 845 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.3K Traktor
- 7.3K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators