Skip to content

Sample Broker


1. What Is Sample Broker?

Sample Broker is a resident background 60-second rolling recorder. Its motto is "catch what you hear."

sample-broker-01

It installs a monitoring plug-in on the Master bus. Whether you are playing back, auditioning FX, or jamming, the last 60 seconds of audio are always being recorded in a looping, overwriting buffer. When you hear something worth keeping, select it in the window and drag it out.

It can do two things:

  • Select + drag to Arrange: Drag a selected waveform onto a REAPER track to drop it as an item; a new track is created automatically if needed.
  • Select + drag anywhere: With the default OS drag mode, the same selection can be dragged to the file explorer, another DAW, a sampler/synth, a chat app— anywhere that accepts a WAV file.

The whole workflow is "select a segment → drag it out." No record button, no need to stop playback.


2. Opening Sample Broker

Menu path:

Extensions → Mantrika Tools → Sample broker

sample-broker-02

Or use the Action List (search "Sample Broker"):

Action namePurpose
mantrika : Synergy - Sample BrokerToggle the Sample Broker window on/off

The window is dockable— the first time it opens it may be a floating window; right-click the title bar to dock it.


3. First Use: Getting Past the Status Warnings

The first time you open the window, you will probably not see a waveform immediately. Instead, you will see a prompt page with a button. The message tells you that something on the Master chain is missing or disabled. Click the button whose label matches the situation:

Prompt titleButtonMeaning / what to do
CLAP plugin not found in Monitor FXAuto SetupThe plug-in has not been recognized by REAPER yet. Go to Preferences > Plug-ins > CLAP, click Re-scan, then return and click Auto Setup.
Sample Broker plugin is bypassedEnable PluginThe plug-in is individually bypassed; click to enable it.
Monitor FX is globally bypassedEnable Monitor FXThe whole Monitor FX chain is disabled; click to turn it back on.
Plugin is not respondingRetryThe plug-in lost contact (rare); this is usually a CLAP scan issue. Click to reactivate.

Once resolved, the window enters the main interface and the waveform appears.


4. Main Interface Overview

When running normally, the window looks like this:

┌────────────────────────────────────────────────────────────────┐
│                                                       2.0x     │  ← (top-right) horizontal zoom factor
│         ╱╲    ╱╲╱╲  ╱╲      ╱╲╱╲   ╱╲╱╲╲ ╱╲                  │  ← waveform canvas
│     ╱╲╱╱  ╲╱╱╱    ╲╱  ╲╲╱╲╱╱    ╲╱╱    ╲╱  ╲             │
│     ──────────────────│─────────────────────────              │
│        history (dim)  │ current (bright / rainbow)            │
│   ▤                                                            │  ← (bottom-left) hamburger menu button
└────────────────────────────────────────────────────────────────┘

Visual details worth knowing:

  • The currently recording segment is shown in rainbow colors; older segments gradually desaturate and darken, so you can tell at a glance which part was just recorded.
  • The record head is a thin line that sweeps left to right; when it reaches the end, it wraps back to the start and continues overwriting.
  • After zooming, a small 2.0x label floats in the top-right corner.
  • While paused, an orange-red II PAUSED label floats in the top-right corner.
  • When the mouse hovers over the canvas, a semi-transparent vertical line shows the position.
  • By default the canvas shows a single merged waveform. You can switch to a stereo split view (top = Left, bottom = Right) from the hamburger menu — see §10.

5. Basic Use — Three Typical Actions

5.1 Grab something you just heard and drop it into Arrange

1. In the window, left-click and drag to select a range manually, OR
 hold Ctrl and move the mouse over a sound → a cyan border shows the "smart segment,"
 then Ctrl + left-click to confirm that segment.
2. Hold the selection and drag it into Arrange.
3. Release over the target track → the selection becomes a new item.

Drop rules:

