ruby_cover_band
Enough Coverage To Beat The Band (by kevin-j-m)
Sonic-Pi-Examples
Contains simple examples of the usage of Sonic-Pi (by hashbangstudio)
Our great sponsors
ruby_cover_band | Sonic-Pi-Examples | |
---|---|---|
4 | 1 | |
2 | 17 | |
- | - | |
4.9 | 0.0 | |
11 months ago | over 9 years ago | |
Ruby | Ruby | |
MIT License | BSD 3-clause "New" or "Revised" 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-Examples
Posts with mentions or reviews of Sonic-Pi-Examples.
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
We'll then take all of those notes and pass them to our amplifier, using Sonic Pi's play_pattern_timed method. This also allows us to define a time between each note, so we can place a small amount of time in between each to simulate the time it would take your hand to complete a downstroke across all the strings.
What are some alternatives?
When comparing ruby_cover_band and Sonic-Pi-Examples you can also consider the following projects:
Sonic Pi - Code. Music. Live.