Read The Bleepin’ Manual
Text Files: Yes, We Read Words
When OnSong imports certain files, it sometimes needs a little hint about the file encoding or format. Because, ZOMG, computers are clueless without us. Text File Handling settings help OnSong figure out what the heck to do with the weird files it stumbles across.
Grab the Song Number from the Title
Import a song with a title that starts with a number & a period? OnSong can snag that number as the song number so sorting & searching actually work. You’re welcome. Srsly.
ChordPro Compatibility Processing
ChordPro is a syntax, not a standard file format. Translation: every vendor made up their own rules & called it a day. LOL. This option cleans up the ChordPro mess so it plays nice with the future, like turning commented section labels into real sections. Look at us, being all grown up.
Convert Smart Quotes
Those fancy “smart quotes” look pretty but break stuff. This option tries to swap the incompatible ones for versions that behave. Because typography drama is the worst.
Detect Chords In Lyrics
OnSong uses plain text to draw your chord charts. Both OnSong & ChordPro formats put chords in square brackets right inside the lyrics. But OMG, most charts out there have chords on a separate line above the lyrics, because everybody’s a rebel. Turn this on & OnSong spots chords over lyrics & tucks them in with the words automatically. Default is on. NOM NOM.
Detect Key By
No key in the song’s metadata? Fine. OnSong has to play detective to find it so you can transpose. It hunts the key using one of these methods:
- First Chord treats the first chord in the song as the key. Starts with Am7? Key of Am. Boom. Default, amirite.
- Last Chord trusts the last chord instead. Ends on a Bbsus4? Key of Bb. Dramatic finish, bleepin’ genius.
- Note Counts adds up every note in every chord, then counts sharps & flats like a nerd with a calculator. Often more accurate than first or last chord, but still wrong if the song barely has any chords. Garbage in, garbage out, peeps.
- Metadata Only only believes what the song’s metadata tells it. No key declared? No transposition for you. KTHXBYE.
Fallback File Extension
OnSong reads a file’s extension to figure out its format. That matters during import so text can be converted into a supported internal format, or so external files like PDF show up right.
Most files have an extension. OpenSong files? Not so much. They’re extension-less rebels that are secretly XML. So OnSong slaps a .xml extension on anything that has none, which says “hey, OpenSong file!” & converts it properly.
Got a gazillion files with no extension & you know what they are? Type the extension here & stop crying about it.
File Encoding
Text encoding is turning written characters into binary values a computer can store. ZOMG, riveting. OnSong tries to guess the file encoding, but sometimes even it has no clue. The default is Auto, meaning it guesses. Know the encoding? Pick it from the list & feel smart:
- Auto sniffs out the encoding from the file contents. Default. Just trust the robot.
- ASCII is basic text encoding that covers most western character sets. The vanilla ice cream of encodings.
- UTF-8 is a superset of ASCII with most characters found around the world, but not some, like those in Asian languages. OnSong uses UTF-8 internally & stores bigger character sets in a way that keeps them retrievable. Clever, right? We think so.
- UTF-16 uses 16-bit values for the character set, allowing 32,768 possible characters. That’s a lot of squiggles.
- UTF-32 uses 32-bit values, allowing 2 billion possible characters. Two. Billion. Overkill much? LOL.
- ISO-Latin, better known as its codepage “iOS-8859-1”. Kinda like UTF-8 & holds Latin-based characters. Old school, but it still shows up to the party.
Text File Conversion
When text files get imported, OnSong can automatically translate them into the OnSong file format, which puts chords into square brackets for you. Since OnSong can now handle chords over lyrics in the song viewer all by itself, this is set to Text by default. Still want OnSong to convert your songs automatically? Choose OnSong instead. Fancy.