Vienna Symphonic Library Forum
Forum Statistics

201,015 users have contributed to 43,226 threads and 259,184 posts.

In the past 24 hours, we have 8 new thread(s), 30 new post(s) and 82 new user(s).

  • Vienna Instruments Plugin + Standalone and Logic??

    Does anyone know how to set up Logic and the Vienna Instruments Standalone so that the VI Standalone gets MIDI input from Logic and sends audio output back to Logic? This would be significant as it would allow access to more than 2.5GB of samples on one computer as the Standalone and the plugin appear to inhabit different memory blocks. I would be most appreciative of help on this, Thanks.

  • Hey Steve,

    I read your post this morning and decided to check it out at work, but what I was guessing was right : they do use the same "memory blocks". If you launch both VI (one in your host, and the Stand Alone), you will notice that they show the same amount of free memory. Start loading some samples in your host - the free memory will go down, and will do so as well on the Stand Alone player.

    Jerome

  • huh?... I better check this again. I thought they were separate on my system when I tried it... oooh.... too many late nights.

    J.

  • Yeah, okay. I didn't think I was crazy. I've just loaded 2.13 GB into the vsl-server (plugin), and 1.35 GB into the standalone. Three instruments - solo violin (standalone), viola, cello (plugin), all playing through my RME card, and all taking midi from my keyboard. So it does work, though I haven't tested it with wiring audio/midi through Logic. I'm running the plugs in Bidule.

    For some reason when I launch the standalone it resets my sampling rate (Audio/MIDI setup) to 96 KHz... weird. That was obviously the problem I was having before.

    In my case, I've only got 4 GB of RAM, so with 3.57 GB "wired" my system gets somewhat useless, but the standalone + plugin idea does work.

    <a href=http://www.rubato-music.com/Media/images/server_2.13+VI_app_1.37.png">


    J.

  • Wow, now, that's something. I have to check this out tomorrow at work. I'll let you know what I find out.

    It'd be cool to get an update from the VSL team as well [;)]

    Jerome

  • Well, isn't this down to how much RAM you have in your machine. On my VI player If I look at the free space it's 3.7 gig .. cos I have 4 gig installed and logic and the OS is using part of it.

    So if I had more .. 6 ..10 ..16 Gig I'd expect that the VI player could use that too .. based on what I've seen.

  • Well, no, not really. There's a 2.5 GB cap on any single process (32bit). So the idea is to run your VIs on as many independent processes as you can! As it turns out, in real life, that means two: the standalone, and x-number of plugins (all running from the process "vsl-server"). Even this is not necessarily a proven solution, as other performance issues, like the routing of audio and midi through virtual ports into Logic, can drag performance down, making the extra RAM access a moot point.

    btw, I also checked whether a copy of the VI standalone would run alongside the original _and_ the plugins... Yup. It works: VI standalone, VI standalone copy, and Bidule running plugins. I started to get some noise at this point, though, so who knows whether this is even a vaguely practical way of accessing more RAM... But if you've got a faster machine than mine (G5 dual 1.8 -) and lots of RAM (> 4 GB), then you might give it a try.

    J.

  • Jbm:

    If you have gotten this to work how a all what is the setup that you use to
    1. address the standalone through MIDI from a sequencer
    2. send the standalone's audio output back to the sequencer

    I'd be most appreciative of your thoughts. I have 7GB of RAM so there's quite a bit that I'm not using at the moment. Comment from the folks at VSL might be very helpful with this.

    Stephen

  • Well, I know for a fact that on a PowerMac Dual 2.5Ghz, if I load about 2.5 GB of samples, my DSP start to go crazy. In Plogue Bidule, you can see how much DSP is being used, and with 2.5GB, I'm at 70%. If I try to play anything, it's clicking and popping like crazy.

    So, for this to work, I guess you'd need a pretty fast computer. Or a faster DSP, but I'm using an RME PCI card, and they're supposed to be pretty fast!

    Jerome

  • Hey Stephen,

    Well, as I say, I haven't actually got it working with Logic. It just works taking direct hardware midi input, and sending audio directly to my RME card. So I don't know how it will work with Logic -- it just works in principle.

    However, if I were going to seriously try, I'd probably try using the IAC bus or MIDI Patchbay for MIDI and Jack OS X or Soundflower for audio. Give it a go and let me know what happens!

    cheers,

    J.

  • Hey guys, the Vienna Instruments player uses memory outside Logic (in OS X, of course), so there's no reason to do any of that. This is from my review in VI last June:

    <a href=http://homepage.mac.com/virtualinstruments/.Pictures/VSL%20in%20Logic.png">

    I still haven't bothered pulling 2GB to see how much less you can load.

  • OH, OH, OH - you're saying you want to run it stand-alone as well. Sorry, never mind.

  • Yeah, Stephen was wondering about adding the standalone, which seems like it should be fine.

    But I was wondering a bit about this myself; why is it that the vsl-server can load more than 2.5 GB? I've noticed before that I don't actually crash the server until I get somewhere over 3 GB. Thoughts, Mr. Nick?

    And what hardware are you running all those samples on. My old G5 dual 1.8 hasn't been the happiest camper with loads of memory running... just wondering (mind you, getting up around 3.5 addressed on my 4 GB machine leaves only .5 for system, Logic, vsl, everything... not so smart!)

    Also, have you heard the recent rumors about Clovertown-based (8-core) Mac Pros in November? Makes my geeky bones shiver.

    J.

  • Okay, here we go. It works! Coolio.

    Here's that same test session with one stand-alone instance:

    <a href=http://homepage.mac.com/virtualinstruments/.Pictures/1X%20VSL%20stand-alone%20+%20Logic.png">

    And here it is with two, which is too much for 8GB (the system slows down - it's using the hard disk). But if I had less K2 stuff loaded in Logic, it might work fine. (I renamed the second stand-alone instance, by the way.)

    http://homepage.mac.com/virtualinstruments/.Pictures/2X%20VSL%20in%20Logic%20-%20too%20much.png

  • Yeah, Nick. I just discovered this today as well. Pretty cool trick! But please, let me know what hardware you're running.

    J.

  • It's a 2 x 2.5 G5 with 8GB of RAM, jbm.

    My guess about why it stops at 3GB per instance is the usual OS X rule: 4GB theoretical maximum minus system libraries and frameworks. But I don't know why Logic wants to stop at 2.14GB.

    Regardless, it's slowing down at 7.91GB used total. My hunch is that unloading half a gig of K2 inside Logic is going to make it work.

    The other issue is routing audio. As far as I know the Vienna Instruments player can only use the default outputs for the hardware, but there are simple ways around that problem.

  • Yes, and the standalone doesn't have any midi channel settings, so that must be worked out in Logic... but that's not a big deal. I'm actually thinking it might make sense to blow some fairly major dough on a Mac Pro this holiday season!
    I don't suppose there's any good reason why this wouldn't work on an Intel Mac...(??)

    My current G5 should still make a good host... but do you know whether the old G5-as-a-host popping and crackling issue was ever resolved? (Or whether it was ever actually an issue, in the sense of being consistent across different users, machines, and so on).

    J.

  • With the 1X stand-alone set-up, I triggered the Vienna Instruments player with the mouse while the sequence was playing. The CPU doesn't go crazy, so I'm confident it will work.

    I have no idea whether it'll work in a Mac Pro, but my bet would be that it would. As a matter of fact, you could probably stick 16GB in there and keep going.

    If I had an extra $10k lying around that I didn't need, I'd even be inclined to try it. [:)]

  • Nick:

    Thanks very much for your comments and documentation However can you tell me precisely how you get MIDI input from Logic to the Standalone and how you route the standalone's audio back into Logic (via an aux track I'd guess) so that it can make use of plugins within Logic? Does one need to use SoundFlower or Jack OSX for the audio? How does one get Logic to see the standalone as a MIDI device? No doubt I'm just missing something due to brain cell depletion - - but if you could describe this precisely it would be extremely helpful to me and, I suspect, to many other users.

    Thanks,
    Stephen

  • MIDI is a little tricky, and I haven't quite thought it through entirely since I'm rusty on how the Click and Ports layer in the Environment works. It's going to take some poking around that I haven't done yet, although it's not a big deal.

    But I can tell you how to get it working. The first part is easy: go into Audio MIDI Setup and double-click the IAC Driver to make sure you have a bus set up. I believe you do by default, but if not you'll need to create one. You can give it a name if you want.

    Then go into the Logic environment and (on an appropriate layer) create a new Instrument (it doesn't have to be a multi-instrument since the Vienna Instruments player only uses one MIDI channel). Set its Port to IAC bus 1 (or whatever). Go to the Vienna Instruments player's prefs and tell it to receive on IAC bus 1.

    Assign the active Logic track to that instrument. If you play the keyboard now, you'll hear a god-awful racket that sounds suspiciously like a MIDI loop. In fact that's exactly what it is.

    So go into the Click and Ports layer of the Logic Environment and disconnect the Physical Input Sum [of all your MIDI inputs] cable from the Recording & Thru object (usually it's connected to a MIDI monitor object first). That disconnects the IAC bus and stops it causing a loop. Then I think you have to connect every physical MIDI input you want to use back to the Recording & Thru object (or the MIDI monitor object).

    You can do the same thing for additional Vienna Instruments players if you can get them running on the same machine.

    What I'm unclear about is whether there's an easier way to disconnect the IAC bus from the sum. Not a big deal.

    Audio is another long story. I'll come later and explain that, but first, what audio hardware are you using? Soundflower is the easiest way I can think of, but if you have an RME interface you can use its Totalmix software to do that.