How do I see the full contents of a signal and get the value of it at a particular point? I can see some of the values in the post window, but it cuts off and says etc. after the first few.
a = Signal.newClear(512);
a.waveFill({ arg x, old, i; 100 * sin(x)}, 0, 2pi);
mjsyts
September 7, 2023, 7:56pm
2
markpalmer:
a = Signal.newClear(512);
a.waveFill({ arg x, old, i; 100 * sin(x)}, 0, 2pi);
get the value at a particular point: a[index]
or a.at(index)
if you want to see all of it, you could iterate over the signal:
(
a.do{|val, i|
[val, i].postln
}
)
1 Like
There’s also asCompileString
and .postcs
cheers,
eddi
found sounds cut up and thrown high into the air, caught in a basket woven of polynomials in deterministic time, reassembled with many rolls of the dice, and much tender listening care