floppy disks Archives - Alex's Piano Service

Combining CD Audio and MusicSoft Floppy Disks from Mark IV for the Enspire / DKC-900

Here’s a basic outline of the steps involved:

  1. Copy MIDI tracks from Floppy Disks using Player Piano Floppy Backup Utility.
  2. Rip Audio tracks from CD as MP3 files.
  3. Put resulting files in the same directory, making sure the MP3 files and MID files for a given song have the same names.
  4. Put the collection of files in a folder with the album name.
  5. Put the folder onto a USB stick.
  6. Insert the USB stick into your Enspire and enjoy!

Copy MIDI tracks from Floppy Disks

First, you’ll need copies of the MIDI files from the floppy disks. The best tool for this is Player Piano Floppy Backup Utility, created by Mark Fontana. It’s freeware, but he requests donations. You can download it from him, or you can download ppfbu_v1.4_setup.exe from my MEGA drive. You can read more about this process on the Disklavier Floppy Disk Backups, ESEQ and MIDI Formats page.

The most important part of this step is that you write the files as “Renamed MIDI files.” I typically name each one with the name of the track, and make sure each name starts with the track number (00, 01, 02…). This makes it much easier to keep track of which MIDI file goes with which MP3 later on.

Using PPFBU to extract the files, and then export them as Renamed MIDI files. I’m using a dedicated Windows XP box that I keep just for this purpose. You can rename the files in PPFBU before you export them, or you can rename the MIDI files after (like I did in this case).

Rip the Audio tracks from CD

You’ll need to rip the audio off of the corresponding audio CD. You can rip CD audio natively on Windows using Windows Media Player. In the Linux environment, I used Asunder. In the Mac environment, you can actually use the Music App. The main point is just to extract mp3 files for each track on the CD.

Ripping an Audio CD using Asunder on a Linux system.

Name and Organize the Files

Below, you can see the files listed after ripping the audio CD, and after backing up the floppy disk drive using Player Piano Floppy Backup Utility. The floppy disk tracks are MIDI files and have a .mid extension. These contain the instructions to operate the piano. The CD tracks have been ripped as MP3 files and therefore have a .mp3 extension—these contain the audio.

'01 - Kingston Trio - Tom Dooley.mp3'
'01 - Tom Dooley.mid'
'02 - Greenback Dollar.mid'
'02 - Kingston Trio - Greenback Dollar.mp3'
...
'12 - Kingston Trio - (Sinking of the) Reuben James.mp3'
'12 Reuben James.mid'

All the files are present, but they will not yet play correctly in the Disklavier, as the filenames do not match.

I wrote a short Python script to automatically rewrite all the filenames to match. Using the numbers at the beginning of each filename, it pairs together matching MIDI and MP3 files and names them whatever the name of the MIDI file is, but without spaces or symbols. This appears to be the same formatting of downloadable Disklavier albums.

Whether you use the script or not, the before and after directory listings indicate how you must rename the files.The script is called using the following syntax:

python merge.py /path/to/your/directory "Album Name"

$ python merge.py . "Kingston Trio"

Copied and Renamed: 01 - Tom Dooley.mid -> 01TomDooley.mid

Copied and Renamed: 01 - Kingston Trio - Tom Dooley.mp3 -> 01TomDooley.mp3

Copied and Renamed: 02 - Greenback Dollar.mid -> 02GreenbackDollar.mid

Copied and Renamed: 02 - Kingston Trio - Greenback Dollar.mp3 -> 02GreenbackDollar.mp3

...

Copied and Renamed: 12 Reuben James.mid -> 12ReubenJames.mid

Copied and Renamed: 12 - Kingston Trio - (Sinking of the) Reuben James.mp3 -> 12ReubenJames.mp3

Listing of resulting directory, “Kingston Trio”:

01TomDooley.mid
01TomDooley.mp3
02GreenbackDollar.mid
02GreenbackDollar.mp3
...
12ReubenJames.mid
12ReubenJames.mp3

Note that now the MP3 and MIDI files have identical names for each song, identical capitalization, and that all spaces and symbols have been removed. In the ENSPIRE, unlike earlier iterations of the Disklavier, filename length does not seem to matter. Here’s a graphical representation of the last folder, ready to move:

The filenames match! It’s ready to be put on a USB stick and played in your ENSPIRE.

It’s Time to Play!

At this point, you can move the complete folder (in this case, Kingston Trio) onto a USB stick, and insert it into the front of your ENSPIRE controller.

