Set loop markers — endless track playback.

If a track is 4 minutes but the session is 30, you need a loop. Three markers, one editor.

1 · The three markers

  • "Start point" (blue) — where the track begins when it starts without an on-the-beat transition: as the first music track after launching the app or after Soft Stop, on every crossfade that isn't on the beat, and in the cockpit's "Nature sounds" row. If Hypnotika blends the track into a playing track on the beat, it starts on its first beat instead. Hypnotika blends on the beat when the switch Settings → "Playback & Mixing" → "Automatic pitch & tempo match" is on (on by default), Hypnotika has detected tempo and beat for both tracks, their tempos can be matched with a tempo change of 6 % at most (also when one track is about half or double the speed of the other), and you haven't applied a "Pitch offset" or "Tempo offset" to this track (section 6). Default: 0.
  • "Loop in" (green) — where the loop kicks in on repeat. Usually after the track's intro.
  • "Loop out" (orange) — where the loop ends and jumps back to Loop-In.

2 · Open the editor

  1. "Library" → hover over the track's row → a slider icon appears on the right of the row (tooltip "Edit loop markers") → click it. If the track already has markers, "∞" is shown there permanently.
  2. The "Track details" view opens — the track editor

3 · Set markers

  • Click on waveform → moves the nearest marker
  • Sliders in the "Start point", "Loop in" and "Loop out" fields — in steps of 0.01 seconds, with the time shown on the right of each field
  • "Snap to zero crossing" — moves all markers to the nearest 0-sample. Prevents click artifacts at loop transitions.

4 · Preview

  • Preview (from start): plays from start marker, runs to Loop-Out, then loops. Identical to live behavior when the track starts without an on-the-beat transition.
  • Preview (from Loop-In): starts at Loop-In and loops immediately. To verify the loop is clean.

Buttons have fixed width — when active, label changes to "STOP" without position jump. Editing markers automatically stops the preview.

5 · Clean loop tips

  • Loop-In and Loop-Out at same sample value (ideally 0 = zero crossing)
  • Loop length a multiple of 4 bars — feels musically natural
  • Avoid track outro decay — set Loop-Out before fade-out
  • For nature sounds: loop points between waves, not mid-splash
  • Beat sync stays locked after the loop wraps — a phase change queued shortly after the jump back to Loop-In still lands on the beat. Fast repeated switching is click-free too; no need to wait between presses.

6 · Pitch and tempo shift

Also configurable in "Track details": "Pitch offset" (-6 to +6 semitones) and "Tempo offset" (-10 to +10 %). On "Render & apply", Hypnotika renders the shift via SoundTouchJS once (~1 sec per minute of audio) and caches it.

7 · Save

Markers are persisted (in localStorage) when you click "Save". "Save" does not store pitch/tempo — "Render & apply" already does that (section 6). Both are back on the next app start. "Cancel" only discards unsaved markers and pitch/tempo that has not been applied; everything else in "Track details" takes effect immediately. The exception is "Level adjustment": it is saved immediately, but in version 0.2.2 you only hear it in the preview, not in the session (see Per-track level).

Related: Import tracks · Per-track level · Phases & transitions