We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fb17b0 + 7c256ae commit 37d858dCopy full SHA for 37d858d
usage/sonic-pi.md
@@ -102,6 +102,13 @@ def frere
102
sleep 0.5
103
end
104
```
105
+Then call the function by typing `frere`. For example in a loop:
106
+
107
+```ruby
108
+4.times do
109
+ frere
110
+end
111
+```
112
113
## Synths
114
@@ -127,14 +134,6 @@ with_synth "fm"
127
134
128
135
129
136
130
-Then call the function by typing `frere`. For example in a loop:
131
-
132
-```ruby
133
-4.times do
- frere
-end
-```
137
138
## Threads
139
140
You can play two tunes at the same time using threads. Like loops, they are blocks encasing lines with the `end` keyword:
0 commit comments