# Creating a patch with a sample

The basic process of creating blocks and editing their characteristics is actually the same no matter how complex the patch you create.

This section shows you how to create a patch that contains an aiff sample file instead of a simple wave form.

## Creating a sampler patch

To create a patch that contains a sample file, follow these steps:

1. If you want, close any old patch documents and open a new one.

2. Create a sampler block, which is the block immediately to the right of the envelope.

3. Place two knobs to the left of the sampler and an Output block to the right of it.

4. Connect an aiff sample to the sampler block click on the AIFF button in the sampler block and select an AIFF sample in the file selection dialog that appears.

   Note: Samples must always be embedded. In earlier versions the sample file was allowed not to be embedded, which meant that you had the same folder structure when you created the patch as when you played it.

5. Connect knobs, sampler, and Output block as explained in Creating your first patch.

Figure 1: Patch with Sample block.

## Compiling and playing the sampler patch

To hear the whole patch on the 3DO Station:

1. From the File menu, choose Save to save the patch as a Macintosh file.

2. From the Patch menu, select Compile Patch.

3. From the Patch menu, use Start Patch (and Stop Patch) to play the patch- or press the Space bar to start the patch, then press it twice more to release and stop it.

## Tips and tricks

This section gives a few tips and trips for working with sampler patches.

### Experimenting with other blocks

Creating patches becomes more interesting if you use filter blocks to filter out part of the sample or envelopes to modify its frequency or amplitude. Using envelopes is explained in the next section.

### Making a sample part of a PIMap

You can create a patch with no sample in the sample block and make it part of a PIMap you use to play a MIDI file. See MIDI files and PIMap files.

### Creating a multisample instrument

If you plan to create a multisample instrument from a patch, the patch must not have a sample assigned to it when you compile it. You must attach the samples to the instruments in the PIMap, with their note ranges and other parameters specified there.

The patch names on such samples must be correct in your PIMap, and must be inside the /remote folder.