Compose Music Using Your Safecast bGeigie Nano Data

Convert Safecast bGeigie CPM Readings To A Midi File in Less Than 10 Minutes!

For the past couple of years, I’ve been inspired by numerous artists that have utilized Safecast radiation data and the bGeigie nano device to imagine it in ways that go outside the norms of scientific data represented in bar graphs and maps. You may also be interested to know that some of the Safecast founders are very into making music! After coming across a post by Forest Mims III on converting scientific data into music, I decided to try converting one of my bGeigie drives into a musical piece. The readings I chose are from my Forest Medicine training in Uenomura, Japan in May, 2019 and I paired the music with a recent trip to Europe which you can listen to and watch here.

Here’s how you can do it too:

STEP 1 – Export Your bGeigie log file

This assumes you have uploaded a bGeigie file!

  1. Go to
  2. Log In
  3. Click Review your bGeigie log file submissions
  4. Toggle the tab in the top right from Everyone to Yours
  5. Choose one of your submissions and click the log
  6. In the top right of the page, click Download Original File

Safecast Music Composer Step 1

Safecast Music Composer 1b

STEP 2 – Convert log file to .csv file 

  1. Rename your log file to use the extension .csv
    • E.g. change 12345.log to 12345.csv
  2. Import your comma-separated file into a spreadsheet
    • Here’s how to do it in Google Spreadsheets:

          1. Navigate to Google Drive
          2. Click New
          3. File Upload
          4. Choose the file from your computer
          5. After the upload is complete, double click on the file
          6. It will open in Google Spreadsheets
  3. Copy the CPM values that you want to convert into a midi file (column D is your CPM readings)

Safecast Music Compose Step 2

STEP 3 – Convert CPM Readings To Midi File

(Detailed Steps by Forest Mims III are here:

  1. Navigate to MusicalAlgorithms (by Dr. Jonathan Middleton and team) 
  2. Click Compose
  3. Click Import Your Numbers
  4. Paste your CPM numbers from the spreadsheet. Note that there should be a return after each number


  5. Uncheck boxes B, C, D
  6. Click the button Get Algorithm OutputSafecast Music Compose Step 3
  7. Click the button Scale ValuesSafecast Music Compose Step 3-7
  8. In the Compose section, do one of the following:
    • Click Play to open a Java-based MIDI player
    • OR Click Save MIDI to download a file

Safecast Music Compose Step3-8

STEP 4 – Optional Mac Garage Band Import (Similar steps for Logic Pro X)

  1. Save the MIDI file
  2. Choose a tempo and click the button Download MIDI
  3. Open Garage Band
  4. Click New Project -> Empty Project
  5. Choose a Track Type -> Software Instrument 
  6. Click Create
  7. Drag the MIDI file you want to import from the Finder to a software instrument track or to the empty area below the existing tracks in the Tracks area.
    The MIDI file appears on one or more software instrument tracks. You can choose the software instrument used to play the MIDI file in the Library.
  8. Play around. Have fun. Share your drive tracks with us!

Safecast Music Compose Step 4


  • If you are asked to Import Temp, choose No. 
  • If you only see an empty file or one that sounds like clicks, try dragging the MIDI file onto the Garage Band application in your Dock.
  • If you see two tracks – delete the one that doesn’t appear to have any audio.

Anything else that will be helpful? Please comment below.

Safecast Music Compose - Troubleshoot