pre-gen

Discussion of Digital Performer use, optimization, tips and techniques on MacOS.

Moderator: James Steele

Forum rules
This forum is for most discussion related to the use and optimization of Digital Performer [MacOS] and plug-ins as well as tips and techniques. It is NOT for troubleshooting technical issues, complaints, feature requests, or "Comparative DAW 101."
Post Reply
User avatar
supersonic
Posts: 664
Joined: Sun Dec 26, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Poland
Contact:

pre-gen

Post by supersonic »

I was wondering if there is definite knowledge as to when the pre-gen works most? For example. Does it work when the VI is in the V-rack or has AUX tracks playing some of the additional VI outputs for further effects?
Music is movement in silence
My day jon - http://www.audioplanet.pl
My other passion - http://www.aps-company.pl
User avatar
Michael Canavan
Posts: 3578
Joined: Fri Jul 15, 2005 10:01 pm
Primary DAW OS: MacOS
Location: seattle

Re: pre-gen

Post by Michael Canavan »

As far as I know PreGen works on MIDI and audio tracks in Sequence Chunks. So whether a virtual instrument is in a V-Rack or not the MIDI and effected audio data is pre rendered in your Sequence Chunk. Now I'm not sure about Aux tracks, it's typical of any DAW not to be able to freeze Aux tracks, for instance tracks from multi audio out instruments etc. Any track with the record enabled will not be pre rendered as well.

Someone else might have more information on Aux tracks, but any MIDI track feeding a non multi out instrument or audio track with effects etc. is pre rendered.
M2 Studio Ultra, RME Babyface FS, Slate Raven Mti2, NI SL88 MKII, Linnstrument, MPC Live II, Launchpad MK3. Hundreds of plug ins.
User avatar
KenNickels
Posts: 294
Joined: Thu Aug 25, 2011 4:43 pm
Primary DAW OS: MacOS
Location: NYC

Re: pre-gen

Post by KenNickels »

Michael Canavan wrote:As far as I know PreGen works on MIDI and audio tracks in Sequence Chunks. So whether a virtual instrument is in a V-Rack or not the MIDI and effected audio data is pre rendered in your Sequence Chunk. Now I'm not sure about Aux tracks, it's typical of any DAW not to be able to freeze Aux tracks, for instance tracks from multi audio out instruments etc. Any track with the record enabled will not be pre rendered as well.

Someone else might have more information on Aux tracks, but any MIDI track feeding a non multi out instrument or audio track with effects etc. is pre rendered.
That's interesting. All of my VI's are multi's with direct outs to audio tracks. They are always real time when the VI edit window is open. And they MUST be open, otherwise they are pre-gen and will not work. I've been dealing with this issue for a long time. Where is this specified, 'multi-outs' problem?
My Box(s): Two Mac Pros 5,1/3Ghz, 12 core, 96GB Ram, OS 10.14.6, One Windows 10 computer, Vienna Ensemble Pro, MOTU Audio Express, DP 10.01, Falcon 3, Eastwest, NOVO Strings, 8Dio Brass, Spitfire,, Symphobia
User avatar
Michael Canavan
Posts: 3578
Joined: Fri Jul 15, 2005 10:01 pm
Primary DAW OS: MacOS
Location: seattle

Re: pre-gen

Post by Michael Canavan »

KenNickels wrote: All of my VI's are multi's with direct outs to audio tracks. They are always real time when the VI edit window is open. And they MUST be open, otherwise they are pre-gen and will not work. I've been dealing with this issue for a long time. Where is this specified, 'multi-outs' problem?
This is such a bizarre problem to me? So in your set up if you don't have the GUI of a multi out instrument open it does what?
otherwise they are pre-gen and will not work.
What happens? what doesn't work? Curious because everyone seems vague to me about this issue, and since it doesn't show up on my system I can't replicate the problem. Plug ins that are multi out simply use more CPU, but since they're multi out in the first place it's not like say Kontakt with 8 instruments loaded into an instance uses any more CPU than 8 instances of Kontakt with a single instrument and audio out that gets PreGen benefits.
At least that's how it works here.
M2 Studio Ultra, RME Babyface FS, Slate Raven Mti2, NI SL88 MKII, Linnstrument, MPC Live II, Launchpad MK3. Hundreds of plug ins.
User avatar
KenNickels
Posts: 294
Joined: Thu Aug 25, 2011 4:43 pm
Primary DAW OS: MacOS
Location: NYC

Re: pre-gen

Post by KenNickels »

