Audio sources are ubiquitously available on portable electronic devices, including cell phones. Here we demonstrate lysis of Mycobacterium marinum and Staphylococcus epidermidis bacteria utilizing a portable audio device coupled with a simple and inexpensive electromagnetic coil. The resulting alternating magnetic field rotates a magnet in a tube with the sample and glass beads, lysing the cells and enabling sample preparation for these bacteria anywhere there is a cell phone, mp3 player, laptop, or other device with a headphone jack.