-
... ; f.isOpen; t = TabFileReader (f); t.read; f.close; ( // write a test file with numbers: f = File ( "TabDelTestNum.sc" , "w" ); (1..10).do { |n| f.write(n.asString ++ Char .tab); }; f.close; ) x = TabFileReader .read( "TabDelTestNum.sc" ).p ...
-
random generator seed Every Thread in sclang has a (pseudo-) random number generator that is responsible for all randomization within this thread. Each random number generator has its own seed (starting point) from which the series of value ...
-
... lculated from higher-level abstractions: \dur, \stretch and \legato. delta: The number of beats until the next event. You can give the delta pattern directly, or the default event prototype can calculate it for you based on other values: du ...
-
SCNumberBox a box for displaying and editing numerical values Inherits from: Object : SCView : SCStaticTextBase See also: SCTextField Some Important Issues Regarding SCNumberBox Whatever is entered into the number box is converted to a Floa ...
-
... Size, envbufnum, overlaps, windowRandRatio, interp, mul, add) numChannels - the number of channels in the soundfile used in bufnum. bufnum - the buffer number of a mono soundfile. pointer - the position in the buffer. The value should be be ...
-
BufFrames current number of frames allocated in the buffer superclass: BufInfoUGenBase returns the current number of allocated frames *kr(bufnum) *ir(bufnum) the .ir method is not the safest choice. Since a buffer can be reallocated at any ...
-
... eReader (f); t.read( true , true ).postcs; f.close; ( // write a test file with numbers: f = File ( "CSVReadTestNum.sc" , "w" ); (1..10).do { |n| f.write(n.asString ++ "," ); }; f.close; ) x = CSVFileReader .read( "CSVReadTestNum.sc" , true ...
-
... The following sections describe the types of literals that can be represented. Numbers An integer is any series of digits optionally preceeded by a minus sign. examples of integers : -13 666 2112 96 A float is one or more decimal digits fo ...
-
... aderTest.sc" , true , true , delimiter: $a).postcs; ( // write a test file with numbers: f = File ( "FileReadTestNum.sc" , "w" ); (1..10).do { |n| f.write(n.asString ++ " " ); }; f.close; ) x = FileReader .read( "FileReadTestNum.sc" ).postc ...
-
CheckBadValues test for infinity, not-a-number, and denormals CheckBadValues.ar(in, id, post) CheckBadValues.kr(in, id, post) This UGen tests for infinity, NaN (not a number), and denormals. If one of these is found, it posts a warning. Its ...