Once your USB is inserted, you’ll see the My Songs (5) option appear in the ENSPIRE controller app. (This image is copied from the ENSPIRE Controller Operation Manual created by Yamaha, which is available from them.) Just open up the “Album” (which is the folder you created for all of your files on your USB stick), and select a song! It’ll play the piano parts, and the audio will accompany it.

Conveniently Rename all ESEQ Files for use with EEXPLORE and PIANODIR.FIL

This Java program will recursively rename .fil files in the specified directory, ensuring they follow the naming convention described, and convert all filenames to uppercase. If, for instance, you have twenty albums, direct this program to run in their parent directory, and all the albums in subdirectories will be corrected.

This script renames all files to be all-caps, and to have names exactly eight characters long. It will add filler characters if necessary. It will make sure they’re unique by incrementing a counter. These appear to be the most important factors in making files identifiable to early Disklaviers, based on my experience and those of commenters.

At this point, you’re ready to use EEXPLORE.EXE to move through each directory and prepare your PIANODIR.FIL. At a future date, I’d like to automate this.

Make certain to back up all files before running this! I can’t guarantee perfect results for all combinations of names and strings of characters.

After you run RenameForDisklavier, you’ll see this box. Select the folder containing all of your .fil files, and it will do the rest.
The renamed .fil files, demonstrating proper length, numbering, and capitalization.

Nalbantov Floppy Disk Drive Upgrades

I’ve recently started recommending customers with worn-out floppy disk drives upgrade them to so-called “Floppy Disk Emulators.” There are a couple of these on the market, but it looks like the easiest to use and most reliable is the Nalbantov USB Floppy Disk Emulator. I use these regularly in Yamaha Disklaviers, but they can also be installed in keyboards. I install these quite regularly. If you do order from Nalbantov directly, make sure to use the AlexPiano for a 5% discount on orders from Nalbantov.

Why Upgrade?

There are several reasons why you might want to replace an old floppy disk drive with a USB floppy disk emulator, including:

  1. Increased reliability: USB floppy disk emulators are more reliable than traditional floppy disk drives, as they have no moving parts and are less susceptible to mechanical failure. Most customers reach out to me after their floppy disk drive has failed.
  2. Compatibility: USB floppy disk emulators are compatible with modern computers, which may not have floppy disk drives built-in or may no longer support floppy disks.
  3. Speed: USB floppy disk emulators transfer data faster than traditional floppy disk drives, making it easier and quicker to transfer large amounts of data.
  4. Convenience: USB floppy disk emulators can be easily connected and disconnected, making it easier to transfer data between different computers or to store data.
  5. Cost-effectiveness: USB floppy disk emulators are often more cost-effective than purchasing a new floppy disk drive or repairing an old one.

I’ve found some floppy disk drives now cost more than the replacement USB emulators, especially if they’ve had minimal use. And hardly anybody knows how to actually repair a floppy drive—that’s a nearly lost art.

Operation

After the Nalbantov is installed, you can use a single USB stick to represent up to 1000 floppy disks. Because it’s a floppy disk emulator, the Disklavier actually believes you’re inserting a different floppy disk. As you switch between virtual “disks” by pressing the arrows, you’ll see the display on the Disklavier behave as though you’ve inserted a new disk. Of course, if you have more than 1000 floppy disks, you can invest in another USB stick, although I haven’t run into this particular situation yet!

The USB stick that comes with the Nalbantov is a standard, full-size USB stick. This protrudes rather far, and I’ve now run into multiple circumstances where the drive has been damaged by an incautious pianist. See my post on the Best USB Stick for Nalbantovs. Hint: It’s the SanDisk Ultra Fit.

This is the #2 track on the #27 floppy disk stored on that USB stick!

Installation

Some customers opt to install the Nalbantov unit themselves. Depending on the design, this is quite doable, although I don’t recommend attempting it with most Yamaha MX100II Disklaviers (see below). It is a very easy installation on, for instance, the DKC5R and the DKC500RW, just to pick a couple.

With some generations of Disklavier (most notably Mark II / MX100II / MX100A / MX100B devices), the floppy disk drives are mounted behind a shaped plastic piece. In these cases, you’ll need to cut away the old plastic facing (a pair of flush-cut nippers is helpful here), install the new drive, and put some kind of buffer around it. I’ve experimented with a few different choices for something functional and attractive. Purchasing neoprene strips is a cheap solution.

New solution: I have a 3D model of a floppy bezel that’s sized to fit around a Nalbantov. You can 3D print this yourself, or I can mail you one. This mount holds the Nalbantov in place, and also fills in the gaps around the edges. It’s an all-in-one solution for mounting the Nalbantov, and allows you to reuse the same screws the original floppy disk drive was installed with.

