Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve chord commands #11

Closed
rbnpi opened this issue Oct 8, 2013 · 2 comments
Closed

Improve chord commands #11

rbnpi opened this issue Oct 8, 2013 · 2 comments

Comments

@rbnpi
Copy link
Contributor

rbnpi commented Oct 8, 2013

a command to specify a chord of a given duration more succinctly than using
play_chord [60,64,67],"attack",0.5
sleep 0.5
maybe even something to allow sequences of chords like the play_pattern commands
play_chord [(c1n1,c1n2,c1n3),(c2n1,c2n2,c3n3)....][c1duration,c2duration,c3duration.....]

@whaleygeek
Copy link

Presumably you could just def play_chord2() inside one of the edit windows to add this functionality yourself, by making it take the parameters you want and then call the underlying play_chord command (as it's just ruby code?)

@samaaron
Copy link
Collaborator

samaaron commented May 3, 2014

In version 2.0 play now accepts a list of notes and will automatically defer to play_chord. This means the following works:

play_pattern [chord(:e5, :minor), chord(:f4, :minor)]

play_pattern_timed [chord(:e5, :minor), chord(:f4, :minor), chord(:gb, :major)], [1, 0.5]

@samaaron samaaron closed this as completed May 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants