Audio Processing Server for
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Audio Processing Server for

Exposes an audio stream to be consumed by the client.

Dev Setup

  1. Install Go:
    sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable
    sudo apt-get update
    sudo apt-get install golang

  2. Create Go workspace & clone repository
    mkdir $HOME/exploreapollo-audio
    export GOPATH=$HOME/work (this can be anywhere, maybe add this to ~/.bashrc)
    mkdir $GOPATH/src/
    cd $GOPATH/src/
    git clone
    mv exploreapollo-audio
    cp sample-config.json config.json

  3. Install psql driver && compile project
    go get
    go install

to run server just: go run main.go


Parameter Domain Description
mission INT Apollo mission of interest
channels []INT Channels of interest (comma separated)
format m4a, ogg streaming format
start INT64 Mission Elapsed Time, in milliseconds
duration INT64 duration of desired audio beginning at time start, in milliseconds

Example Query Url,18,24&start=369300000&duration=600000&format=m4a

returns an m4a stream of Apollo 11 channels 14, 18, and 24 starting at MET 369300000 (this is equivalent to MET 102:35:00) and lasting 600000 milliseconds (10 minutes).

Heroku deployment

The Heroku application is set to deploy the master branch. The branch must be manually deployed through the Heroku console to view new changes.

The server uses the following buildpacks, which must be installed via the Heroku console for deployment:

The file Aptfile is used by heroku-buildpack-apt to obtain additional dependencies.