--- web/trunk/www.linuxsampler.org/osx.html 2008/01/06 17:12:58 1632 +++ web/trunk/www.linuxsampler.org/osx.html 2009/09/25 19:59:24 1997 @@ -4,201 +4,231 @@ LinuxSampler For Mac OS X - + -

LinuxSampler for Mac OS X     HOWTO by Toshi Nagata 

+

LinuxSampler-1.0.0 on Mac OS X     HOWTO by Ebrahim Mayat and Grigor Iliev 


-
January 6th, 2008

+
September 20th, 2009

1.  Introduction
2.  Requirements
-3.  Installation
-4.  Using the Applications
-    4.1  Setting up MIDI Input
-    4.2  Setting up Audio Output
-    4.3  Loading Samples
-    4.4  Saving a Sampler Session
-5.  Installation Troubleshooting
-6.  Detailed Documentation
-7.  Bugs, Problems and Feature Requests
-8.  Credits
-9.  Contact
+3.  The LinuxSampler package
+4.  The LinuxSampler(JACK) package
+5.  Detailed Documentation
+6.  Bugs, Problems and Feature Requests
+7.  Credits
+8.  Contact
- +

+

+ + +
+

1.  Introduction

-The LinuxSampler development team is happy to announce the release of -a new version of LinuxSampler of Mac OS X. More information will be added here soon, so check back frequently.
-
-For now the sampler supports the CoreMIDI interface -for MIDI input and jack for audio out. This means it currently runs only -as a standalone application. An AU/VST interface will follow at a later stage, along with -a network module to run multiple sampler slaves distributed on OS/X, Windows or -Linux machines (Linux provides better performance) all controlled from a -OS X or Windows box i.e. running the AU / VST sequencer.
-Even though LinuxSampler presently runs only as standalone app, -thanks to jack you can comfortably route the sampler's audio outs back into your sequencer. -
-LinuxSampler is implemented as a client/server application. This means -the sampling engine (the server / backend) runs -independently from the GUI (the client / frontend). Sampling engine and -client can be run on the same box or on different machines too, connected -over the network.
-
-The Mac OS X version provides all the features of the Linux version -since it is built from the same source code base. -This means when new features will come out the -Mac OS X version will usually provide the same feature set as the Linux -version. This was made possible by the very modular design of both -low level, operating system functions and flexible audio / MIDI driver -system.
-
-The Mac OS X version comes as an easy to install DMG file which will -install all the necessary modules to run both the server ( linuxsampler.exe ) -and the GUI client. For now it installs only the qsampler GUI client -as JSampler, the sampler frontend written in Java requires Java 1.6 which is not -available on OS X yet. Of course you can run JSampler on a Windows or Linux box -connected over the network to your OS X box or you could try to run it in a windows -virtual machine. We discourage running a virtual machine along with the sampler -as both applicationes are very CPU and RAM hungry therefore the performance -of LinuxSampler will be suboptimal.
- - - + +The LinuxSampler development team is delighted to announce the release of LinuxSampler-1.0.0 for Mac OS X. +LinuxSampler is an open-source disc-streaming software sampler that enables the expressive emulation +of instruments by the means of MIDI-triggered rendering of large sample sets. While the modular design +of LinuxSampler allows for multi-engine and multi-format features, the present implementation of the Gig +engine already has the capability for producing virtual instruments with realistic emulations. VST (Linux, Windows) +and Audio Unit (OS X) plug-ins for digital audio workstations (DAWs) facilitate the use of this sampler within audio +and MIDI sequencer applications. With its LinuxSampler Control Protocol (LSCP), LinuxSampler can be controlled over +a computer network so that a cluster can be used as a gigantic sampler. Since this network protocol is ASCII-based, +frontends for it can be written in any programming language and for any operating system. LinuxSampler itself is a server +application that can be controlled by GUI frontends like the C++-based Qsampler and the Java-implemented Fantasia. The +present release can be deployed on Linux, OS X and Windows. The instructions for using the OS X binaries are outlined here. +

2.  Requirements

-

3.a  Installation

+

