Want to use Ruby on robots? Check out our sister project Artoo (http://artoo.io)
Want to use the Go programming language to power your robots? Check out our sister project Gobot (http://gobot.io).
Install the module with:
$ npm install cylon cylon-audio
$ brew install mpg123
$ sudo apt-get install mpg123
Download and install the latest release for Windows from http://www.mpg123.de/download/win32/?V=1&O=D
You need to install the various dependencies before you can install cylon-audio on your Intel Edison. First, make sure you have updated to the very latest Edison firmware.
Then, add these lines to your
src/gz allsrc/gz edisonsrc/gz core2-32
And then run:
opkg updateopkg install mpg123
Using the cylon-audio module is pretty easy, pretty much just install the npm module and you are good to go, use it as you would any other device passing along the audio you wish to reproduce. To play audio, pass a full or relative path to the
play function. See the example below for further details.
"use strict";var Cylon = ;Cylonstart;
We're busy adding documentation to our web site at http://cylonjs.com/ please check there as we continue to work on Cylon.js
For our contribution guidelines, please go to https://github.com/hybridgroup/cylon/blob/master/CONTRIBUTING.md.
For the release history, please go to https://github.com/hybridgroup/cylon-audio/blob/master/RELEASES.md.
Copyright (c) 2014-2016 The Hybrid Group. Licensed under the Apache 2.0 license.