Arexx functions

And what they do


The below listed ARexx functions are available in Samplitude Opus R9. We will add more functions when desired.


ABOUT

Open the About Window containing your registration information.

SCREENTOFRONT

Pops Samplitude Opus' screen to front

SCREENTOBACK

Pops Samplitude Opus' screen to back

SORTWINDOWS

Sorts the window order

OPENWINDOW HELP/S,PMANAGER/S,RMANAGER/S,WORK/S

Pops up the given window

CLOSEWINDOW HELP/S,PMANAGER/S,RMANAGER/S,WORK/S

Closes the given window

OPENPROJECTWINDOW PROJECTNAME/A

Opens an editor window with the given projectname

CLOSEPROJECTWINDOW PROJECTNAME/A FORCE/S

Closes the editor window with the given projectname. FORCE closes the project, not popping up any requesters.

ZOOMINHORI PROJECTNAME/A

Zooms in horizontally in the given project window

ZOOMOUTHORI PROJECTNAME/A

Zooms out horizontally in the given project window

ZOOMRANGEHORI PROJECTNAME/A

Puts the selected range on full view

ZOOMALLHORI PROJECTNAME/A

Shows the complete sample

ZOOMINVERT PROJECTNAME/A

Zooms in vertically in the given project window

ZOOMOUTVERT PROJECTNAME/A

Zooms out vertically in the given project window

ZOOMRANGEVERT PROJECTNAME/A

Puts the selected range on full view (vertically)

ZOOMALLVERT PROJECTNAME/A

Shows the complete sample (vertically)

CUT PROJECTNAME/A

Cuts the selected range in the given project to the Clip

COPY PROJECTNAME/A

Copies the selected range in the given project to the Clip

INSERT PROJECTNAME/A

Inserts a project at the selected cursor position

OVERWRITE PROJECTNAME/A

Overwrites the range in the project

ERASE PROJECTNAME/A

Erases the range in the given project

KEEP PROJECTNAME/A

Extracts the selected range, removing the non-selected data from the project

ZERO PROJECTNAME/A

zeroes the selected range (Amplitude)

REVERSE PROJECTNAME/A

Reverses the sample data in the project

INVERSE PROJECTNAME/A

Inverts (180deg) the sample data in the given project

AMPMUL2 PROJECTNAME/A

Doubles the amplitude in the given project

AMPDIV2 PROJECTNAME/A

Diverts the Amplitude in the given project by 2

SETRANGE PROJECTNAME/A,LEFT/N,RIGHT/N

Creates a range in the given project at the specified position.

LASTERROR

returns the last error message

PLAY PROJECTNAME/A

Starts playback in the given project

LOADRAM PROJECTNAME/A

Loads the given RAM project

LOADHD PROJECTNAME/A

Loads the given HD project

PRELOAD PROJECTNAME/A

Preloads sample data from the given project

EXPORTWAV FILENAME/A

Exports a WAV (RIFF) file rom the active project

EXPORTAIFF FILENAME/A

Exports a standard AIFF file from the active project

SAVEHDPROJECT FILENAME/A

Saves the active HD project

SAVERAMPROJECT FILENAME/A

Saves the active RAM project

SAVEVIPPROJECT FILENAME/A

Saves the active VIP project

LOADVIPPROJECT FILENAME/A

Loads a VIP project

STARTPLAY

Starts play in the active project

STOPPLAY

Stops playback in the active project

GETSMPTESTART

returns SMPTE data from the active range (START position)

GETSMPTELENGTH

returns the SMPTE length of the selected range

CREATESMPTERANGE START/A,END/A,NAME/A

Creates a range with the given SMPTE specifications and attaches the given name to it

RESAMPLE FREQ/A

Resamples the project to the given frequency

SELECTALL

Selects the complete sample as one range

COPYTOCLIP

Copies the selected data to Clip (same as COPY, but applies to the active project here)

MAKESTEREO

Converts the active sample to Stereo

MAKEMONO

Converts the active sample to Mono

RESOLUTION BITS/A

Changes the active project's resolution to the given BIT width

SHOWCLIP

Pops up the current Clip, making it the active project

LOADPL FILENAME/A

Loads a Playlist with the given name

SAVEPL FILENAME/A

Saves the active Playlist under the given name

CREATEHDP NAME/A,FREQ/A,TRACKS/A

Creates a HD Project named "Name" with "TRACKS" tracks and sets its frequency to "FREQ".

NAMERANGE NAME/A

Renames the active range to "NAME" and stores it to the rangelist - useful if you have created a range with SETRANGE

NAMECURSOR NAME/A

Renames the active Cursor to "NAME" and stores it to the cursorlist - useful if you have created a Cursor with SETRANGE

DEVGETDATA TRACK/A,POSITION/A,ADDRESS/A,LENGTH/A

Developer function to be used under extreme caution: gets data from the active project from track "TRACK" at position "POSITION" and stores "LENGTH" samples at memory address "ADDRESS".

DEVPUTDATA TRACK/A,POSITION/A,ADDRESS/A,LENGTH/A

Developer function to be used under extreme caution: puts data into the active project from track "TRACK" at position "POSITION", reading "LENGTH" samples from memory address "ADDRESS".

DEVWRITEFILE NAME/,TRACK/A,POSITION/A,LENGTH/A

Developer function: gets data from the active project from track "TRACK" at position "POSITION" and stores "LENGTH" samples in a file named "NAME". The file will contain 8Bit or 16Bit wide samples, no header.

DEVREADFILE NAME/A,TRACK/A,POSITION/A,LENGTH/A

Developer function: puts data into the active project from track "TRACK" at position "POSITION", reading "LENGTH" samples from a file named "NAME". The file has to contain 8Bit or 16Bit wide samples, no header.


More to come!

Back to Samplitude Page