My solution/old solution: My previous 3D model in STL format of a floppy bezel simply filled in the gap around the Nalbantov, but didn’t help with mounting. You can 3D print this yourself, or I can mail you one. I adhere it to the replacement Nalbantov with a bit of hot glue, and then slide the whole assembly in. However, you’ll need to improvise a way to actually mount the floppy drive. I use mounting assemblies from old Yamaha slim floppy drives, but these appear to now be discontinued.

For backing up your current Disklavier floppy disks to a format that can be stored on your USB stick, see my article on Backing up Disklavier Floppy Disks. They can then be moved onto a virtual “disk” with Nalbantov’s proprietary tool.

Disklavier Floppy Disk Backups, ESEQ and MIDI Formats

This post is intended to help you read from, write to, or replace Yamaha Disklavier floppy disks.

Some of my customers choose to upgrade their older Disklavier’s floppy drive to a Nalbantov USB drive, and want to know how to copy songs from their old Disklavier floppy disks onto a USB. Some of them just want to be able to back up their disks in case they need to make new ones later. Or maybe, you’re just trying to figure out how to write to disks your Disklavier can actually read!

The content on the original floppy disk is protected by copyright and is the property of its respective owners. These instructions are provided to assist owners of legitimate copies in converting the files for personal use on their own Yamaha instruments. Unauthorized copying, sharing, distribution, or commercial use of the converted files is strictly prohibited. By using these instructions, you agree to comply with all applicable copyright laws, licensing agreements, and Yamaha’s terms of use. I disclaim any responsibility for misuse of the information provided.

If you want your floppy disks files saved on a more modern media, you can also mail your floppy disks to me (please reach out to me at [email protected] or through my Contact page). Nalbantov also has a disk transfer service, and they can be very useful if you encounter particularly challenging disks. Make sure to use the AlexPiano for a 5% discount on orders from Nalbantov.

If you’re adding new music to a floppy disk or Nalbantov USB and have an older Disklavier (such as the popular MX100II), you’ll need to make sure the files are in Yamaha’s proprietary ESEQ format. Using the tools below, you can convert your MIDI files to ESEQ so that they will be in your Disklavier’s native language.

Obtaining Files from your Yamaha Disks

Yamaha floppy disks are a great source of songs that you know will be formatted correctly for your piano. However, floppy disks often don’t age well, and are very susceptible to sunlight and magnetic fields. (This is one more reason to back them up!)

Disklavier floppy disks cannot be natively read by your computer without special software. They will appear as unformatted disks.

There are several tools that will allow you to read them: I use the Player Piano Floppy Backup Utility 1.4, created by Mark Fontana. It’s freeware, but he requests donations. You can download it from him, or you can download ppfbu_v1.4_setup.exe from my MEGA drive. It can read and save directly in ESEQ format, even if the disk it’s reading from is in MIDI. It appears to run acceptably on Mac / Linux using emulators, although this can add complications.

There are other tools out there. Most notably, there was a Hack-a-Day project by Tom Nardi that uses a Python script to copy the data off the floppies. His disklav.py tool is available on GitHub.

If you copied the files in ESEQ format, there’s an extra step before your Disklavier can read them. See below!

The Player Piano Floppy Backup Utility v1.4 running on my dedicated Windows XP “floppy copy” box.

Obtaining even More ESEQ Files from the Internet

In addition to the originals you might have, you can sometimes find these on eBay or at local music stores. Older disks on eBay are seldom tested, so there’s some risk of receiving junk disks.

There are several large online repositories in both ESEQ and MIDI formats. Some of these are of dubious legality. One legitimate resource was kuhmann.com, which had quite a large repository. I have a copy of their entire database on my MEGA drive. (I worry a lot about these older resources disappearing! They disappeared. Kuhmann’s inventory does appear to be available on the Wayback Machine, but his original website is now off the internet.)

You can also source files from Yamaha’s website, although this a more expensive option. Many of their MIDI files have multiple instruments (or even limited piano), and are more designed for their keyboards and other MIDI devices. However, they do have an entire category of Piano Solos, and these are what you’ll want to search for when selecting files. When you download these, you get their associated MIDI files, which are comfortably sized for floppy disk purposes.

Converting MIDI files to ESEQ

If you want to use MIDI files with your older Disklavier, you can, but you have to convert them to ESEQ first. There’s software to do this conversion. You can either get it from http://www.carolrpt.com/MIDItools.htm or you can download the whole DKVUTILS suite from my MEGA drive.

