RosettaCodeData/Task/Integer-sequence/SuperCollider/integer-sequence.supercollider

4 lines
189 B
Text
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
i = Routine { inf.do { |i| i.yield } }; // return all integers, represented by a 64 bit signed float.
j = { inf.do { i.next.postln; 0.01.wait } }; // this prints them incrementally
j.play;