# Library File ▸ Library…, or the **LIBRARY** button, opens a window that lists the samples, modules, archives, synthsounds, Mediante instruments and plugins you have — in folders on this computer, in your Dropbox, and in the online catalogues — so that a sound can be heard before it is loaded and a module looked at before it is opened. OctaMED and MED SoundStudio load an instrument or a song through a file requester, one file at a time; the Library is Mediante's own. The window has four tabs. **Local** is the folders and files you have added. **This module** is the instruments of the module that is open, in the same list. **Online** searches and browses the catalogues. **Favourites** is every file and every online item you have starred. ## Adding files **Add Folder…** has two choices. *A folder on this computer* lists the folder and every folder in it; the files stay where they are and nothing is copied. *A Dropbox folder* opens the Online tab's Dropbox folders, where **Add folder to Local** lists the folder shown (see [Dropbox folders](#dropbox-folders)). **Add Files…** lists single files. In a browser that can remember folders they are listed for this session (*This session* in From); in one that cannot, a copy of each is kept in the browser's own storage (see [Where files are kept](#where-files-are-kept)). **Clear** empties the list. The files themselves are untouched. ## From, Rescan and Forget **From** narrows the list to one folder, or shows everything. Each folder says how many files it holds, how many have gone missing since it was listed, and why it cannot be read when it cannot. **Rescan** looks at the folder From names again and picks up anything that changed; for a Dropbox folder it asks Dropbox what changed since the last check. **Forget** stops listing the folder. Neither touches a file, with one exception: Forget on *In this browser* deletes what is kept there, and asks first. Both are greyed, not hidden, while From names no folder. ## Category, Show, and a Dropbox folder's tick **Category** narrows the list to a family — samples, modules, archives, instruments, wavetables, OctaMED synth sounds, plugins, Amiga programs — and **Show** to one kind, each with how many the list holds. When From names a Dropbox folder, the same row has its **Read files to describe them** tick: see [Dropbox folders](#dropbox-folders). ## The source note The line under those two rows says what the folder in From is doing: when it was last looked at, how much of it is still to be read, that it is being listed or listened to, that a file in it has changed, or why it cannot be read — and, in a browser that cannot remember a folder, where what you add is kept. It is one line whatever it says; what does not fit ends in "…", and the whole of it is in the line's tooltip. ## Search and the reading line The search box narrows the list to the rows whose name or folder matches. Every word has to match, in any order: `kick wav` and `wav kick` both find `amiga/drums/Kick01.wav`. A search lists the matches flat, each with its folder. **The Library reads every file once** — a sample for its rate, length and waveform, a module for its format, length, title, instruments and channels — so that its row can say what it is with nothing opened. The line beside the search box shows how far that has come. It pauses while anything plays; **Pause** stops it for now and keeps the place, **Stop** ends it, and what was read is kept either way, with the folder's listing, for the next session. A module's length is found by playing its song through silently, start to loop, which takes longer than the rest of its description — up to a few seconds for a long song on many tracks — so it is worked out a little at a time. A folder read before modules had lengths is read once more for them, and the line says *Measuring module lengths*. Only a module Mediante plays itself has one: MED, OctaMED and a four-channel .mod, not an XM, S3M or IT, and not one that is packed. ## The list **Names.** A row is named by its file's whole name, extension included — `kick.wav` and `kick.8svx` are two rows. A module named the Amiga way — `mod.axelf`, `MED.Fanfare`, `mmd1.tune`, `okt.song` — has its kind in front rather than an extension at the end, and is a module all the same; its tag says MOD, MED, MMD1 or OKT until it has been read, and then the format the file turned out to be. A module's song title is not its name: once the module has been read the title is in its row's description, in quotes. **Rename…** in a row's right-click menu, or **F2** on the picked row, gives it a name of its own, which the list shows and the search finds; the file on disk keeps its name. **Use the file name**, or renaming it back to the file's name, takes the given name away. **Picking and playing.** One click picks a row: the strip under the list shows it, and a file not read yet is read. A click on a row's waveform plays it, and the row stays where it is. A double-click loads a sample into the selected instrument slot, or opens a module. **Space** plays or stops the picked sample. **The columns** are the fold (**+** and **−**), the name, the waveform, the folder (in a search only), a description — a sample's depth, channels, rate, length and size, and *loop* or *ping-pong* when it loops; a module's format, length (*3:42*, the length the top bar shows once it is open: until the song loops back or stops, and *≥25:00* for one that does neither within 25 minutes), title, instruments and channels; *slot 03* when the same audio is already in the module, *+2* when other files hold it too; on This module, a sample that several slots play says how many first — the format tag, and the star. The description is one line. While the list is not searched it has the folder's room as well; what still does not fit — the end of a long 16-bit sample's, or in a search its size and loop — ends in "…", and pointing at it shows all of it. **The star** stars a file for the Favourites tab. Only a file in a folder the Library keeps can be starred: not a file added for this session, a row inside a module or an archive, or a plugin. **Right-click** a row for its menu: Rename…, Use the file name, Add to (or Remove from) Favourites, **Add to project without a slot** — the sound goes into the project's pool and takes no instrument slot — and, for a file in a Dropbox folder, **Copy to Library folder**. Last comes **Sample to Synth…**, which opens [Sample to Synth](sample-to-synth.md) on the row's sound: a file, a sample in an archive or an instrument of a module opened as a folder as a file, whose synth goes into a new slot; on This module, a slot as that slot and a sound in no slot as that sound. It is greyed, saying why, on a row that holds no sample — a module, a synthsound, a wavetable, a synth or hybrid instrument — and while the module is a `.mod`. After it, **Open in AudioMass…** opens the row's sample in [AudioMass](audiomass.md), the external editor, as does the **AudioMass** button beside Load and Load new in the strip; the file itself is never changed, and the edit comes back by AudioMass's Send to a new slot or Add to Library. ## The strip Under the list, at one height whatever is picked. **A sample:** ▶ plays it. On the waveform, a click plays from there, a drag scrubs, and **Shift-drag** chooses the part a Load gives the slot, as its slice. The slider sets the note it plays at, starting at the note the file's own rate lands on (marked ●); a file that records no rate plays as if it had been recorded at A-3 = 14080 Hz, and a right-click on the rate beside the slider makes the rate shown the default for such files. **Load** puts the sample into the selected instrument slot, **Load new** into a new slot at the end of the list. **A wavetable** — Surge XT's or Bitwig's `.wt`, Vital's `.vitaltable`, Serum's `.wav` — is built into an OctaMED synth instrument when it loads, as a synthsound loads into a slot; the strip says what it is and does not play it. Each frame of the table, one cycle of a waveform, becomes one of the synth's waveforms at 128 bytes, the longest MED allows. A synth holds 64 waveforms at most, so a table of more frames gives 64 of them, evenly spaced, its first and last among them. A Vital table of its own waveforms is taken at up to 64 points of the morph between its keyframes; one Vital made from audio (an imported `.wav` table, say) gives the audio's cycles themselves, every cycle its keyframes sweep through. The synth's wave table steps through the waveforms one tick each and stays on the last, and its volume table is full volume; both can be changed in the synth editor afterwards. A Vital table that Vital works out when it loads — from a line, a modifier, a phase it makes up, or several groups added together — is refused, and the message says which. A Serum wavetable is a WAV that says in its own bytes how long a cycle is. The Library lists it with the samples until it has read it, and files it under **Wavetables** once it has (the first time the row is described, previewed or loaded). The instrument list's **Load sample into instrument…** and a drop on a slot still take it as the sample it also is. A WAV that does not say where a cycle ends (the AKWF set, Pigments' tables) is a sample and loads as one. A .mod has no synth instruments: it becomes a MED module first (**Tools ▸ Conversions ▸ Convert to a MED Module…**). **A module:** a line about it, and **Open**. **A plugin:** ▶, the note, and Load and Load new. **A text** out of an archive: a line about it, and Load, Load new and Open greyed — a text loads into nothing; its words open in a window of their own (see below). The line under the strip gives the picked file's date, size and place. For an instrument of a module, which has no file, it says what the instrument is and how the module plays it: sample, hybrid, synth, HighLife or plugin; its volume on the module's own scale (out of 127 in a Windows MED module, out of 64 otherwise); its finetune and transpose, where the module's format has them; its loop, and whether that loop plays back and forth (*ping-pong*); its size; and which module it is in. For a file downloaded from a catalogue, the line under that gives its licence, its creator and its source, with **Copy attribution**, and its tags: the provider's, and your own, which you can add and remove there. ## Modules and archives A module's **+** lists the instruments inside it, as rows that play and load like any sample; **Open** (or a double-click) opens the module. A hybrid is listed as its sample half: it plays as that sample, and a load takes the sample alone, without the synth tables. A HighLife instrument is listed with its zones and the keys they cover; it neither plays in the strip nor loads, and its line says why. An archive's **+**, a double-click, or **Enter** on the picked archive, lists the modules, samples, synthsounds and texts inside it — LHA, LZX, ZIP, RAR, 7-Zip, ARJ, DMS, ADF, tar, gzip, bzip2 and xz. A module inside opens like any other. A sample inside plays and loads like any other, and **Add to Library**, in the line under the strip, copies it out of its archive into your Library folder with a record of the archive and the entry it came from. Raw data — a sample with no header, common on Amiga disks — plays and loads at the rate the strip shows, and is kept as an 8SVX at that rate. An MP2 plays and loads as an MP3 does, and so does an MP3 or an MP2 kept inside a WAV, which a sample pack of the nineties often holds: its row names the audio inside, and its line says "MP3 in a WAV". The rate you choose for it with the note slider is remembered for that entry of that archive: open the archive again, even after a reload, and it plays at that rate. Raw data from a PC, stored unsigned, is told from the Amiga's signed data by its bytes and converted to signed, so it plays and is kept right; its row says "unsigned, converted to signed". A **synthsound** inside (an OctaMED .oms, named or not) is a synthsound row: it loads into a slot and **Add to Library** copies it out, as a synthsound file in a folder does; the strip cannot play it. An archive that holds samples or synthsounds and no module, opened with **File ▸ Open** or dropped on the window, opens the Library on it: it is listed for this session, open, with its first sample picked — or its first synthsound, where it holds no sample. An archive is read whole into memory, and one inside a gzip, bzip2 or xz file is unpacked whole before anything in it is read. From 512 MB the line that shows its progress says it is a large archive: a browser tab may not have room for one that size, and if the tab fails while one opens, that is why. **A text inside an archive** — a FILE_ID.DIZ, an .nfo, a readme — is a row tagged TEXT, with its whole name, how many lines it has, the code page it was read in, and its size. Picking it — or a double-click, or **Enter** — opens its words in a **window of its own**, titled with its name, as the Online tab draws an archive's info text: a DOS file's ANSI colours and block art on black, an Amiga readme's bold and italic. The window is one size and scrolls; like the app's other windows it can be moved by its title bar, and **✕** or **Escape** closes it. Picking another text shows that one in the same window; picking any other row leaves it open; closing the Library closes it. The Library itself keeps its size. A text file loose in a folder is not listed. An Amiga program that carries a module is listed as the module it carries, once it has been read. ## Mediante instruments (.medi) A **.medi** is one instrument saved whole by Mediante: its sample, synth, hybrid, HighLife instrument or plugin, with its volume, hold and decay, its transpose and finetune, its loop, its rack, and the record of where its sample came from. It is listed under **Instruments**, and its line says what it holds. **Load** (or a double-click) puts it in the selected slot, and **Load new** in a new slot at the end. Unlike a sample, it brings its own settings: the slot's volume, hold and decay and its rack are replaced by the file's, the question before a slot in use is replaced says so, and **Undo** puts them back. A .medi can hold several instruments. Its **+** lists each as a row under it, and each loads on its own; Load on the file itself opens it the same way. A sample saved as it was imported — not edited since — is kept in the .medi as the file it was imported from, and decoded again when it is loaded. A lossless file (WAV, AIFF, FLAC) comes back the same everywhere; a compressed one (MP3, Ogg, Opus, M4A) is decoded by the browser, and another browser's decoder may differ from the first by a little at either end. An MP2 is kept as its file too, and decoded by Mediante itself, since the browsers do not read one, so it comes back the same everywhere. An edited sample is kept as its own data, and never with the file it was cut from: a sample cut from a long recording by a play region is saved as the region alone. A plugin instrument whose plugin was installed from a folder carries the plugin's files; a built-in or a plugin from a site goes by its name. One whose plugin is not in this Mediante loads as a silent slot that names the plugin it wants, and when the .medi carries its files you are asked whether to install them. A .medi inside an archive is listed like a sample or a synthsound there, and loads the same way. **Save as .medi…**, in the right-click menu of an instrument row of a module's **+**, or of the **This module** tab, saves that instrument as a .medi without opening the module. A HighLife instrument built in Mediante cannot be saved as one yet, and the menu says why; one loaded from a file is saved as it is. ## This module The instruments of the module that is open. A sample the module holds is a row of its own, with the slots that play it under it; a synthsound, a hybrid, a HighLife instrument and a plugin are rows; a sample in the project that no slot plays is under *Not in any slot*. A picked row is in the strip, and a click on its waveform plays it, as on the Local tab; the line under the strip says what it is and how the module plays it. A sample its instrument holds delta-coded or ADPCM-packed plays, loads and is added to a project as the sound that instrument plays, stored plain — here and in a module opened as a folder. **Load** puts the picked sound into the selected slot, and **Load new** into a new slot at the end of the list — which is how an instrument is copied. A plugin is copied with its patch and its presets; a hybrid's sample half is copied without its synth tables; a HighLife instrument cannot be copied yet. **Save as .medi…**, in a row's right-click menu, saves the instrument whole (Mediante instruments, above). The right-click menu's **Keep in the project** keeps a sample whether or not a slot plays it. A slot's sample is named in Instrument Properties, not here. ## Favourites The star on a row, or Add to Favourites in its menu, stars a file; the Favourites tab lists the starred files beside the online items starred there, and plays, loads and opens them as their own tabs do. A star is kept with its folder, like a given name. **An artist** can be starred too, from the bar under an Online row (see [Artists](#artists)). Its row in Favourites is tagged ARTIST and is a saved search, not a file: picking it shows what it searches, and a double-click, or **Search** in its bar, runs it on the Online tab and lists everything by that artist as the catalogue has it now. ## Dropbox folders A Dropbox folder in the Local tab is listed once, with every folder in it, and kept in this browser, so it can be searched and filtered offline; From calls it *Dropbox: Samples*. Nothing is downloaded to list it. **A file is fetched only when it is picked** (after a moment's pause, so that moving through the list does not fetch every row), **played, loaded or opened**; its row shows how far it has come, with a **×** that stops it. Each download is checked against Dropbox's own checksum. Reading every file to describe it would download the whole folder, so for a Dropbox folder it is off until the folder's **Read files to describe them** is ticked. Beside the tick is what that would download; ticking it asks once more, and then the files are fetched one at a time and at most 30 a minute, while nothing plays. Untick it to stop; what was read is kept. While the page is in view, a Dropbox folder that can be read is listened to: a file added, moved or deleted in it shows in the list by itself, one changed is read again when it is next picked, and the source note says *listening for changes*. Not allowed, signed out, or signed in to another account, the folder stays listed and nothing of it is read; its banner says which, and how to put it right. The settings reference's [Dropbox](../docs/settings.md#dropbox) section has the whole account: the Library's own Dropbox connection, what it may read, and the largest download. ## Where files are kept A folder on this computer is **indexed, not copied**: the Library keeps its listing, and what it has read of each file, in this browser. Chrome and Edge remember the folder itself between sessions; it comes back needing your permission, and a row at the top of the list has **Allow** for it. Firefox and Safari cannot remember a folder. There, a folder added is listed for this session, and the Library has a folder of its own, **In this browser**, in the browser's storage: files added with Add Files… and modules downloaded from a catalogue are kept there. The source note says so while it applies. ## Online The Online tab searches and browses the catalogues — Modland, scene.org, Aminet and SOAMC for modules, Freesound, Openverse and ccMixter for sounds — and your Dropbox; its Provider menu lists them. A provider is contacted only once its tick is on. A result is a description until it is opened, or added to your Library with a record of where it came from. The largest file it downloads is the setting [Largest download](../docs/settings.md#library). ### Sounds A sound's bar says what its file is — the source's preview, or the original — with its licence and attribution. **Related sounds** on an Openverse sound, and **Similar sounds**, **Same pack** and **More by the creator** on a Freesound one, list sounds from there in place of the results; a new search goes back. An Openverse sound that comes from Freesound offers **Find on Freesound**: it looks the same sound up through Freesound, whose tick has to be on as well, and shows it there, where its original file is offered once you sign in to Freesound. **Right-click** a sound's row for **Sample to Synth…**: it downloads the sound as Load does and opens [Sample to Synth](sample-to-synth.md) on it, as a file. It is greyed until the provider's tick is on, while another download runs, and while the module is a `.mod`. Its second row, **Open in AudioMass…**, downloads the sound the same way and opens it in [AudioMass](audiomass.md), as the **AudioMass** button beside Add to Library does; an edit brought back keeps the sound's licence and attribution. A module's or an archive's row has no such menu. ### ccMixter ccMixter's uploads are the original files themselves, each with its own licence. ccMixter comes through this site's own server, so the Provider menu lists it as *ccMixter — not on this server* until that server relays it; it can be chosen and ticked once it does. A row is one upload. Its ▶, Load and Add take the upload's own file — the mix, or the same mix in FLAC where the upload has it — and never one of its parts. An upload is often many files: the mix, a file for each part (`Drums.flac`, `Bass.flac`, a vocal), and one or more zips of stems or one-shots. The bar under the list lists every one of them, each part by the name ccMixter gives it, with **▶ Play**, **Load** and **Add to Library**; a part is kept in your Library, and loaded into a slot, under the upload's name and its own (`Legalize - Drums.flac`). Below them is each of the upload's zips, by its name, and what ccMixter says is in it, at once: each sound in it has **▶ Play**, **Load** and **Add to Library**, and the rest are named. A zip itself is fetched only when one of its sounds is played, loaded or added, or when **Look inside** is pressed — which lists everything the zip holds, its texts as well — and it is kept for the session, so a second sound out of it fetches nothing. Each zip is fetched on its own, and what Look inside lists of one stays in the bar while another is looked inside. An upload whose only files are zips has no ▶ of its own; its bar is its zips. Everything taken out of an upload, its parts and its zips' sounds alike, carries the upload's licence and attribution. **Kind** narrows a search to **Samples**, **Stems**, **A cappellas** or **Remixes** — one at a time. **Tags** adds up to three of ccMixter's own tags, every one of which an upload must carry: it opens ccMixter's lists — **Genre**, **Instrumentation** and **Style** — each tag with the number of uploads that carry it, and the box above them narrows the lists as you type (`dru` finds `drums`, `drum_and_bass`). A tag may be a number — `808`, `909` and `303` among the instruments, `2012` among the styles — and is picked like any other. Pick a tag to add it, and pick it, or its × above the lists, again to take it out; each change searches again. Each list holds up to 999 tags, the most used first. The lists are fetched the first time Tags is opened and kept in this browser for a week. A row's own tags are in its bar too, and picking one adds it to the Tags filter and searches again. ### Folders and Results A provider with folders — Modland, scene.org, Aminet, SOAMC and your Dropbox — opens on them, at its top: Modland's formats, scene.org's music and parties, Aminet's mods/ categories, SOAMC's shelves. These archives are laid out by format, artist, party, category or composer, and a folder is the natural way to browse them. **Results** is the list a search fills; **Folders** goes back to the folder you were in. Modland's and Aminet's folders are built from their indexes, which are fetched the first time they are needed and kept in this browser for a week — Aminet's is about 7 MB — so the first visit can take a moment. The Online tab asks for a provider's folders only while it is the tab on screen. aminet.net sometimes stops part-way through its index. When it does, or does not answer, the rest is asked of one of Aminet's two mirrors, ftp.fau.de and se.aminet.net, through this site's server as aminet.net is: what has already arrived is kept, and the status line names the mirror that finished it. A package or a readme that aminet.net does not give comes from a mirror the same way. ### The rows A row is named by its file's whole name, extension included, as on the Local tab. A SOAMC tune is too — `mod.agony_intro` — and a tune that needs other files beside it comes as a zip of them, named by that zip (`med.tune.zip`). The column after the name says where the file lives: a Modland or scene.org artist, a party, an Aminet category, a SOAMC composer or game, the folder of a file in your Dropbox (see [Dropbox](#dropbox)). It says the same whether or not the row has been picked. A module named the Amiga way — the kind in front and no extension, as in `MED.Recollapse` or `mod.Captain pugwash!` — is listed on scene.org and Aminet by its whole name, with the format its word names (MOD, MED, MMD1, OKT), as on the Local tab and in your Dropbox, and a double-click opens it. scene.org's are in its copies of Amiga collections and in demo folders, outside the music and party folders its Folders show: a search finds them. Aminet's own line about a package follows its name, quieter. The author the package's readme names is in the row's tooltip, and on a line of its own under the file's in the bar below the list, once the row has been picked. ### Artists Modland, Openverse, Freesound, SOAMC and ccMixter can list everything by one artist — Modland's artist, Openverse's creator, a Freesound uploader, a SOAMC composer, a ccMixter uploader — and the bar under a row from one of them names that artist, with **Everything by …**, which lists it now, and **Add to Favourites**, which keeps it as a saved search in the Favourites tab. A Modland artist is found in every format; a SOAMC composer in every collection its index covers; a ccMixter uploader by the account name in the upload's own address, which can differ from the name its row shows. Freesound's **More by the creator** is the same list, so its bar has the star alone. The list shows in place of the results, with More, until the next search. scene.org cannot do it — its search matches file names only — nor Aminet, whose index names no authors, nor your Dropbox. ### Looking inside an archive Picking an archive's row looks inside it, and the bar lists what it holds — an archive inside it included: each module, with **Open** and **Add to Library**; each sample, with **Play**, **Load** and **Add to Library** — raw data with a box of hertz beside it, holding the rate last typed there for that entry, or the default; each synthsound, with **Load** and **Add to Library**; and each text — a FILE_ID.DIZ, an .nfo, a readme — with its size and **View**, which shows it in the box at the bottom, DOS and Amiga text drawn as it was meant to look. An Aminet package's own readme, kept beside the archive on Aminet rather than in it, is the first text and the one shown first. ### Dropbox Once you have signed in, your Dropbox is listed folder by folder: modules, archives and samples are rows, and the rest is counted. A module named the Amiga way — `mod.axelf`, `MED.Fanfare` — is listed by its whole name, with the format its prefix names (MOD, MED, MMD1, OKT), as on the Local tab, and a double-click opens it. **Add folder to Local** lists the folder shown in the Local tab (see [Dropbox folders](#dropbox-folders)). A search finds files anywhere in your Dropbox, so each of its rows says the folder the file is in, in the column after its name — and so does a starred file in Favourites. A long path is cut from the front, keeping the folders nearest the file (`…/Jester/1992/Tunes`); the whole path is in that column's tooltip. A folder's own listing leaves the column empty: every row there is in the folder the bar above the list names. ## Keys | Key | In the Library | |---|---| | Space | Play or stop the picked sample | | F2 | Rename the picked row | | Enter | List what is inside the picked archive; open the picked text's window | | Escape | Close the window | | F1 | This page |