Once you download DKVUTILS.ZIP from my site or theirs, you’ll need to extract it. The program that converts MIDI files to ESEQ files is MID2ESEQ.EXE. This program runs only on Windows, and does not seem to run with emulators. Reach out to me and I can assist with conversion.

Using MID2ESEQ, just drag and drop MIDI files into the window.

MIDI files that have only one track are called Type 0 files. MIDI files with multiple parts are Type 1. Occasionally, the piano will be spread between two tracks. In that case, you’ll find the piano is playing only half or so of the notes it should be. You can convert Type 1 to Type 0 files using the tool gn1to0.exe that’s also stored on my MEGA drive. This is a slightly cumbersome tool, but will either run on Windows or on Linux/Mac using Wine.

Using conversion software to merge all the MIDI tracks.

ESEQ Files and creating your PIANODIR.FIL

If you have a Yamaha that’s capable of playing ESEQ only, you might also need to create a PIANODIR.FIL index. I have instructions here on creating a PIANODIR.FIL index.

If you are using a Nalbantov, any USB stick you use MUST be formatted either FAT16 or FAT32.

Please also note that the ESEQ filenames should be strictly eight characters long, have no spaces, and be entirely uppercase, including the FIL extension BEFORE creating the PIANODIR.FIL file. I’ve created a script to automate this proper naming process, discussed in my creating a PIANODIR.FIL index instructions.

Formatting 2DD Floppy Disks

Some people choose to use the original floppy disk drives in their 90s-vintage Disklaviers, rather than converting to a Nalbantov. First, it’s important to make certain you’re using the correct floppy disks. The more “modern” 2HD floppy disks require stronger magnetic fields to write, and may not always be compatible with older Disklaviers. The slightly older 2DD drives, however, will work. You can tell the difference readily: 2HD disks have openings at both corners of the Disk, while 2DD disks will have only one.

2HD disks have openings at both corners, but 2DD disks do not. You’ll usually find the write-protect slider in one corner, but other will be blank.

Some have reported covering the hole with electrical tape will trick the Disklavier into believing the disk is a 2DD disk. You may or may not be able to write to it using the Disklavier, but you should be able to read from it using this trick, provided your 2HD disk is formatted as a 2DD disk.

Formatting a 2DD 720KB floppy disk in Linux.

I formatted mine on my Pop!_OS Linux machine with the instruction sudo ufiformat -f 720 -v /dev/[yourdevice]. If you’re using a Windows machine, the instruction is format a: /t:80 /n:9. Pictured below, you can see what this command looks like on my Windows XP floppy transfer box. This command does work in Windows 10 and 11, but requires you to be using an external floppy disk drive that allows this format. Not all of them do.

Formatting a 720KB 2DD floppy disk in Windows XP.

At this point, you can transfer your .FIL files and PIANODIR.FIL file to your floppy disk. Put them in the root directory, and do not use any folders.

If you have a bunch of MIDI files and you’d like to put them on a floppy disk, then first format the disk as shown above. Then follow the instructions to convert your MIDI files to ESEQ and create a PIANODIR.FIL.

Potential ESEQ Problems

If you’re using a USB stick in a Nalbantov, it must be formatted FAT16 or FAT32. Nalbantov supplies a video on how to format your USB stick.

If you’re using an actual floppy disk, it must be a 2DD disk formatted to 720 KB. See the above section on identifying the disk and formatting it correctly.

Earlier Disklaviers can be finicky about their ESEQ files. Sometimes, they’ll work without any trouble, even without a PIANODIR.FIL file. However, particularly in earlier Disklaviers (such as the DK5R), you’ll need to be more careful with the naming conventions, and you’ll definitely need that PIANODIR.FIL described above.

I’m very grateful for the research of Mike Isreal (in the comments below), who did experimentation with his own Disklavier. Before creating a PIANODIR.FIL for your disk, make certain that all filenames are precisely eight characters long, and that both the filename and extension are in all-caps. The filename must contain no spaces.

Some have commented that it appears you can also omit the .FIL extension (at least in some cases). According to Nalbantov, there might be cases where a fully lower-case filename and extension are called for, although I have not run into that particular case yet.

Some of this is caused by the choosiness of the Disklavier itself, but it seems likely to me that a lot of the free tools we’re relying on probably add their own complications. If you are experiencing any trouble, please reach out to me for assistance. You can also Categories Disklaviers Tags , , , 14 Comments