Where the mouse is releasedResult
Over a trackDrop the item on that track at the current edit cursor position
Over an item / takeDrop on the same track at the edit cursor position
Empty area of ArrangeCreate a new track automatically and drop the item there
Outside ArrangeNothing is dropped (unless using OS mode; see below)

5.2 Grab a segment and drag it out as a WAV file

If you want to drag the segment to the desktop, a chat app, or another DAW, the process is the same — the default drag mode just needs to be OS:

1. Select a segment (manually or with Ctrl+smart select).
2. Drag it out of the window and release it over anything that accepts files.
3. A file named mtk_export_<timestamp>.wav is generated in the current project folder.

The default is OS mode out of the box, so this works immediately.

5.3 Temporarily switch drag mode with Ctrl+Alt

If the default is OS mode but you want this one drag to use the API mode and drop only into Arrange, hold Ctrl+Alt while starting the drag. The reverse also works.

This is a "swap" logic: Ctrl+Alt always means use the other mode.


6. Selection Operations

6.1 Three ways to create a selection

sample-broker-03
ActionBehavior
Left-click drag (on empty canvas)Manual selection; release to confirm
Ctrl + hoverSmart-detect the "non-silent segment" under the cursor, shown with a cyan border and duration label
Ctrl + left-clickLock the current smart segment as the active selection

Smart detection uses silence at -54 dB as the separator and automatically expands from the cursor position in both directions until it hits silence. This is useful when you have recorded a string of sounds and want to grab exactly one of them.

6.2 Clearing a selection

  • Quick click on empty canvas (without dragging) = clear the selection.
  • Starting a new manual selection automatically clears the old one.
  • Clicking Clear Recording Buffer clears both the selection and the entire recording.

7. Preview / Audition

sample-broker-04
ActionBehavior
Right-click and hold (without dragging)Preview from the cursor position; release to stop

Preview does not affect the selection or the recording. It is purely for checking what is at the current position.


8. View: Zoom and Pan

sample-broker-05

The recording is 60 seconds long, but the canvas is only so wide. Zoom in when you need more detail.

ActionBehavior
Scroll wheelHorizontal zoom (1x ~ 10x), centered on the mouse position
Shift + scroll wheelAmplitude zoom (0.1x ~ 10x), to see quiet signals or flatten peaks
Middle-click dragPan the view horizontally
Shift + middle-clickReset amplitude zoom to default

The 1.5x label in the top-right corner shows the current horizontal zoom level. It is hidden at 1.0x.


9. Recording Control

sample-broker-06

ActionBehavior
Alt + left-clickToggle recording pause/resume

While paused: the record head stops moving and new audio is not recorded, but the existing 60-second buffer remains available for selection, preview, and export. Alt+left-click again to resume.

Auto-pause: When the input level stays below the threshold (default -72 dB) continuously, the plug-in decides no one is playing and pauses automatically. The threshold can be changed in the hamburger menu: -72 / -66 / -60 / -54 dB.


10. Hamburger Menu (three lines at the bottom-left)

sample-broker-07

Clicking it reveals all window settings:

