Brian Calli MusicTOOLS
FOR THE REAPER PIANO ROLL

Escala de fondo

A script for the REAPER piano roll that puts a custom reference scale in the background of every bar.

Pick a few bars, type “G mixo” and the scale sits in the background, in every octave, so you can play or write over it without stepping outside. Arpeggios too: “Bb7”, “F#m”, “Ebm(b5)”.

REAPER 6 or newerWindows · Mac · LinuxNo AI

What it does

Made for composing and practicing in the piano roll: you see which notes fit in each bar without leaving REAPER.

One scale or arpeggio per bar

Major, minor and Mixolydian scales. Major, minor, diminished, augmented and dominant 7 arpeggios. Each section can be different.

R, 3 and 5 in one color, the rest in another

The chord tones go on one MIDI channel and the rest on another: in the piano roll they show up in two colors.

Each section's name, on top

A track called “Escalas (nombres)” shows the key and scale of each section: “G mixolidia”, “Bb7 (arpegio)”.

It's silent

The background goes on its own track, “Escalas (fondo)”, muted. One MIDI item per section.

Type it the way you say it

Chord symbols or Spanish solfège: G mixo, Bb7, F#m, Sol menor, Sib mayor, Re bemol. Or with the mouse: note, b or #, and the scale.

Undo works as usual

Applying it again to the same bars replaces it; “Quitar fondo” removes it. Nothing touches your notes.

The tracks it creates: yours, Escalas (nombres) and Escalas (fondo)
The tracks it creates, under yours: the name of each section and the background (muted).
The piano roll with G Mixolydian and C major in the background and a melody on top
The piano roll: R 3 5 brighter, the rest of the scale fainter, and your notes on top. The note colors are the channel colors of your REAPER theme.

The items on both tracks are colored by quality, with the Brian Calli Music colors:

MajorMinorMixolydian and dominant 7DiminishedAugmented

Which computer do you use REAPER on?

How to download

It's a .zip with a single file inside: the script. No extra software to install. It's for Brian Calli Music subscribers: log in with your account and click Download.

01

Download

Download

Escala de fondo.zip · 11 KB · For subscribers

02

Unzip the .zip

Right-click the .zip Extract All... → Extract

Double-click the .zip.

You get the file “Escala de fondo.lua”: that's the script.

What you need

  • REAPER 6 or newer.
  • Optional and free: ReaImGui. If you want it to look just like on my computer, with the little window of colored buttons, install it (how to install it is in the FAQ). If not, a simpler window opens, asks you for the scale and that's it: it works the same, it just looks more basic.
  • The script's little window is in Spanish. It understands standard chord symbols (G mixo, Bb7, F#m), so you don't need to know Spanish to use it.
  • It doesn't use AI or the internet.

Install

Four steps, just once. In the drawings, what you click is marked in gold.

01

Open the REAPER folder

In REAPER, go toIn the menu bar at the top, go to Options → Show REAPER resource path in explorer/finder... The folder where REAPER keeps everything opens. It's usually C:\Users\(your username)\AppData\Roaming\REAPER~/Library/Application Support/REAPER.

02

Copy the script into “Scripts”

Copy Escala de fondo.lua into the Scripts folder, which is inside that REAPER folder.

03

Load it in the piano roll

Open any MIDI item (double-click). With the piano roll in front: Actions → Show action list... At the top it has to say Section: MIDI Editor.

Click New action... → Load ReaScript... and choose Scripts\/Escala de fondo.lua.

Add the “Esc” button to the piano roll toolbar by hand

One minute, just once: the button stays in the piano roll's top bar.

01

Right-click the piano roll toolbar

Open any MIDI item. Right-clickRight-click (or Control-click) any button on the piano roll's top bar and choose Insert action....

02

Choose “Escala de fondo”

The action list opens: type escala de fondo, choose “Script: Escala de fondo.lua” and click Select/close. A new button with text on it shows up.

03

Label it “Esc”

Right-clickRight-click (or Control-click) the new button Set tooltip/text icon... and type Esc. Now the bar shows Esc.

04

Or with a shortcut key

In the piano roll, Actions → Show action list... Choose “Script: Escala de fondo.lua” and, under Shortcuts for selected action, click Add... and press whatever key you want.

How to use

01

Pick the bars

