ruby_cover_band
Enough Coverage To Beat The Band (by kevin-j-m)
sonic-pi-cli
A simple command line interface for Sonic Pi, written in Ruby (by Widdershin)
Our great sponsors
ruby_cover_band | sonic-pi-cli | |
---|---|---|
4 | 3 | |
2 | 139 | |
- | - | |
4.9 | 0.0 | |
11 months ago | over 3 years ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ruby_cover_band
Posts with mentions or reviews of ruby_cover_band.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-09.
-
Stringing Code Together to Play Music
A guitar is a string instrument, and each of those strings make a sound when you play them. For this example we'll focus on the happy path, which is that plucking the string plays the expected note. The code I built also considers that strings can break, and attempting to play broken strings won't work. You can look at the full implementation to see how that works.
-
Using Sonic Pi to Play Music With Ruby
In the earlier post on dependency injection, I created a PracticeAmplifier class that did nothing so I could use it in tests, rather than the "regular" amplifier.
-
Synthesizing Composition With Delegation
In this example, our synthesizer changes its memory capabilities based on the brand that it is.
-
Dependency Injection: Plug In
In reality, the difficulty in testing the Guitar class is what led to the decision to inject the amplifier in. That's because the Amplifier class is essentially a wrapper around Sonic Pi. Sonic Pi describes itself as a "code-based music creation and performance tool", so playing the guitar with this amplifier will actually play a sound on your computer.
sonic-pi-cli
Posts with mentions or reviews of sonic-pi-cli.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-15.
-
Revisiting Calling Sonic Pi From Ruby
A few years ago I wrote about controlling Sonic Pi with Ruby code without needing to code in the IDE directly. That relied on the sonic-pi-cli gem. For my Anyone Can Play Guitar (With Ruby) talk, I took a different approach.
-
Stringing Code Together to Play Music
This is all in a string (the data type, not the part of the instrument), because we're going to pass it to Sonic Pi via the sonic-pi-cli gem. This is going to execute the note method in Sonic Pi to play that single tone.
-
Using Sonic Pi to Play Music With Ruby
To get around using the IDE directly, I found the sonic-pi-cli gem. Its principal use case is to be used directly in the terminal. However, it's a gem, and written in ruby, and the core functionality is available in a class that you can use in any of your code.
What are some alternatives?
When comparing ruby_cover_band and sonic-pi-cli you can also consider the following projects:
Sonic Pi - Code. Music. Live.