Skip to content

Commit

Permalink
add Symbole extension method to create Sequencers from a Rbhythm name
Browse files Browse the repository at this point in the history
  • Loading branch information
lucretiomsp committed Oct 23, 2024
1 parent 58f3ec3 commit 14cfd7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Coypu/ByteSymbol.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ ByteSymbol >> number: anArrayOfNumbers [
anArrayOfNumbers }
]

{ #category : '*Coypu' }
ByteSymbol >> rhythm [

"creates a Sequencer with 16 steps of the named rhythm"
^ 16 perform: self
]

{ #category : '*Coypu' }
ByteSymbol >> solo [
"shorthand for p solo: aKeyInperformance"
Expand Down

0 comments on commit 14cfd7d

Please sign in to comment.