logo       

Re: .aiff wrapping?: msg#00255

audio.supercollider.devel

Subject: Re: .aiff wrapping?


On 27 Aug 2004, at 00:45, Lance Putnam wrote:

Quoting Scott Wilson <sdwilson-KaPM4R2U43T2fBVCVOL8/A@xxxxxxxxxxxxxxxx>:

Indeed. Try this:

{ SinOsc.ar(200, 0, 1.2) }.scope

S.


Okay, now try recording it and playing it back in the Finder preview pane. The
scope doesn't necessarily show what gets recorded.

Yes but this does:

{ SinOsc.ar(200, 0, 1.2) }.play;
s.prepareForRecord("foo");
s.record; SystemClock.sched(1, {s.stopRecording;});

f = SoundFile.new;
f.openRead("foo");
a = FloatArray.newClear(f.numFrames);
f.readData(a);
a.maxItem;
a.minItem;

f.close;

On my machine this hasn't clipped. When I look at this in Spark it's not clipped either (once I zoomed out vertical!) It does sound buzzier in the finder and QT though. I suspect this has to do with how QT deals with out of range floats. Can you reproduce this with an in range signal?

S.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise