Audio Sampling Directly in Amibian Raspberry Pi for Amiga Mods

UPDATED ON 5/11/17 – fixed sample rates to keep samples in tune with amiga sampling frequencies!

I recently got a Raspberry Pi 3 so I could setup an “Amiga” using the amazing Amibian. If you are not familiar with this, and you’re a vintage computer enthusiast, you definitely need to check this out. It is a Pi Linux distro that boots DIRECTLY into an Amiga emulator, so it is basically like having a real Amiga. You can get one set up for a fraction of the cost of an actual Amiga, and it runs incredibly well!

Anyway, most people using this stuff seem to do it mostly for games. That’s cool, but my love of Amiga was always about music. I learned how to make electronic music using them many years ago, and have often wanted one again to go back to using Octamed and Protracker to create music. When I saw Amibian, I had to give it a shot.

I got it all set up and working great, but wanted to find a way to sample my own samples directly into the Pi and Amibian without having to do it on another computer and go through complex conversions and stuff to get the samples to work in Amibian. So I wrote a script to do it! To get audio input on the Pi, I used one of these cheap usb mic inputs from amazon, and can plug a mic, or line into the input and sample it using my script.

The way that it works is by using arecord, the built-in sound recorder for Linux, and a program called Sox, which is available in the Raspbian repositories, (apt-get update, then apt-get install sox). Then all you need to do is create a folder on your Amibian Pi called recordings, copy the script to there. Before you run it though, edit the script to include your sample directory on the Amiga side (nano you’ll see instructions inside the script. Once you update that single line, then exit nano and type chmod +x to make the script executable on your system. Then to run the script, be in the recordings directory and type ./ and follow the instructions on the screen.

Download asampler script here, unzip, then copy it to your pi

And here’s the usb audio interface I’m using. Any Pi supported USB device should work. 

2 thoughts on “Audio Sampling Directly in Amibian Raspberry Pi for Amiga Mods

  1. Dan

    Hey Demonic Sweaters,
    Thanks for the awesome video. I’m looking at getting a raspberry pie to do track recording also on the Amiga. I didn’t really know where to start from as I’m no DJ, but I’m working on a game and I’d love to give it that Amiga authentic sound.
    Anyways, just thought I’d say thanks for your advise as I couldn’t find much on the web.
    Dan 🙂


Leave a Reply

Your email address will not be published. Required fields are marked *