Skip to content

py-slowdown 1.1.0

Choose a tag to compare

@nivaca nivaca released this 24 Nov 21:57
· 67 commits to main since this release

For working on music: export what is heard, hear one part of the mix, keep
loops and each file as it was played, change the keys; and files are read
much faster.

  • The whole waveform at once, the second time: once a file is read,
    its waveform is kept in the cache folder (about 4 MB for an hour and a
    half, for the 200 files opened last), and the next time the whole
    waveform and the exact length are there as soon as it opens, while the
    sound is read as before. A file that changed is read anew.
  • Keyboard shortcuts of one's own: Settings > Keyboard shortcuts lists
    every action with its keys; a click on the keys and the new ones change
    them (a foot pedal that sends keys works the same way). Keys given to two
    actions are refused, Restore the defaults brings back those of always,
    and only the changed ones are kept. Help > Keyboard shortcuts shows the
    keys as they are. The manual pages list Shift+L and Ctrl+E.
  • Each file as it was played: when a file is closed, its speed, pitch,
    formants, way of hearing, selection (and whether it was repeated) and,
    with the count-in on, the count-in's tempo and offset are kept with its
    bookmarks, and they come back when it is opened again. Only what is not
    the usual is kept; a file with nothing kept leaves them as they are.
  • Loops, selections kept with a name: Playback > Save the selection as a
    loop (Shift+L), or Save the selection in the new tab Loops of the panel
    (now Bookmarks and loops), keeps the selection, and its name is written in
    the list. A double click on its times selects it again, repeats it, and
    goes to its start. They are kept for each file, with its bookmarks.
  • Export the audio: File > Export the audio (Ctrl+E) saves the whole
    file, or the selection, as it sounds: at the speed and the pitch chosen,
    with the formants if they are kept, and, if asked, as it is heard (Hear).
    As WAV, FLAC, MP3 or Opus, named after the recording with its speed and
    pitch. It is done in the background, with a progress bar and Cancel, while
    the recording goes on playing (about 13 times faster than real time). The
    whole file at 1× is the file itself, sample for sample; a selection comes
    in and goes out on a short ramp; a filter does not delay it.
  • Hear one part of the mix: Playback > Hear, and the button Hear in the
    second row, choose the channels (both, the left or the right only, the
    two in one, or the mix without its centre, where the voice and the solo
    usually are) and a filter (only the bass, below 250 Hz, to follow the bass
    line, or everything but the bass). The filters are linear-phase, applied
    block after block without seams; a change, while it plays, goes from one
    to the other in a fade. The choice is remembered.
  • Keep the formants: the button Formants, beside the pitch, and
    Playback > Keep the formants, make Rubber Band keep the formants when the
    pitch moves, so that a voice or an instrument keeps its natural timbre
    instead of sounding smaller (higher) or bigger (lower). It can be changed
    while it plays, and is remembered.
  • The waveform fills the window when a file is opened: it was drawn
    while the file was still being read, and sometimes stayed so, half drawn
    or at the scale of the length the file announced, until something else
    (a click, a resize) drew it again. It is now drawn again as the file is
    read, and at its real length once it is all read.
  • Lighter waveform: while a file is read it is drawn again at most five
    times a second; moving the position no longer makes its images again
    during the reading; and the images are made by Qt from one map of bytes,
    more than twice as fast (2.7 ms instead of 12 on a screen 3800 pixels
    wide).
  • Half the space for the decoded samples: they are kept in 16 bits, not
    in 32-bit floats (1.3 GB for two hours of stereo, not 2.5 GB). A 16-bit
    file is kept sample for sample; what goes past full scale is clipped.
  • Files open faster: FFmpeg gives the samples in 16 bits itself, they
    are stored in blocks instead of in pieces of a thousand frames, and PyAV
    decodes in several threads where the codec allows it. A file of 30
    minutes is read in 1.3 s instead of 2.2 as MP3, and in 0.3 s instead of
    1.2 as FLAC.
  • Long files are read in four parts at once: a file of four minutes or
    more in MP3, FLAC, Ogg Vorbis or Opus is read in parts, each by a process
    of its own, and each part is joined to the one before only where a
    second of both agrees sample for sample; if not, the file is read
    straight on. The result is always that of a straight reading. An MP3 of
    98 minutes is read in 3.1 s instead of 7.5. AAC, and a file
    played at another rate than its own, are read straight on.

Files. For Windows 10 and later, py-slowdown-1.1.0-windows-x64-setup.exe; for macOS 13 and later, py-slowdown-1.1.0-macos-arm64.dmg (Apple Silicon) or -macos-x86_64.dmg (Intel). These two are made by GitHub after the release and added to it within the hour; they are not signed by Microsoft or Apple, so the first time choose More info > Run anyway (Windows) or Open Anyway in System Settings > Privacy & Security (macOS). For any Linux with glibc 2.34 or later, py-slowdown-1.1.0-linux-x86_64.run (sh it) or the AppImage; for Debian 12, Ubuntu 22.04 and later, the .deb; for Fedora, the RPM (also sudo dnf copr enable nivaca/py-slowdown). rubberband-4.0.0.tar.bz2 is the source of the Rubber Band Library built into the installers. The user manuals are in docs/ (MANUAL_en.pdf, MANUAL_es.pdf).

Signatures. Every file has its signature (.asc), and SHA256SUMS (and, for the installers of Windows and macOS, SHA256SUMS-installers) is signed too: gpg --import RPM-GPG-KEY-py-slowdown, then gpg --verify FILE.asc FILE.