Menu itemOptions / meaning
Style: RainbowDefault. Color gradient fill; eye-catching and easy to read.
Style: PrecisionWatercolor-style wireframe; better for close inspection.
Amp: LinearDefault. Shows true amplitude.
Amp: CompressedCompresses low-amplitude display so quiet sections are still clearly visible (matches REAPER's waveform view).
Stereo Display (L / R)Off by default. When off, the canvas shows a single merged waveform (the louder of L/R). When on, the canvas splits into two horizontal bands — top = Left channel, bottom = Right channel — so you can read the stereo image. Works with both Rainbow and Precision styles.
Auto-Pause Threshold-72 / -66 / -60 / -54 dB; higher values trigger auto-pause more easily.
Summon BeastSummon a pixel cat next to the record head for companionship (purely cosmetic).
Drag Mode: OSDefault left-drag uses OS drag (can drop anywhere).
Drag Mode: Reaper APIDefault left-drag uses REAPER's internal drag (Arrange only).
Clear Recording BufferClear the entire 60-second recording (with confirmation dialog).

All settings listed above are saved and persist the next time REAPER opens.


11. Status Messages (floating text in the window)

Under normal conditions the canvas is clean. The following messages indicate special states:

Text shownMeaningWhat to do
Rendering @ XX Hz...REAPER is rendering offline; recording is paused during this timeWait for rendering to finish; recording resumes automatically
Audio engine paused...REAPER's audio engine is turned offCheck the audio engine
WARNING: Sample rate changed (X → Y Hz). Old data invalid and Recording paused. Clear in menu or restore.The project sample rate was changed. Old waveform data is invalid and recording is paused; the current buffer is no longer reliable.Either change the sample rate back, or choose Clear Recording Buffer from the hamburger menu to start fresh.

12. Keyboard / Mouse Quick Reference

ActionBehavior
Left-click drag (empty canvas)Manual selection
Left-click drag (on selection / smart segment)Trigger the default mode drag export
Ctrl + Alt + left-click dragTrigger the other mode drag export (swap OS / API)
Short left click (empty canvas)Clear selection
Ctrl + hoverShow smart-detected segment
Ctrl + left-clickLock smart segment as selection
Right-click holdPreview / audition
Alt + left-clickToggle pause
Scroll wheelHorizontal zoom (mouse-centered)
Shift + scroll wheelAmplitude zoom
Middle-click dragPan view horizontally
Shift + middle-clickReset amplitude zoom
Close window (X)Hide the window (data is preserved)
Right-click the close buttonDock the window to the bottom

On macOS, Ctrl corresponds to Command and Alt corresponds to Option.


13. Typical Workflows

Workflow A: Capture that accidental great take

During rehearsal or a jam, you played something you did not record but now want to keep:

1. Open Sample Broker (if it is not already open). The waveform shows the recent take.
2. Use Ctrl + hover to locate the segment, then Ctrl + left-click to confirm the selection.
3. Drag it onto the target track in Arrange and release.
4. Done — it is now part of the project.

Workflow B: Drag a segment out as a WAV for someone else

1. Select a segment.
2. Drag it out of the window to a chat app or file explorer.
3. A WAV file is generated automatically in the current project directory.

Workflow C: Default API mode, but occasionally drag to OS

1. Set the default Drag Mode to Reaper API.
2. When you need to drag to the file explorer, hold Ctrl+Alt for that one drag.
3. No need to open the hamburger menu every time.

Workflow D: Monitor the Master bus without recording a video/loop section

If the project contains video or a long loop you do not want continuously overwriting the buffer:

1. Alt + left-click to pause recording.
2. Work on the project.
3. Alt + left-click again to resume when you want to record.

14. Troubleshooting

SymptomCauseFix
Window shows CLAP plugin not foundFirst-time use; CLAP has not been scanned yetGo to Preferences > Plug-ins > CLAP, click Re-scan, then return and click Auto Setup
Window shows Enable Plugin / Enable Monitor FXThe plug-in or the entire Monitor FX chain is bypassedClick the corresponding button
No waveform; message Audio engine paused...REAPER's audio engine is offTurn REAPER's audio engine back on
Red warning Sample rate changedProject sample rate was changed mid-sessionChange the sample rate back, or choose Clear Recording Buffer from the hamburger menu to start fresh
Drag to Arrange does nothingCurrently in OS drag mode and the drop target is inside REAPERSwitch to Reaper API mode, or hold Ctrl+Alt while dragging
Drag to OS does not create a fileCurrently in Reaper API modeSwitch to OS mode, or hold Ctrl+Alt while dragging
Record head is not movingInput level is too low and auto-pause triggeredRaise the volume, or set a stricter threshold in the hamburger menu (e.g., -72 dB)
II PAUSED label does not disappearYou manually paused with Alt+left-clickPress Alt+left-click again to resume
Want to undo the last exportFor Arrange drops, press Ctrl+Z. For OS drops, manually delete the generated WAV file.