Differentiate Initializations caused by Ens Load and usual Inits by turning Audio Off/On
the topic says it all.
How can Initializations by Ens Load and Initializations by restarting Reaktor Audio (turning Off/On) beeing separated?
I think it must be a module or a variable (respectively Outport) in such a module that is usually init solid, but clears it´s internal state when closing the ensemble.
Ok, this is one solution using the Tapedeck Module:
EDIT, Short explanation:
Idea: A Tapedeck with option "keep audio only in memory" would loose it´s memory when closing the Ens but not at Init.
At Init (whichever), the length of the sample data in Tapedeck is checked. If it is 0, Init is definetely caused by loading an Ensemble because the Tapedeck is empty. If it is greater 0, Init is caused by a Reaktor Audio Restart, because the Tapedeck contains Audio data.
Audio data is written to the Tapedeck at Ens Load (because len=0) for a minimum time (1 sample, the resulting 2 sample length might be due to Tapedeck interpolation)
The 1 sample Single Delay post the Init Bang seems to be needed due to the TD not allowing recording starts in the Init and first post init phase (Order 2, 3, ...), i guess.1
Just to add:
This macro puts out the answer 2 samples post init. So it can´t be embedded into the global synchronous initialization step and it´s targets must be aligned to it.0
This solution, using the Event Table, is so much smarter:
It uses less resources and it fires at the synchronous init step :-)
The event table gives out a 0 if you loaded the ens and it gives out a 1 if you restartet the Reaktor audio engine.
Re-initializations on ens load forced by switches, lists, etc. do not trigger the ET to fire a second time :-)
I like this one...
PS: it also gives out a 1 if a Sample Rate change occured. And it sometimes gives out a 1 at Voice Number change. But this is another topic that i should grab up in the R6 Initialization Info thread again...
Here the Module for you:3
- 10.5K All Categories
- 20 Welcome
- 441 Hangout
- 58 NI News
- 204 Tech Talks
- 1K Native Access
- 4.8K Komplete
- 609 Komplete General
- 1.1K Komplete Kontrol
- 1.8K Kontakt
- 473 Reaktor
- 149 Battery 4
- 268 Guitar Rig & FX
- 199 Massive X & Synths
- 208 Other Software & Hardware
- 2.2K Maschine
- 14 Sampling Room
- 2.6K Traktor
- 2.4K 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