Notifications
Clear all

Structuring Libraries and Layers for smooth transitions in live performance

9 Posts
5 Users
0 Reactions
331.6 K Views
(@timg11)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter   [#5844]

I'm a new user of Unify 2 (Windows 11).   I'm working to transition my live performance setup from my Korg Kronos (which is great, but weighs too much), to a notebook computer with Unify 2 standalone mode and a lightweight MIDI controller.  My software instruments include Omnisphere, Arturia CS-80, Cherry Audio Chroma, Pigments, Analog Lab, Absynth, and others. 

The Kronos is unique in offering "Smooth Sound Transition". This means I can be playing along, holding and sustaining notes, and select a new program or combi. The playing notes continue unchanged, but any new notes play with the new program.  This capability of smoothly transitioning sounds is essential for me. 

I understand that software instruments cannot change patches instantly - they take time to load large files. However with the capabilities of a powerful computer and Unify, I intend to get the same result through layering.  With a 12th Gen I7 CPU and 64G of RAM, I can have multiple instances of these plugins loaded in Unify, and manage the flow of MIDI to simulate changing programs and implementing layering. 

I plan to use MIDI controllers with buttons and faders to enable and disable the MIDI flows to the instruments in Unify layers. There will need to be some specialized MIDI handling to allow the sustain release to pass through regardless, otherwise with I disabled a layer with sustain active, it would get "stuck". 

For one performance, I would need about 16 of these configurations I would switch between. Does Unify 2 have a term for that? I'm just starting out and working through the user guide. The terminology is somewhat different, so I'm not sure what I'm looking for or how to recognize it when I see it. 

My initial thought is to create a library with 8 layers, 2 each of Omnisphere, CS80, Chroma, and Pigments. (with very different patches selected in each instrument)  Then develop the MIDI routing/and control so I can seamlessly switch between the first 4 and the second 4. 

Has anyone done anything like this? If so any guidance or suggestions or pointers to the manual would be appreciated. 

 

 

 



   
Quote
(@wavesequencer)
Honorable Member Admin
Joined: 2 years ago
Posts: 552
 

We'd love to implement smooth patch/scene switching - that would be something for Unify3 probably - it would involve running parallel instances of Unify2 and crossfade/fade-out the prior instance on switching - different from simply having multiple layers loaded all the time, because then we can disable the non-used instance once the cross-fade period is over.

For the moment then, so long as your PC is powerful enough (and enough memory to hold many loaded plugins at the same time), you could consider to use Notemate to switch tabs during live performance, each tab can target specific MIDI channels in the 'all voices' mode (each layer listening to an individual channel) - you can remote control tab switching with a MIDI cc message or map that via the macro link controls (see user guide).

Switching Notemate tabs / channel targets doesn't disable the instrument layers, so any sounding notes still continue.. each layer can hold a embedded unify instance which can hold a complex multi-layer patch.

Prior to Notemate, layer switching could be achieved with macro knobs and layer MIDI enable toggles in the macro links.. but Notemate is much easier to set up and you can name your 'scenes' (tabs) and use custom names for each channel.

 



   
ReplyQuote
DOMINIQUE
(@dominique)
Reputable Member
Joined: 7 years ago
Posts: 273
 

This ties in with my earlier point about key switches.

Indeed, Notemate offers many great possibilities for seamlessly switching between patches. 😉 


Dominique
WIND 10 Reaper 6 Kronos / Osmose / Motif / Vsynth / Karma / Omnisphere 3 / Keyscape / Nylon sky / Undercurrent /Stylus / UVI Ravenscroft ,Modern D ,Orchestral suite,Pianoteq pro 8, Spitfire all Originals collections & Labs , BBCSO core ,Spitfire Symphony Orchestra,Abbey road 2, Frozen strings , Albion Tundra , Solo strings, Chamber strings evolution, CELLS , British drama tool kit, Fragile strings evolution , Aperture , Aperture strings , Ambient guitars, Appassionata ,Sparkling woodwind , Studio Brass ,Soft strings textures, Soaring high strings ,Low legendary strings, Mercury Solar, Eric Whitacre contrast, Speculative memory, Landfill Totems, Orchestral tool Habitat & Salu, Arturia Pigments , Rapid Parawave , Plasmonic, Surge , Descent Sampler, Flow motion, Pianoteq pro, Memorymode, Sine ,Bx_Oberhausen, FM8, Eight voices, Dreamsynth, GX-80,Access,Oddity 3,Prophet-10,PS-3300 ,HARMONIA ,Lion, Byome, Triad, Royal Albert hall Organ, Kniffonium, Vital, Minimonsta 1&2 , Imposcar 2&3 ,Surge ,Generate , Ostirus ,Xenia , PhasePlant , Soundpaint Dunescape requiem, Myth , Hyperion ,Traveler ,Noisy 2


   
ReplyQuote
(@timg11)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

Thanks for the pointer to Notemate. That seems like the best approach. 
I'm now doing testing to ensure the system can handle lots of plugins concurrently. 
It is a Dell 7670 with 64G RAM, I7-12850HX CPU, Motu M4 interface with ASIO. 

I have a test preset with 8 layers. Two each - Omnisphere, Pigments, CS80, and Chroma.  I'm just using mute to exercise them in groups of 4. 

When I mute 4 and play 4 plugins at a time, the CPU use is not even visible above the background 4-5% in Task Manager. Even with all 8 unmuted, CPU rises to the range of 8 - 10 %. 

Yet I am hearing occasional pops, dropouts, and bursts of distortion. I've adjusted levels on the layers and Unify master so there is plenty of headroom. 

Here's what latencymon reports after some tweaking (Turn off green ethernet, speedstep, c-states)

        MEASURED INTERRUPT TO USER PROCESS LATENCIES
        _________________________________________________________________________________________________________
        The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.
        
        Highest measured interrupt to process latency (µs):   241.40
        Average measured interrupt to process latency (µs):   14.081623
        
        Highest measured interrupt to DPC latency (µs):       229.40
        Average measured interrupt to DPC latency (µs):       3.890338

Should I keep chasing lower latency, or are there other diagnostics I can perform in Unify 2? 

 



   
ReplyQuote
(@wavesequencer)
Honorable Member Admin
Joined: 2 years ago
Posts: 552
 

Unify is quite sensitive to block size - if you set it too low it can be an issue due to the multi-threaded/multi-layer processing - so chasing low latency may not be best for complex multi-layer setups.

What size are you using? I'd recommend no lower than 128 samples at 48KHz, or 256 if you can deal with the latency (especially when running lots of intensive plugins - Omnisphere and Pigments are known to be CPU hungry). Really small block sizes can cause extra load in terms of thread sleep/wake events.

For some plugins, they might work better if their plugin multi-core processing is disabled (worth to test if the plugin has it) - but you should check/test also the quality settings you have in each plugin.

Average CPU processing time doesn't take into account CPU load spikes from badly behaving plugins that might do things like allocate memory in the audio thread causing blocking of audio processing.
Also be careful of looking at the task manager CPU load - because it doesn't really represent audio load, which is a question of how much time is used to process specifically within the audio thread callback (if things take too long the real-time deadline is missed for that audio block and hence you'll hear a glitch).