In the piano roll, drag along the ruler at the top to mark the bars (time selection). With no selection, it uses the bar where the cursor is.

02

Click Esc and type

Type the scale or arpeggio and hit Enter. The mouse works too: the note, b or #, and the scale or arpeggio button. The little window opens showing what's already in the background on those bars.

What you can type, right below.

03

It sits in the background

Under your track you get “Escalas (nombres)” and “Escalas (fondo)”. Applying it again to the same bars replaces it, and “Quitar fondo” removes it. Everything can be undone with Ctrl+ZCmd+Z.

04

Without ReaImGui: the simple box

If you don't have ReaImGui, a text box opens instead of the little window. Type the same things and OK; to remove the background, type quitar.

What you can type

G mixo · Sol mixolidiaG Mixolydian scale
C mayor · Do mayorC major scale
Re bemol mayor · Db mayorDb major scale
A menor · La menorA minor scale
Bb7Bb7 arpeggio (dominant)
Ebm(b5) · Eb dimEb diminished arpeggio
C+ · C aumC augmented arpeggio
F#m arpegioF#m arpeggio

“Am” or “F#” on their own follow whatever you have selected (scale or arpeggio).

FAQ

Do I need AI or an internet connection?
No. It's a REAPER script: you install it once and it works offline.
Does it work on Windows and Mac?
Yes, and on Linux. With REAPER 6 or newer. The script is the same; pick your system above and the steps adjust.
Does the background make any sound?
No. The “Escalas (fondo)” track stays muted. If you ever want to hear it, unmute it.
I can't find “Escala de fondo” in the action list
It has to be loaded in the piano roll section: with the piano roll in front, the list has to say Section: MIDI Editor. If it's not there, load it again: Install, step 3.
A text box opens instead of the little colored window
You're missing ReaImGui, the free extension by Christian Fillion (cfillion) that draws the little window. If you don't have ReaPack, get it from reapack.com (you just copy the .dll filethe .dylib file into REAPER's UserPlugins folder) and restart; then Extensions → ReaPack → Browse packages... search for ReaImGui, right-clickright-click (or Control-click) Install and Apply, and restart again. In the meantime, the box understands the same things.
I type and the little window doesn't take it
Click the little window and type. To have it grab the keyboard as soon as it opens, install js_ReaScriptAPI with ReaPack.
Can I change the channels or the colors?
Yes. The first lines of Escala de fondo.lua say which channel R 3 5 goes on and which one the rest goes on, the track names and whether the background gets muted. You can open it with any text editor.
How do I update it?
When there's a new version, replace Escala de fondo.lua in the Scripts folder with the new one. The button keeps working.
How do I uninstall it?
Delete Escala de fondo.lua from REAPER's Scripts folder (Options → Show REAPER resource path in explorer/finder...). To remove the button: right-clickright-click (or Control-click) it Customize this toolbar... → Remove → OK

I didn't invent this

Seeing the harmony behind the notes isn't my idea. Cubase has done it with its Chord Track since 2012 (Steinberg, Cubase 7), Studio One since 2018 (PreSonus, version 4) and Logic Pro since 2024 (Apple, version 11). REAPER comes with “Key snap”, which marks a single scale for the whole editor, and there are free scripts that do the names part the other way around: they read your notes and write the chord on a track (for example “Generate Chord Track”, by Dagniele).

steinberg.net/cubase · presonus.com · apple.com/logic-pro · reaper.fm · Dagniele/ReaScripts

What I added: a different scale or arpeggio per bar inside REAPER, R 3 5 in one color and the rest in another, a track with the name of each section, the Brian Calli Music quality colors, and support for typing chord symbols or solfège in Spanish.

Brian Calli Music

License

You can

  • Use it on all your computers.
  • Make your music with it, including music you release or sell: what you compose is yours.
  • Modify the script for your own use.

You can't

  • Share it, upload it, give it away or pass it on (modified or not).
  • Sell it or include it in another product.

REAPER is a trademark of Cockos Incorporated: this pack is not made or endorsed by Cockos. ReaImGui and ReaPack are by Christian Fillion (cfillion), free and separate; the pack doesn't include them. The drawings of REAPER's screens are diagrams to show where to click.

Something not working, or got an idea? Message me on Instagram.

@briancalli.music
InstallDownload