You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
summary: "Play pattern of notes with specific times",
623
623
doc: "Play each note in a list of notes one after another with specified times between them. The notes should be a list of MIDI numbers or symbols such as :E4 - identical to the first parameter of the play function. The times should be a list of times between the notes in seconds.
624
624
625
625
If the list of times is smaller than the number of gaps between notes, the list is repeated again. If the list of times is longer than the number of gaps between notes, then some of the times are ignored. See examples for more detail.
doc: "Specify synth arg values to be used by any following call to play. Merges the specified values with any previous defaults, rather than replacing them.",
doc: "Specify synth arg values to be used by any following call to play within the specified do/end block. Merges the specified values with any previous defaults, rather than replacing them. After the do/end block has completed, previous defaults(if any) are restored. ",
doc: "Specify new default values to be used by all calls to play within the do/end block. After the do/end block has completed the previous synth defaults (if any) are restored.",
doc: "Given a path to a folder of samples on your filesystem, this method makes any wav|wave|aif|aiff files in that folder available as samples. Consider using use_sample_pack_as when using multiple sample packs.",
doc: "Similar to use_sample_pack except you can assign prefix aliases for samples. This lets you 'namespace' your sounds so that they don't clash, even if they have the same filename.",
doc: "Given a path to a folder of samples on your filesystem, this method makes any wav|wave|aif|aiff files in that folder available as samples inside the given block. Consider using with_sample_pack_as when using multiple sample packs.",
doc: "Similar to with_sample_pack except you can assign prefix aliases for samples. This lets you 'namespace' your sounds so that they don't clash, even if they have the same filename.",
doc: "Returns the current debug setting (true or false).",
1307
1307
args: [],
1308
1308
opts: nil,
@@ -1318,7 +1318,7 @@ def current_arg_checks
1318
1318
end
1319
1319
docname: :current_arg_checks,
1320
1320
introduced: Version.new(2,0,0),
1321
-
summary: "",
1321
+
summary: "Get current arg checking status",
1322
1322
doc: "Returns the current arg checking setting (true or false).",
1323
1323
args: [],
1324
1324
opts: nil,
@@ -1343,7 +1343,7 @@ def set_volume!(vol)
1343
1343
end
1344
1344
docname: :set_volume!,
1345
1345
introduced: Version.new(2,0,0),
1346
-
summary: "",
1346
+
summary: "Set Volume globally",
1347
1347
doc: "Set the main system volume to vol. Accepts a value between 0 and 5 inclusive. Vols greater or smaller than the allowed values are trimmed to keep them within range. Default is 1.",
1348
1348
args: [[:vol,:number]],
1349
1349
opts: nil,
@@ -1381,7 +1381,7 @@ def load_sample(path)
1381
1381
end
1382
1382
docname: :load_sample,
1383
1383
introduced: Version.new(2,0,0),
1384
-
summary: "",
1384
+
summary: "Pre-load sample",
1385
1385
doc: "Given a path to a wav|wave|aif|aiff file, this loads the file and makes it available as a sample. See load_samples for loading multiple samples in one go.",
1386
1386
args: [[:path,:string]],
1387
1387
opts: nil,
@@ -1404,7 +1404,7 @@ def load_samples(*paths)
1404
1404
end
1405
1405
docname: :load_samples,
1406
1406
introduced: Version.new(2,0,0),
1407
-
summary: "",
1407
+
summary: "Pre-load samples",
1408
1408
doc: "Given an array of paths to wav|wave|aif|aiff files, loads them all into memory so that they may be played with via sample with no delay. See load_sample.",
1409
1409
args: [[:paths,:list]],
1410
1410
opts: nil,
@@ -1433,7 +1433,7 @@ def sample_info(path)
1433
1433
end
1434
1434
docname: :sample_info,
1435
1435
introduced: Version.new(2,0,0),
1436
-
summary: "",
1436
+
summary: "Get sample information",
1437
1437
doc: "Alias for the load_sample method. Loads sample if necessary and returns sample information.",
1438
1438
args: [[:path,:string]],
1439
1439
opts: nil,
@@ -1448,7 +1448,7 @@ def sample_buffer(path)
1448
1448
end
1449
1449
docname: :sample_buffer,
1450
1450
introduced: Version.new(2,0,0),
1451
-
summary: "",
1451
+
summary: "Get sample data",
1452
1452
doc: "Alias for the load_sample method. Loads sample if necessary and returns buffer information.",
doc: "Given the name of a loaded sample, or a path to a wav|wave|aif|aiff file this returns the length of time that the sample would play for. It's useful when looping samples to make sure there are no gaps - see the examples. You may pass a rate opt which it will use to scale the returned time to match the duration at that rate.",
doc: "This is the main method for playing back recorded sound files (samples). Sonic Pi comes with lots of great samples included (see the section under help) but you can also load and play wav|wave|aif|aiff files from anywhere on your computer too. The 'rate' parameter affects both the speed and the pitch of the playback. See the examples for details. Check out the use_sample_pack and use_sample_pack_as methods for details on making it easy to work with a whole folder of your own sample files. Note, that on the first trigger of a sample, Sonic Pi has to load the sample which takes some time and may cause timing issues. To preload the samples you wish to work with consider load_sample and load_samples.",
doc: "This returns a Hash of information about the synthesis environment. Mostly used for debugging purposes.",
1575
1575
args: [],
1576
1576
opts: nil,
@@ -1606,7 +1606,7 @@ def note(n, *args)
1606
1606
end
1607
1607
docname: :note,
1608
1608
introduced: Version.new(2,0,0),
1609
-
summary: "",
1609
+
summary: "Describe note",
1610
1610
doc: "Takes a midi note, a symbol (e.g. :C ) or a string (e.g. 'C' ) and resolves it to a midi note. You can also pass an optional :octave parameter to get the midi note for a given octave. Please note - :octave param is overridden if octave is specified in a symbol i.e. :c3",
1611
1611
args: [[:note,:symbol_or_number]],
1612
1612
opts: {:octave=>4},
@@ -1637,7 +1637,7 @@ def note_info(n, *args)
1637
1637
end
1638
1638
docname: :note_info,
1639
1639
introduced: Version.new(2,0,0),
1640
-
summary: "",
1640
+
summary: "Get note info",
1641
1641
doc: "Returns an instance of SonicPi::Note. Please note - :octave param is overridden if octave is specified in a symbol i.e. :c3",
doc: "A helper method that returns an Array of midi note numbers when given a tonic note and a scale type. Also takes an optional :num_octaves parameter (1 octave is the default)",
doc: "A helper method that returns a list of midi note numbers when given a tonic note and a chord type",
1760
1760
args: [[:tonic,:symbol],[:name,:symbol]],
1761
1761
opts: nil,
@@ -1898,7 +1898,7 @@ def control(node, *args)
1898
1898
end
1899
1899
docname: :control,
1900
1900
introduced: Version.new(2,0,0),
1901
-
summary: "",
1901
+
summary: "Control running synth",
1902
1902
doc: "Control a running synth node by passing new parameters to it. A synth node represents a running synth and can be obtained by assigning the return value of a call to play or sample or by specifying a parameter to the do/end block of an FX. You may modify any of the parameters you can set when triggering the synth, sample or FX. See documentation for parameter details.",
1903
1903
args: [[:node,:synth_node]],
1904
1904
opts: {},
@@ -1925,7 +1925,7 @@ def stop(node)
1925
1925
end
1926
1926
docname: :stop,
1927
1927
introduced: Version.new(2,0,0),
1928
-
summary: "",
1928
+
summary: "Stop synth",
1929
1929
doc: "Stop a running synth sound or sample. In order to stop a sound, you need to have stored a reference to it in a variable.",
1930
1930
args: [[:node,:synth_node]],
1931
1931
opts: {},
@@ -1949,7 +1949,7 @@ def sample_names(group)
1949
1949
end
1950
1950
docname: :sample_names,
1951
1951
introduced: Version.new(2,0,0),
1952
-
summary: "",
1952
+
summary: "Get sample names",
1953
1953
doc: "Return a list of sample names for the specified group",
1954
1954
args: [[:group,:symbol]],
1955
1955
opts: nil,
@@ -1964,7 +1964,7 @@ def all_sample_names
1964
1964
end
1965
1965
docname: :all_sample_names,
1966
1966
introduced: Version.new(2,0,0),
1967
-
summary: "",
1967
+
summary: "Get all sample names",
1968
1968
doc: "Return a list of all the sample names available",
1969
1969
args: [],
1970
1970
opts: nil,
@@ -1979,7 +1979,7 @@ def sample_groups
1979
1979
end
1980
1980
docname: :sample_groups,
1981
1981
introduced: Version.new(2,0,0),
1982
-
summary: "",
1982
+
summary: "Get all sample groups",
1983
1983
doc: "Return a list of all the sample groups available",
1984
1984
args: [],
1985
1985
opts: nil,
@@ -1996,7 +1996,7 @@ def load_synthdefs(path)
1996
1996
end
1997
1997
docname: :load_synthdefs,
1998
1998
introduced: Version.new(2,0,0),
1999
-
summary: "",
1999
+
summary: "Load external synthdefs",
2000
2000
doc: "Load all synth designs in the specified directory. This is useful if you wish to use your own SuperCollider synthesiser designs within Sonic Pi. if you wish your synth to seemlessly integrate with the Sonic ",
0 commit comments