Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.
Created on 12-22-201607:26 PM - edited 08-17-201907:04 AM
Business Need: Build Tool Notifications + Fun
SonicPi is an open source, multiple platform live music synthesizer tool for building music via coding. It's a pretty neat environment and runs on a Mac, RPi, Windows machine or Linux machine. I found a command-line tool that can trigger SonicPi to play your code. I have wired up a dataflow from NiFi to SonicPi, so I can trigger music on demand. My thought is I will tie this into Jenkins and play different songs depending on what's going on. Such as Test Failures, Build Complete, Build Broken, New Deployment, based on various steps in the SDLC.
Note: The machine this running on will need Ruby, Gem, Apache NiFi, Sonic Pi and a sound card.
To trigger Sonic Pi, you must install Sonic Pi Cli, via gem install sonic-pi-cli.
Run the SonicPI software and have it up and running. As you can see it's a pretty awesome environment, somewhere between a nice IDE and a music tracker.
Step 3: ExecuteStreamCommand This calls the command line tool to trigger Sonic Pi.