Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

File formats and locations

plynth keeps all its files in one folder in your home directory, as ordinary files you can copy. This page lists which file is which, where each one is, and what to copy when you want a backup or need to get work back.

You don't need any of this to make music. The app's file pickers open in the right folder, and each one shows the folder it's browsing at the top of the screen. This page is for when something has gone missing, when you're moving to another machine, or when you want a copy stored somewhere outside plynth.


The three file types

FileHolds
.plynOne song: its patterns, its tracks, every instrument slot, the mixer and sends, and each embedded sample.
.plynprojOne project: every song in it with its embedded samples, plus the project's name and cover art.
.plyiOne instrument slot: the whole patch, with its sample or wavetable.

You work in .plyn files. A .plynproj is for sharing or backing up a whole project in one file. It holds the EMB samples but only the file names of REF ones; see What a project bundle carries. A .plyi is a patch you want to use in other songs.

plynth opens songs saved in its current save format. Files saved in older formats don't open, including the old .std files from before the app was called plynth.

plynth also exports ordinary audio and MIDI files. A stem export writes one stereo WAV per track, named <song>_track1.wav, <song>_track2.wav and so on. A MIDI export writes a Standard MIDI File, <song>.mid. Use these to take your music into other software. You'll find both in Project → EXPORT.

The byte layout of a .plyn file is documented for developers in docs/reference/save-format.md in the source repository. You don't need it for anything on this page.


Where it all lives

On a Steam Deck, plynth's data folder is the same in Game Mode and Desktop Mode:

~/.local/share/plynth/

To open it, switch the Deck to Desktop Mode and paste that path into the file manager. If you run plynth on another desktop and want the exact path there, open any import or export picker. The folder it starts in is shown in the header, and pressing B moves up a level at a time until you reach the data folder.

It contains:

Folder or fileWhat it is
projects/Your work. One folder per project. See the next section.
songs/Songs that aren't in a project. The demo songs are installed here, and the song-open picker starts here.
samples/Where the app looks for samples, and where it picks up slot-numbered sample files you add.
samples/takes/Every take you record on the Record screen, as a WAV with the name you gave it.
samples/packs/The drum hits and melodic one-shots plynth comes with. Change them if you like; your version is kept.
wavetables/Slot-numbered wavetable files you add.
irs/Impulse responses for the convolution effect, if you make this folder. Its picker looks here first.
presets/Your saved instrument presets, one .plyi each.
exports/Where the export pickers start. plynth makes it the first time you open one.
recovery/Unsaved work plynth couldn't put back in a song by itself. Usually empty. See "Getting work back".
.trash/Songs and projects you deleted, kept for 30 days. It's hidden. See "Getting work back".
crash_logs/One report per crash, with the time in its name. Attach the newest one to a bug report.
logs/plynth.logThe log for the current run. The logs from the last few runs are kept next to it.
theme.jsonYour CUSTOM theme colors. plynth writes it as an editable template the first time it runs.
*.prefSmall one-line preference files for the theme, MIDI port, learned CC bindings and so on.
demo.plynprojThe demo project. It's in the top folder so the import picker finds it straight away.

If you delete a demo song, the demo project or a factory sample, plynth doesn't put it back the next time it starts. To get them back, press A twice on FACTORY FILES in Settings. It only adds files that are missing, so anything you've changed stays as it is.

The file pickers leave out crash_logs/, logs/ and the folders the game engine keeps its caches in (shader_cache/, vulkan/ and objectdb_snapshots/). Open those in the desktop file manager. To get the logs out from Game Mode, use COPY LOGS on Help's FOUND A BUG? page (see "Sending us a crash log" in Credits, licenses, support, version).

The factory instrument presets aren't in this folder. They're built into the app and can't be changed, which is why the preset browser won't let you delete one.


Inside a project folder

Each project is a folder under projects/ with everything that project needs:

  • project.plpm: the project's name, its cover and the order of its songs.
  • cover.png: the cover image, if you picked one instead of letting plynth generate it.
  • songs/<song name>/: one folder per song, named after the song so you can recognize it.