CPU load on modern processors can also be misleading due to core priority switching (big/little architectures) and frequency stepping - if there are options in the OS/BIOS to keep the CPU in max performance mode / disable dynamic frequency changing then I would use those for an audio production PC. 

Just muting layers in Unify won't stop instrument plugin processing as far as remember.

 

 

 

 



   
ReplyQuote
(@getdunne)
Illustrious Member Admin
Joined: 7 years ago
Posts: 4905
 

Posted by: @wavesequencer
↑

Just muting layers in Unify won't stop instrument plugin processing as far as remember.

Muting layers (using the "M" buttons) simply reduces their output volume to zero; CPU usage will be unaffected.

Disabling layers (by clicking the green MIDI dot at the left) stops the flow of new MIDI note-on events into the layer. For most instrument plug-ins, this will reduce CPU usage considerably, because no notes are being processed. Most audio-effect plug-ins will be unaffected, using as much CPU processing silence as they would processing audible signals, but this can be handled by also bypassing these plug-ins (by clicking their "B" button) individually.


@timg11 reports that his problem is not CPU usage, but rather audio drop-outs. I have two suggestions:

  1. Unify wasn't designed for ultra-low latency, so as @wavesequencer said, you should keep your buffer size at 128 or 256, especially on a Windows machine. Recent Macs can work well with surprisingly small buffer sizes, but I still don't recommend it.
  2. Windows was never designed for smooth audio performance, and it shows. I have a PC running Win11 on an AMD Ryzen 9 7950X 16-Core Processor, and despite its massive horsepower, I've never been able to get rid of its occasional audio drop-outs--although I haven't yet tried all the tricks described in this very nice free e-book written by the Gig Performer folks.

 



   
ReplyQuote
(@wavesequencer)
Honorable Member Admin
Joined: 2 years ago
Posts: 552
 

That's a great guide book! after looking through it I'm tempted to say that chapter 1 page 1 should say "just get a Mac" 😉 

(My main 'studio' PC is is actually a Windows machine (10th gen i9).. but yes - it's mostly optimized with the basics - like the max power/performance mode and disabling unnecessary hardware or startup programs. Windows updates are a pain indeed, and for pro level live performance I'd probably not bother with a Windows laptop personally.)

If you use Notemate it won't send MIDI notes to the non-selected channels for each tab, so it's kind of the same as disabling MIDI input on specific layers - in either case the instrument plugin is still running and most likely still processing its effects bus even if no notes are being processed - and not all plugins do a great job of stopping processing oscillators/filters etc. if no notes are active.



   
ReplyQuote
(@dewdman42)
Trusted Member
Joined: 5 years ago
Posts: 67
 

I recommend you have a look at what MainStage does to enable these kinds of transitions.  and certainly no pause when changing presets.  Basically in MainStage you setup "sets" where each set is a list of songs.  And when you load a set, it loads every plugin instance from every song ahead of time, so that switching from one patch to another simply is changing which "song" is currently active.  Instant changes.  

I think Unify would simply need a way to group presets into set lists....so that when you load a set...which is a list of "presets", it loads them all at once in some way in memory, but only activates one at a time.

As far as fading from one preset to the other, I vaguely recall it does that too, but no idea how they go about it, but again...within a set, all presets are loaded....each one has its own mixer...and it should not be that hard fade from one mixer to the other.

As a temporary gap, I think people should instead considering using unify as a plugin inside of MainStage or one of of the other live gigging software programs.  There are numerous reasons they will be better for this situation and then Unify can focus on one thing, loading a single preset at a time, even if it takes a while...  for example, if you have a setlist with 10 songs and they all use unify....then switching from one song to the next will be instantaneous, unify doesn't have to reload the preset for each song..its all preloaded ahead of time to avoid that.

 



   
ReplyQuote
(@timg11)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

Hi all, after some delay, I'm getting back to this. Because I have two topics I've brought up here, I'm going to start two new threads to carry on the discussions: 

1) Using Notemate for smooth transitions in live performance
2) Optimizing Unify for pop-free operation under Windows 11. 


This post was modified 4 weeks ago by timg11

   
ReplyQuote
Share: