folder AppleScript

Various AppleScript code examples.

Documents

document Add Samples No Loop

1602 downloads

Download (txt, 2 KB)

Add-Samples-No-Loop.txt

This script is a modified version of one of the M.E.S.A. bundled scripts. It assumes M.E.S.A. is running and that an existing program and a list of samples are selected within the M.E.S.A. "Memory" window. It uses a program selected in the "Memory" window to define a series of chromatically mapped keygroups, each of which plays a sample without looping them in playback.

This was one of the first M.E.S.A. AppleScripts I "messed with" and I tried to comment the most significant lines to make it easier to understand. I have since learned to use AppleScript  "handlers" which are more modular and easy to read.

document Make Stereo Chromatic Program

1547 downloads

Download (txt, 2 KB)

Make-St-Chromatic-Program.txt

This AppleScript creates a chromatic series of keygroups from stereo samples.

To use this you need to run M.E.S.A, select a program and stereo sample to use, then run the script.

Note: This is an AppleScript designed for older (S-series) AKAI samplers. This AppleScript works through a free utility written by AKAI called M.E.S.A. The latest generation of samplers from AKAI are much more versatile and powerful than the S-series, but a lot of people still use the S-series samplers so I have made some of my favorite M.E.S.A. scripts avaialble.

 

document Sampler Report v1

1651 downloads

Download (txt, 6 KB)

Sampler-Report-v1.txt

This script reports general information about an AKAI sampler through M.E.S.A. and saves the results as a "SimpleText" document to the desktop. Since this script uses M.E.S.A. to determine the various information about the sampler make sure M.E.S.A. knows about the latest changes to any data in the sampler. The easiest way to do this is to hit COMMAND + F while in M.E.S.A. This forces the sampler to be "found" again, which also updates any changes to programs or samples indicated in M.E.S.A.

Note: This is an AppleScript designed for older (S-series) AKAI samplers. This AppleScript works through a free utility written by AKAI called M.E.S.A. The latest generation of samplers from AKAI are much more versatile and powerful than the S-series, but a lot of people still use the S-series samplers so I have made some of my favorite M.E.S.A. scripts avaialble.