Inside each song's folder:

  • The song itself, a .plyn file named after an internal id instead of the song title. The id never changes, so renaming a song never moves its file or loses track of it.
  • A .plyn.bak file next to it, which is the previous good save. plynth writes each save to a temporary file, renames the old save to .bak, then moves the new file into place. If the app crashes or the battery dies during a save, there's always a complete file left.
  • history/: the song's version history, one .plyn per snapshot with the time in its name. Autosave adds snapshots as you work and deletes old ones. A KEEP THIS VERSION snapshot is marked in its filename and autosave never deletes it. To go back to a version in the app, use the Song screen.

Sample files plynth can load

Samples can be WAV, MP3 and FLAC files. Other formats, AIFF and OGG included, don't load. Wavetables have to be WAV.

A WAV can be 8, 16, 24 or 32-bit integer, or 32 or 64-bit float. WAVs that store compressed audio (μ-law, A-law or ADPCM) don't load, so convert those to plain PCM first.

Any sample rate works. Each sample plays back at its own rate, so it stays in tune whatever rate it was recorded at.

Mono and stereo files both load. If a file has more than two channels, plynth keeps the first two.

When you import a sample, plynth raises its level so the loudest point sits at full scale. Turn the slot's volume down if that's too loud.

A sample up to 8 MB is embedded in the song (EMB). A bigger one stays where it is, and the song stores its path (REF). At the same length, a 24-bit or 32-bit file passes 8 MB sooner than a 16-bit one. plynth reads at most the first 30 minutes of a file.


Where samples are kept

Importing a sample doesn't copy it into plynth's folder. What happens depends on the sample's size, and the Instrument screen labels each loaded sample so you can tell which:

  • EMB: the audio is embedded in the song file. The .plyn contains it, so the song file works on its own.
  • REF: the audio stays where you imported it from, and the song stores the path. This keeps a long break or field recording from being written into every save.

Before you back up by hand, remember that a REF sample is stored outside the project folder, often on an SD card. There's more about this in Sample storage: EMB vs REF.

Copying a project folder copies only the paths of its REF samples. An exported project bundle keeps only their file names.

Three kinds of file do go into plynth's own folder. Takes you record go to samples/takes/ with the name you gave them, so a good take is kept even if you replace the sample in the slot. An SFZ multisample you import is turned into one WAV in samples/sfz/, and the slot links to that WAV as a REF sample. And a WAV you put in samples/ or wavetables/, named after a slot number in hex (inst00.wav, inst0A.wav), is loaded into that slot the next time plynth starts. That's the quickest way to get a kit onto the Deck without using the app.

A song links to a file in plynth's own folder relative to that folder, so the link still works if the whole folder moves, for example to a machine with another user name.

When a song opens and a REF sample isn't at the path it stored, plynth looks for a file with the same name and uses it if it's the same file. It looks in the song's folder, in its own folder, on SD cards and USB drives, and then in the Downloads, Music, Desktop and Documents folders in your home folder. It goes a few folders deep in each of those and skips hidden folders, so keep samples you link to in one of those places.


What a project bundle carries

A .plynproj holds every song in the project, the EMB samples inside those songs, and the cover art. It doesn't hold the audio of REF samples. Those are:

  • any sample over 8 MB,
  • every SFZ multisample,
  • a WAV loaded into a slot from samples/ or wavetables/ by its file name.

In the bundle, the songs keep only the file names of those samples, without the folders they're in. When you export, plynth tells you how many linked samples stay behind, for example 3 LINKED SAMPLES AREN'T IN THE BUNDLE. The songs in your own project folder still keep the full paths.

To open the project on another machine, copy those files there as well. When a song opens, plynth looks for a missing file with the same name on SD cards, USB drives and in its own folders, and uses it if it's the same file. An imported bundle finds its samples the same way on the Deck you exported it from, so a sample kept anywhere else has to be copied to one of those places first. If it can't find one, a message after the song opens lists the instruments that are missing a sample or wavetable, for example 2 SAMPLES MISSING. Saving the song keeps the link, so the sample plays again once the file is back.


