Sprintf ( ":speaker: *%s* is playing _%s_", user, track ) sendChatResponse ( message, channel )įor that we built a web server Huck 9000 (name inspired by our patron saint Mick Hucknall) using Go which parses the different HTTP messages and translates them into Linux commands to be executed on the Raspberry Pi. We let Slack post that message directly to our Raspberry Pi which then in turn would trigger the sounds using mpg123. Maybe you can already guess how everything fits together. For instance, you could define the following command:Īfter that you need to tell Slack to which endpoint it should post the data as soon as someone enters the command. Slack allows you to define outgoing webhooks or even slash commands. Our speakers are set up through a mix deck which means it would be just a matter of connecting the Raspberry Pi to it in order to make any output sounds available while maintaining our office music sounds. The plan was to connect the Raspberry Pi to our speakers to play sounds from it. It has gained popularity as a supplementing device especially due to its size and low amount of power demand hence making it ideal for interacting with the environment. The Raspberry Pi is a credit card–sized single-board computer developed with the intent to promote the teaching of basic computer science in schools and developing countries. With a Raspberry Pi available in the office, this screamed out for an office hack! We take great pride in our office stereo as it not only enables us to listen to music, share new discoveries but also use our product in a communal way. The lack of sounds though, was a wound which would not heal. From sounds like Danger Zone from Topgun, over George Takei’s Oh My, to Ludacris’ Roll Out, there is a sound to emphasise every kind of situation be it a colleague spilling coffee over your laptop or a successful rollout of a new feature.Īfter Mixlr migrated to Slack we found ourselves becoming more and more productive with every new integration we added. One of the features that made Campfire, the real-time communication tool for team collaboration, indistinguishable is the feature to play sounds to everyone. Before Mixlr got addicted to Slack we used Campfire. In this post we show you how Mixlr pushes Slack beyond its boundaries how we let the genie out of the bottle–into the office. By Konrad Five ways to use Slack part two: How we made Campfire sounds work in Slack
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |