Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Forum Jump  
Groundbreaking Workaround Discovered!!!
Last post Wed, Mar 24 2004 by evan evans, 161 replies.
Options
Go to last post
9 Pages«<56789>
Posted on Wed, Mar 17 2004 15:58
by christianobermaier
Joined on Fri, Mar 05 2004, germany, Posts 68
>by the way, does the CPU hit occur even if the I/O is bypassed?

Yes. The philosophy (if you can call it that) behind the whole poblem is that Logic can (and does) easily process recorded MIDI notes and audio regions and put them out in time by fetching them early, so that enough time for processing is ensured.

This holds true for everything *exept* the current track, since this is the only one that might require immediate attention, cause obviously no processor could fetch notes you haven't played yet.
To get this one track processed in time, it gets assigned a huge boost in CPU resources, which is feasible as long as it's the only one track that's handled this way.

Now, what the IO trick does is in fact cheating by telling Logic "Oh, and besides that current track, i need *this* stream in realtime as well !". The existence of the plugin is evidence enough for Logic to sheepishly obey the order. The plugin is bypassed, since you would else have to physically patch your signal from the assigned out back to the chosen in to not loose it.

Christian

[URL=http://uk.geocities.com/christianobermaier/Gearlist.htm]gear list [/URL] studio pics show reel
Posted on Wed, Mar 17 2004 17:11
by Nick Batzdorf
Joined on Tue, Apr 29 2003, Los Angeles, Posts 2546
If using the I/O plug-in on each of, say, four Logic instances takes up too much CPU, then maybe the workaround is to record MIDI into each instance - but to set up a screenset with four horizontal quarter-screen Arrange windows. In other words, you have four panels laid out one on top of each other like four bricks piled up. Only one will be active at a time, but you can see the other three.

This still seems like a giant PITA, unfortunately.
Mac Pro 5,1 12-core 3.46 GHz, 64MB RAM, latest macOS available. Metric Halo 2882 interface.

VisionDAW Windows 7 Pro i7 950 3.07 4-core, 24GB RAM. Has an RME Hammerfall HDSP9632, but I just use VE Pro. Also several ancient P4 XP slaves, rarely used.
Posted on Wed, Mar 17 2004 17:19
by evan evans
Joined on Tue, Jun 17 2003, Hollywood, CA, Posts 2058
For whatever reason, the MIDI Patchbay is only available in either Logic as an input only. I cannot find any of my virtual output ports I created.

Question:

is the Physical Input 1-64 referring to 64 total ports or MIDI channels?

Evan Evans
Evan Evans
Film Scoring Academy
http://filmscoring.academy
Posted on Wed, Mar 17 2004 17:21
by Aubrey Robertson
Joined on Mon, Oct 27 2003, Posts 116
Evan,
I found the IAC to be useless in this situation. It will not act like a real virtual port, but is more like a copy of your physical interfaces. For instance, if your midi controller is connected to your midi interface port one, then no matter how you patch or how many IAC busses you create, none of them but the buss that corresponds to the physical input connected to the controller can receive that signal. It looks like I am going to have to use IAC to sync PT and LOGIC to chase one another, but to set up a looped playback Logic IAC was not helpful. To add to s8t’s point, you must keep midi patch bay open for the ports to be active.

Stupid8Track,
I have an RME DSP 9652 on the 2nd G5. It has three adat outs, but the problem is the Digi 192 i/o only offers two adat ins for a total of 16 digital channels at once. Well, I guess 16 inputs is not THAT much of a problem  Keep in mind that I configured this thing based on what one logic could do. That means I only have 4 midi i/o (because 64 would have been plenty the other way), and I was planning on using all 16 digital ins for one Logic. Now I’m thinking more in terms of 8 stereo busses split among 4 or more logics. Still not bad, but now I wish I had more midi channels.

About the i/o plug in, yes it is necessary on all the logics. What Christian posted about the selected track having audio priority makes it all clear. That’s why the i/o plug seems to not matter when the track is selected, but in a loop the difference is obvious. I’ve not noticed the environment causing latency issues. The latency seems to be a byproduct of the audio engine and not midi related. I’ve also not noticed a huge boost in cpu usage, but as I push this setup harder I will check that as well.

Aubrey
G5 dual 2.0 OS 10.3.2|Logic 6.3.3|VSL Pro Edition
Posted on Wed, Mar 17 2004 17:24
by Aubrey Robertson
Joined on Mon, Oct 27 2003, Posts 116
evanevans wrote:
For whatever reason, the MIDI Patchbay is only available in either Logic as an input only. I cannot find any of my virtual output ports I created.

Question:

is the Physical Input 1-64 referring to 64 total ports or MIDI channels?

Evan Evans


64 total ports. Your actual physical interfaces will be the first ports, if you have IAC active then they will be the next ports, and then after that any virtual ports you have created. You can figure out what's what by connecting a monitor to the first 8 to 16 nodes on the physical input object.

Aubrey
G5 dual 2.0 OS 10.3.2|Logic 6.3.3|VSL Pro Edition
Posted on Wed, Mar 17 2004 17:55
by evan evans
Joined on Tue, Jun 17 2003, Hollywood, CA, Posts 2058
ok. I'll see if this helps me any. Thanks.

But still I am pretty sure for some reason I cannot figure out how to go OUT of a virtual port from Logic. Can you explain that to me?

Thanks,
Evan Evans
Evan Evans
Film Scoring Academy
http://filmscoring.academy
Posted on Wed, Mar 17 2004 18:25
by Aubrey Robertson
Joined on Mon, Oct 27 2003, Posts 116
On the Logic Master, where you will be recording midi, create a midi instrument to represent each virtual port, then you can select the correct port and midi channel from that instrument. To test it you can use the default General Midi instrument object, if it is still a part of your setup.

Another important thing: In the environment be sure and disconnect the sum node of the 64 input port object from the sequencer input. This needs to be done on all logic copies. On the master logic, you will need to connect a wire from your actual physical input (where your midi controller is) to the sequencer input. That way your midi instrument objects will receive from the controller and send to whatever virtual port you select.

I’m probably not explaining this in the most technically accurate terms, but I hope this helps.

Aubrey
G5 dual 2.0 OS 10.3.2|Logic 6.3.3|VSL Pro Edition
Posted on Wed, Mar 17 2004 18:38
by stupid8track
Joined on Thu, Mar 13 2003, Posts 230
evan

in midi patchbay, select 'add a patch' in the window, then at the top right of the screen where it says MIDI Input: select "Edit Virtual Inputs".

in that window, create a new input and name it "VIRTUAL 1 in". then select the Outputs window and create a new output called "VIRTUAL 1 out".

now, back in the main Midi Patchbay window, select the patch you added before and in the MIDI Input select VIRTUAL 1 in. then in the MIDI Output select "VIRTUAL 1 out".

leave midi patchbay open and go to logic. in your environment, create a multi-instrument and select each of the channels to enable them (the channels in the multi instrument icon box). then in the side bar on the left of the screen, in the Port setting for the MultiInstrument, select "Virtual 1 in". go to your arrange page and select a track and make the MultiInstrument channel 1 active on that channel and leave that channel selected.

then in the second logic in the environment, go to the Clicks and ports layer and disconnect the Sum cable from the Physical Input by selecting the cable and hitting delete (make sure that cables are selected in the environment/view window so you can see the cable to disconnect it).

then go to your layer with your AI channels on it and add a Physical Input to it (environment/new menu) and then add a channel splitter. now here is where it gets a bit clumsy. you have to cable the specific input port which corresponds with Virtual 1 Out to the channel splitter. most likely, this is the first port after the end of your physical ports. i, for example, have a unitor8 hooked up to my system, so my first virtual port is port 9 on my physical input.

but as Christian points out, IAC might come before these midi patchbay ports. the easiest thing to do is to create a monitor object (environment/new/monitor) and cable each port you think could be the midi patchbacy port to it. then press your master keyboard and you should see notes in that monitor. if/when you do, cable from this monitor to the channel splitter, then from each individual port on the channel splitter to a specific audio instrument channel.

then just insert EXS/instruments on each of the AI channels and place an I/O plug on each (being sure to select an output within the plug and then disable the plug), press play in the 2nd logic and go back to the first.

you should now be able to play each of the logics in the 2nd song by just selecting different outputs of the MultiInstrument in the first logic.

hopefully i haven't missed anything.

edit: yes, as aubrey says, disconnect the SUM output of the Physical Input object in all logics. then in the master, cable the physical input port of your master controller into your sequencer (in my case, the master controller comes in Unitor8 port 1, so it is port 1 on the physical input, so i cable that - not the SUM - to the sequencer).
Posted on Wed, Mar 17 2004 18:47
by stupid8track
Joined on Thu, Mar 13 2003, Posts 230
well, i've been testing away and while i can hardly consider this complete, i currently have 4 logics open (one master, 3 slaves) and am able to play EXS in all of them at once.

i also have 64 I/O plugs in each of the slaves (set-up as they would be used) and i don't notice any big CPU hit. on average my CPU is at about 55-60 percent when all four are playing with all the I/Os.

now, i haven't been playing more than 16 instruments yet and all 64 channels haven't been filled with instruments, so these figures might change - but the I/O itself doesn't seem to require a punishing amount of CPU.

it is very convenient to be able to compose in one logic.

also, if you have a logic control or another master controlller, you don't have to leave the slaves in loop. not that i think it makes a big difference. maybe for freeze or bouncing.

also, if the midi I/O ends up being a CPU problem, don't forget that each of the midi tracks to the slave logics can just be negatively delayed. wouldn't take much to figure the delay.

will report back with more info. this is working very very well.

cheers
Posted on Wed, Mar 17 2004 20:06
by evan evans
Joined on Tue, Jun 17 2003, Hollywood, CA, Posts 2058
S8T,

Thanks, but I got it working a few hours before your post actually. the main thing was to understand that to SEND to the other Logics I had to select a MultiInstrument that for some reason in the port settings was set to an INPUT. Go figure.

Also, to understand that the SUM needs to be cut and that the Physical Input represents PORTS not MIDI Channels.

In the SLAVE Logics I also created a NO OUTPUT Channel and made sure that that was the selected active track. This is so that notes will only sound if coming from the virtual MIDI cable and not an echo from the MIDI master Keyboard.

I also concur that the I/O Plugin seems ot have almost NO EFFECT on CPU usage, however it does indeed remove the latency issue.

I am using a G4 Dual 1.42Ghz. And it is looking pretty promising.

I am finally happy to be able to use my own invention! I'm glad other's beat me to the punch, I was too busy and this idea needed to be fulfilled.

Smile

S8T,

So you think it's a useable idea? It seems to be for me. Are you on G5 or G4?

Evan Evans
Evan Evans
Film Scoring Academy
http://filmscoring.academy
Posted on Wed, Mar 17 2004 20:53
by stupid8track
Joined on Thu, Mar 13 2003, Posts 230
evan

wow, you got it working a couple hours before my post even though my post was only 43 minutes after yours - now that IS groundbreaking Wink.

for those reading who are new to this, i select an 'input' PORT for multi-instrument output simply because the port is referencing itself to midi patchbay where it is an input, instead of logic where it is an output. should be easy enough to rename it as an 'output' in mid patchbay.

also, i'm on a G5 with 8 GB of RAM and i agree that i think this is going to work. and i think it will work even better for those of you who buy the next G5 release Smile.

i'm currently trying to set-up some more large template songs. once that is done, i'm going to really try to hammer away and see if/when i can bring my system to its knees. number of instruments, RAM load, etc.

the one thing i remain unsure about is actually streaming audio back into logic. not sure if it will really be possible and, if so, what kind of CPU hit it might require. haven't played much with the idea because other things are of higher priority to me and they have required all my spare attention so far.

but this is all definitely going to work at some level. and probably a pretty high level at that.

cheers
Posted on Thu, Mar 18 2004 02:27
by evan evans
Joined on Tue, Jun 17 2003, Hollywood, CA, Posts 2058
S8T,

That's because when I already had it working I posted about Logic not having an OUT selecteable port. Anyway, that puts it around at least 1:15 before your post. [Wink] But what-ever.

As far as Audio Streaming from Logic to Logic, there are quite a few solutions out there. I am not worried in the slightest about this, especially since it could be solved with an audio cards D I/O. For instance, I have one audio card. In the second Logic I can set the output to my DIGITAL OUT. In the first Logic I can set a bus to recieve the contents of DIGITAL IN. Sure there's a potential loopback if you're not careful, but that's a backup method and it'll work.

Have you tried JACK TOOLS yet?
http://www.jackosx.com/

Evan Evans

P.S. So do you think my topic title is aptly named now?
Evan Evans
Film Scoring Academy
http://filmscoring.academy
Posted on Thu, Mar 18 2004 03:01
by stupid8track
Joined on Thu, Mar 13 2003, Posts 230
damn - and here i was hoping you had a new terminal script that could reverse time. Wink

hopefullly the post can serve others reading later - i know i got hung up on the set-up.

yes, the multi-audio card is definitely do-able. i haven't really tried jack - just one pitiful attempt. certainly not enought to still building up template songs and working.

should have a real go with this tomorrow. try and load up 4 or 5 logics - something well in excess of 8 GB VM total load - and see how it goes.

but yes, i do think the thread title is appropriate. it wil be very insterestng to see just how appropriate. and yes, while it isn't my battle, it will be interesting to see where this lands EXS in its never ending war with Giga.

cheers
Posted on Thu, Mar 18 2004 18:55
by evan evans
Joined on Tue, Jun 17 2003, Hollywood, CA, Posts 2058
Well, S8T, if things go as theory dictates, your Dual G5 ought to do as much as 40 Giga Racks, but we'll see. My calculations say approx. 40 GigaStudio setups.

Also, I hope that users who begin to embark on this kind of setup become plentiful enough to where Apple will allow Logic to do this all in one app in the first place!!!!!! Super Angry

Evan Evans
Evan Evans
Film Scoring Academy
http://filmscoring.academy
Posted on Thu, Mar 18 2004 19:08
by stupid8track
Joined on Thu, Mar 13 2003, Posts 230
i completely agree - there is no need to have to wait for 64 bit logic for significant improvement. simply allowing a kind of VSL version of logic, where you can add 'additional banks of 64 instruments' to the same song and yet have those banks take their own memory space while all banks share a common audio engine (thus allowing standard routing to busses, effects, etc.) would be a tremendous help. i don't know how hard this would be to do, but it clearly isn't impossible.

i mean, 64 bit OS/Logic is fine, but until they lift the 64 instrument limitation within logic,64 bit won't really do us any good. 64 instruments are already obsolete.

currently building the template songs, which takes a surprising amount of time (naming tracks and all) but it is so very nice not to have to use keyswitching instruments - to have everything available at once. a big amount of work which will lead to a tremendous increase in productivity.

again, if i get far enough into template creation today to actually perform a real test, i'll do so and post here how it goes.

by the way, what are the current GS limits upon which you are basing the 40x number? i haven't looked into GS in years. are you basing this number on voice count, sample load, instrument load, or what? i ask because i'll happily try to track my totals as i test large, multi logic configurations. if you want.

cheers
Posted on Fri, Mar 19 2004 03:45
by stupid8track
Joined on Thu, Mar 13 2003, Posts 230
ok, after a long day of setting things up, i have some preliminary results.

i created 4 songs of 64 instruments each (one song each for strings, woodwinds, brass, and percussion). many of these 64 instruments were ALL instruments, for those of you keeping score. and i created environments such that each instrument had its own channel and a corresponding master logic channel which could send midi to it. i put an I/O plug on each channel (sending to output and bypassed).

i then loaded each of these four songs into a separate Logic application and loaded my master song with its 256 instruments in a fifth.

i then created a single 17 4 bar line and duplicated that to 90 different instruments, adjusting the transpose setting so the line would play its associated instument (sorry, too tired and out of time to create individual lines for each instrument - hopefully tomorrow). and then i hit play.

and promptly got core audio overload and audio/midi sync errors. after much trouble shooting, i determined that i think the I/O plug causes the audio/midi sync errors (there is a chance that it was caused by a conflict between the sessions being 48K and the samples being 44.1, i don't know. i changed all songs to 44.1 and then disabled the I/O plugs).

at the very least, the I/O plugs, used on such a massive scale, really do cause a punishing level of CPU. so i removed them from all the songs. still got overloads.

so then i staggered, ever so slightly, all 90 parts so they would start at slightly different times within the first bar and then loop from there. and after again getting OS X to recognize all necessary samples (the old start/stop/start routine - though with such a huge load, it was more than 7 starts to get all the songs/channels ready) -

it worked. i could stream 90 channels from a choice of 256 instruments.

of course, most of the time, real world situations will hardly be so demanding (90 of the same line?).

anyway, my CPU was totally maxed with 90 instruments streaming away so screen redraws were very very slow. and i'm not convinced that i can't load anymore songs/applications/instruments into virtual memory - i spent all day building these four songs (among other things) so that is all i could test at once. but the damned things played.

for the record, these 5 logics took up almost 10.5 GB of virtual memory space (the system needed 14.5 GB during this).

also, i disabled everything that wasn't necessary in the slave logics (like software monitoring, 24 bit record, sample accurate automation, and delay compensation [yes, i tried the I/O plugs with DC both enabled and disabled and saw no difference]).

i'll try to confirm tomorrow if the audio/midi sync errors were from the I/O plugs or from the session sample rate. i think it is the I/O plug, but i'm not absolutely certain. i'll try to get a better max on the RAM load too.

i'll also try to determine the best settings for streaming. for instance, i saw much better performance with an I/O buffer setting of 256 instead of 2048. will check into disk buffer settings, process buffer settings, etc.

more to explore, but for now i just wanted to confirm that 256 instruments totalling about 9GB of sample heads have been loaded, each of which could be played, and 90 of which could be streamed simultaneously.

kinks to work out, but aren't there always?

cheers
Posted on Fri, Mar 19 2004 05:36
by Aubrey Robertson
Joined on Mon, Oct 27 2003, Posts 116
Stupid8Track,

Great news! I've had a busy day so didn't get to mess with this a lot. Your numbers are staggering. With only 2 slave Logics and about 24 instruments each, I seem to have pretty high VM numbers. I'm already at 8.9g VM, and one Logic is using 3.06 of real Ram. Without too much trouble or detail, could you clue me in to what instrument you are loading? It seems that if I continue loading like this there is no way I'm going to hit 64 instruments per logic.

Aubrey
G5 dual 2.0 OS 10.3.2|Logic 6.3.3|VSL Pro Edition
Posted on Fri, Mar 19 2004 05:52
by evan evans
Joined on Tue, Jun 17 2003, Hollywood, CA, Posts 2058
S8T,

You can also QUIT the FINDER. And oyu might try doing ALL of this in a NEW USER so it's not clogged with extras and freeware crud.

Also, be sure to renice each application just a little.

And you MUST up your maxvnodes, etc., according to my old posts. The system will not be able to handle that many open files without upping them.

As far as 40 Giga Setups, I am referring to voice count, # of insts, RAM, load sizes, layers, the whole thing, but only on P4 based PCs. But, duh, even if it replaced 5 maxxed out P4s it would be a huge cost savings and certainly something to consider for those not platform brainwashed.

Smile

Evan Evans
Evan Evans
Film Scoring Academy
http://filmscoring.academy
Posted on Fri, Mar 19 2004 06:49
by Nick Batzdorf
Joined on Tue, Apr 29 2003, Los Angeles, Posts 2546
S8T, I didn't quite follow whether you got MIDI bouncing around successfully. It sounds like you did, right?

Evan, how do you quit the Finder? Ye olde Unix crappe? Force quit only gives you the option to restart it - and a great option that is, by the way.
Mac Pro 5,1 12-core 3.46 GHz, 64MB RAM, latest macOS available. Metric Halo 2882 interface.

VisionDAW Windows 7 Pro i7 950 3.07 4-core, 24GB RAM. Has an RME Hammerfall HDSP9632, but I just use VE Pro. Also several ancient P4 XP slaves, rarely used.
Posted on Fri, Mar 19 2004 07:35
by stupid8track
Joined on Thu, Mar 13 2003, Posts 230
Aubrey

what are your settings in EXS' VM? mine are set to fast, less. i can only guess that yours are higher because i am having no trouble loading 64 instruments, of which at least 16 are legato/performance set and at least 16 are ALL. my largest VM size is just over 3 GB (the actual RAM used really doesn't seem to actually mean all that much). if you need more specifics i can look into it for you tomorrow.

Evan

i plan on testing this again tomorrow after a fresh boot. today was at the end of the day and, after testing, i had safari and mail open without trouble.

not sure how to quit finder. also, is that smart? does it really save all that much space?

as for maxvnodes, i'll up them buy i've samplemerged the whole library so not sure how much it will help. but i'll up them nevertheless. and renice each app a little, too.

Nick

yes, i got midi bouncing around successfully using the midi patchbay method which was mentioned previously. i made a post about setting it up back on page 9. it was a bit of a pain to set up - and you really do need to disconnect ALL sum cables from all your physical inputs in all your songs.

also, it is wise to have all 64 instruments in the slave songs on the same layer in the environment so that you can connect to each channel splitter from the same physical input. i tried copy/pasting it from one environment layer to the next only to find my midi wasn't getting through.

cheers
9 Pages«<56789>
You cannot post new threads in this forum.
You cannot reply to threads in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.