Backing up

These are listed from most to least complete.

  1. Export the project bundle. Project → Export project ▾ → PROJECT (.plynproj) writes one file with every song, its EMB samples and the cover art. Save it to an SD card or a cloud folder, or send it to someone. This is the one we recommend. It doesn't include REF samples, so back those files up as well.
  2. Copy ~/.local/share/plynth/projects/. This is a normal file copy in Desktop Mode. It includes your version history and your .bak files, which the bundle doesn't. It doesn't include REF samples either.
  3. Export audio. Stems or a stereo mix are a copy of how the song sounds, not of the song itself. They're good to keep for a finished track, but you can't keep working on the song from them.

To import a .plynproj, press R2 + X in the PROJECTS picker. plynth gives the imported copy a new identity, so it appears next to the original and doesn't overwrite it.

To back up after a session, open Project → Export project ▾ → PROJECT, go to your SD card, press X to make a folder named with today's date, A to open it, and Y to save. The project is then in one file off the Deck's own storage, apart from any REF samples.


Getting work back

You closed the app in the middle of an edit. plynth writes your song to its file as you go, and once more when it quits, however it quits. When you start it again your song opens as you left it, and there's nothing to answer. A crash or a forced stop can still lose an edit made in the few seconds before the header read SAVED.

plynth found unsaved work from an older version. Versions before this one kept unsaved work in recovery/unsaved.plyn and asked whether to restore it. If that file is still there, plynth adds it to the song's version history as Recovered and shows the song name and the time the work is from. The song itself isn't changed. To use the recovered work, open VERSION HISTORY… and pick that row. If plynth can't be sure which song the file belongs to, it leaves it in recovery/ with .kept added to its name and tells you.

plynth couldn't write a song file. If writing the song fails, for example because the storage is full, plynth keeps your edits in recovery/ and tries the song again a few seconds later. If it closes before that works, it puts the edits back into the song the next time it starts, keeps the song as it was as a Before recovery version, and shows the song name and the time. Edits made while a song from a different version of plynth was open can't go into that song, so they're left in recovery/ with .kept added to the name.

You want an earlier version of a song. Open VERSION HISTORY… from the Song screen's R2 + Menu, pick a snapshot, and press A. plynth saves what you had before it reverts, so you can undo a revert.

The song file is damaged. plynth opens the .bak file next to it instead, or the newest copy in the song's history that it can read, and tells you which one it opened. The damaged file stays in the song's folder with .damaged added to its name. The next save replaces the .bak, so if plynth couldn't read that either, it first keeps a copy with .bak.damaged added. If no copy can be read, the song doesn't open and plynth leaves its files alone.

A song was saved by a newer version of plynth. Update plynth to open it as usual. If you go back to one of its versions in VERSION HISTORY… instead, plynth keeps the newer file in the song's folder with .newer added to its name. To open it in the newer plynth again, move the song's .plyn out of the folder and take .newer off the end of the kept file's name.

When one of these names is already taken, plynth adds a number to the end, so an earlier copy is never replaced.

You want a version plynth isn't showing you. Every snapshot in a song's history/ folder is an ordinary .plyn file. Copy one out, give it a name you'll recognize, and open it with the file browser. Ctrl+O on the Project screen opens the song picker, and you can go anywhere on disk from there.

You deleted a song or a project. plynth moves it to .trash/ in the data folder and keeps it there for 30 days, or less when the disk is nearly full, then erases it. The folder is hidden, so press Ctrl+H in the Desktop Mode file manager to see it. Each folder's name starts with the date and time you deleted it, in UTC. To get a project back, move its folder into projects/. To get a song back, copy the .plyn file from its folder into songs/ and open it with Ctrl+O on the Project screen.

All you have left is a bundle. Import the .plynproj.


Previous: Scales, themes, settings. Next: Troubleshooting & FAQ.