3.  The LinuxSampler package

    -
  1. Install JackOSX - (if you don't have it already). -
  2. -
  3. Download the latest version of the LinuxSampler Mac OS X installer + +
  4. Combined binaries of LinuxSampler and its derivatives for both Intel- and PowerPC-based Apple + machines can be obtained by downloading the "LinuxSampler-1.0.0-OS_X.universal.dmg" disk image from the LinuxSampler - Download Page, and mount it on Finder. + Download Page. +
  5. +
    +
  6. After mounting and extracting the contents of the disk image on your computer's desktop, + open the "linuxsampler-1.0.0" volume. The following choices are available: +
  7. +
        +
        + +
+
+
  • This disk image contains two sets of universal binaries. The first set designated simply LinuxSampler is linked to +Apple's proprietary CoreAudio driver while the second LinuxSampler(JACK) folder contains binaries linked to the +third-party JACK (Jack Audio Connection Kit) audio server framework. In addition there is also the LinuxSamplerAU.component +Audio Unit plug-in which can be used within OS X-deployed DAWs for loading up virtual instruments.
  • -
  • You will find a single folder "linuxsampler051-mac-20080102". Copy this - folder to wherever you like (e.g. under /Applications). +
    +The LinuxSampler folder contains the triple-architecture (ppc/i386/x86_64) universal binaries of "linuxsampler" and the +"LinuxSamplerAU.component" DAW plug-in. +

    +The LinuxSamplerAU.component plug-in should be dragged and dropped into the /Library/Audio/Plug-Ins/Components folder as +shown by the rightward arrow. In a similar way, place the LinuxSampler folder into the /Applications folder +
        +

        3.1.  Loading a Virtual Instrument in your DAW

        +
      1. For a basic demonstration, we will load up the LinuxSamplerAU plug-in into GarageBand. First open the "Track Info" window: +Track / Show track Info. Then in the Track Info window select "LinuxSampler Unit" from the "Generator" tab. +
      2. +
        +
    + +

    +
  • A gig file can then be loaded using the "qsampler" or "Fantasia" application. Click on the "Add channel" icon + in qsampler in order to load a gig file. + +
  • +
    + + + +

    +You are now ready to lay down your track... +

    +(Note: JackOSX installation is NOT recommended in this setup since the Jack Audio Connection Kit hinders the initialization +of both qsampler and Fantasia.) + +

    5.  The LinuxSampler(JACK) package

    - - -

    4.  Using the Applications

    -The folder contains three items, "bin", "linuxsampler" and -"qsampler". -
      -
    1. Start qsampler.app. The application launches, and you -will see messages saying that linuxsampler is now running. After a -while, you will also see that the JackPilot application (installed by -the JackOSX installer) automatically launches showing the Jack server -already running. -
    2. -Since CoreMIDI is sometimes too slow to respond when creating a new MIDI device. -so you need to increase "Timeout" parameter in the -Options:Server Settings to, 10000 msec. -
    3. -
    - +This archive contains dual-architecture ppc/i386 binaries of linuxsampler and "qsampler" which function together with + JackOSX. This setup can be used for running various Jack-enabled applications simultaneously: a setup + that is particularly useful for live situations. + +
    +
  • + After opening the linuxsampler-1.0.0 volume, place the LinuxSampler(JACK) folder into the /Applications directory as + indicated by the leftward arrow at the bottom. +
  • +
        +
        +

        4.1  Setting up MIDI Input

        -In qsampler click on the device configuration tab. -Click on the MIDI devices icon and then on Create. - +In qsampler click on the "Device configuration" icon and then on Create. +

        +
    + +

    +If you need multiple MIDI input device, set the "Number of ports" to 2, 3, ... before creating the MIDI device. The multiple ports will be accessible from other MIDI applications as "Linuxsampler_in_0", "Linuxsampler_in_1", etc.

    -You can create an arbitrary number of MIDI input devices by repeating -the procedure above. -Each MIDI device can be routed to arbitrary sampler channels. - +(You should be able to create an arbitrary number of MIDI input devices by repeating "Create", but this feature does not work well yet.) +

        4.2  Setting up Audio Output

        -LinuxSampler currently only supports the jack driver model for audio output -on Mac OS X. -Click on AUDIO devices icon and then on Create. +Start the Jack audio server using JackPilot.app. The qsampler application can then be launched by double-clicking on its icon.
        -You can of course save and load sampler session as LSCP files which will -automaticall set up audio and midi devices and load samples into the channel strips. -
          + +

          1. Connect audio ports: In the "Connections Manager" pane of JackPilot: linuxsampler --> Built-in audio: in1 & in2 or - In the "Connections" window of qjackctl: linuxsampler --> coreaudio
            + In the "Connections" window of qjackctl: LinuxSampler --> system
            +
            - + + +

            Intel Mac Note: to use built-in audio in Jack, you need to create an "aggregated device" by using "Audio MIDI Setup". Please look up Jack manual for details.
          2. +
          3. Start MIDI Patchbay.app and connect your MIDI Input instance (probably your MIDI interface or USB-enabled keyboard) to the "LinuxSampler_in_0" - MIDI Output
            + MIDI Output

            +
        - + -
      +

        4.3  Loading Samples

        Click on Add Channel. A dialog will appear. Select the GIG file you want to load, the instrument within the GIG file, Audio device, MIDI device, MIDI port and channel. -Click OK. +Click OK. The user can then save *.lscp files for convenient future use. In this way, the user can automatically set up audio and midi devices and +load samples into the channel strips when recalling a setup. -

        5.  Installation Troubleshooting

        -TODO -

        6.  Detailed Documentation

        -You find more detailed documentation about our software on our official +

        +
      + +
    +

    5.  Detailed Documentation

    +You can find more detailed documentation about our software on our official
    LinuxSampler documentation site. -

    7.  Bugs, Problems and Feature Requests

    -There could be several bugs in the Mac OS X version of LinuxSampler which we hope to root out soon. -Please report them using our bug tracking system:
    +

    6.  Bugs, Problems and Feature Requests

    +Our Forum is a good place to ask for help:
    +
    +    https://bb.linuxsampler.org
    +
    +We have a dedicated forum section for +newbies and support.
    +
    + +Please report any bugs using our bug tracking system:

        http://bugs.linuxsampler.org/

    Some bugs and problems we discovered so far: -

    8.  Credits

    -Thanks to Stephane Letz (Initial OS X port) and Ebrahim Mayat (OSX Howto fixes, testing, screenshots) +

    7.  Credits

    +LinuxSampler was conceived and created by the collective effort of +a dedicated group of individuals
    -

    9.  Contact

    +

    8.  Contact

    If you have questions or want to help us to improve the sampler, subscribe to the LinuxSampler Developer's mailing list.