As I understand it, when the VI window is closed it goes into pre-gen by default. When it's open you have the choice of pre-gen or real time through the mini menu. But whatever the case, if it's pre-gen a whole slew of problems result, which I have exhaustively described to MOTU. The system becomes completely unusable. So, OK, I keep them open all the time now. But I am at the limit of my screen real estate too. And if I used one instance per instrument I would have maybe 7-8 instance/instruments on the screen when my template needs 48 tracks/instruments. It doesn't matter if it's Play or Kontakt, same thing.
My Box(s): Two Mac Pros 5,1/3Ghz, 12 core, 96GB Ram, OS 10.14.6, One Windows 10 computer, Vienna Ensemble Pro, MOTU Audio Express, DP 10.01, Falcon 3, Eastwest, NOVO Strings, 8Dio Brass, Spitfire,, Symphobia
User avatar
supersonic
Posts: 664
Joined: Sun Dec 26, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Poland
Contact:

Re: pre-gen

Post by supersonic »

So if I get it right, an 8 MIDI channel Kontakt Instance that has each of the 8 instruments feed a separate multi-out uses quite a bit more CPU then 8 instances of Kontakt having just one instrument and closed to use Pre-Gen?
Music is movement in silence
My day jon - http://www.audioplanet.pl
My other passion - http://www.aps-company.pl
User avatar
KenNickels
Posts: 294
Joined: Thu Aug 25, 2011 4:43 pm
Primary DAW OS: MacOS
Location: NYC

Re: pre-gen

Post by KenNickels »

supersonic wrote:So if I get it right, an 8 MIDI channel Kontakt Instance that has each of the 8 instruments feed a separate multi-out uses quite a bit more CPU then 8 instances of Kontakt having just one instrument and closed to use Pre-Gen?
Well, that's the odd thing about it. No, according to the Mac utilities like Activity Monitor or Menu Meter, the CPU metric is the same whether 1/1 or 8/1 output/instance. That's not to say that the CPU isn't 'used' more, only that it isn't 'measured' more. I don't understand it. I only know that I must keep the VI edit windows open to use DP.
My Box(s): Two Mac Pros 5,1/3Ghz, 12 core, 96GB Ram, OS 10.14.6, One Windows 10 computer, Vienna Ensemble Pro, MOTU Audio Express, DP 10.01, Falcon 3, Eastwest, NOVO Strings, 8Dio Brass, Spitfire,, Symphobia
User avatar
supersonic
Posts: 664
Joined: Sun Dec 26, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Poland
Contact:

Re: pre-gen

Post by supersonic »

How so? The instruments don't play otherwise? I have sessions with multiple instances playing, all closed.
Music is movement in silence
My day jon - http://www.audioplanet.pl
My other passion - http://www.aps-company.pl
User avatar
KenNickels
Posts: 294
Joined: Thu Aug 25, 2011 4:43 pm
Primary DAW OS: MacOS
Location: NYC

Re: pre-gen

Post by KenNickels »

Really? I want to rip my hair out in that case. :banghead: While editing, clicked notes last only a millisecond or so. Cannot scrub with the wiper because of this. Then system becomes unusable and cannot save project or close DP. It is 100% predictable.
My Box(s): Two Mac Pros 5,1/3Ghz, 12 core, 96GB Ram, OS 10.14.6, One Windows 10 computer, Vienna Ensemble Pro, MOTU Audio Express, DP 10.01, Falcon 3, Eastwest, NOVO Strings, 8Dio Brass, Spitfire,, Symphobia
User avatar
Michael Canavan
Posts: 3578
Joined: Fri Jul 15, 2005 10:01 pm
Primary DAW OS: MacOS
Location: seattle

Re: pre-gen

Post by Michael Canavan »

KenNickels wrote:Really? I want to rip my hair out in that case. :banghead: While editing, clicked notes last only a millisecond or so. Cannot scrub with the wiper because of this. Then system becomes unusable and cannot save project or close DP. It is 100% predictable.
Like Supersonic I do not experience any of that. Opening multiple plug in instances for multi instrument plug ins like Kontakt just uses slightly more CPU on my system than when the instances are closed.

This has always led me to believe strongly that PreGen issues for people are due to a misbehaving plug in or hardware driver. The more complex plug in protection schemes like Waveshell, or system changing things like hardware plug in accelerators like UAD cards, or VEP instances using gigibit ethernet etc. Or even a really badly written plug in that does something to the whole systems stability. It can happen.

I use VEP sometimes, and have Waveshell for about 4 Waves plug ins. No hardware plug in card, RME, Logitech, NI, Slate, and Ableton drivers for various things.

The bad behavior I get is a crash on start which seems to be due to either a Metric Halo transient or Slate Trigger plug in.. It always loads fine the second time.. odd but not that big of a deal.
M2 Studio Ultra, RME Babyface FS, Slate Raven Mti2, NI SL88 MKII, Linnstrument, MPC Live II, Launchpad MK3. Hundreds of plug ins.
Post Reply