When using the internal speakers on a Macbook a limiter is put into the CoreAudio chain.  A 3rd party hardware driver won't have this though.

Since Rich says he can hear harmonics the sine wave is being clipped so things are working as expected.


On Sun, Sep 11, 2011 at 1:57 AM, Miller Puckette <msp@ucsd.edu> wrote:
Hi all --

I assume this is happening on a Macintosh -- on that platform, Pd sends
floating point straight to the Mac audio system.  Rumor has it that the
Mac might compress and/or equalize the signal on its way out, so who
knows what you're actually getting.  But anyway, (and probably contrary to
Pd's documentation) audio isn't automatically clipped on Pd's output on
Mac although it is on Linux and Windows whose audio systems are explicitly
fixed point (and probably not messed with by hte system).

cheers
Miller

On Sun, Sep 11, 2011 at 01:49:52AM -0400, Mathieu Bouchard wrote:
> On Sun, 11 Sep 2011, Rich E wrote:
>
> >Does anyone know why this doesn't clip?:
> >[osc~ 200]
> >|
> >[*~ 1.5]
> >|
> >[dac~]
> >
> >I'm trying this using pd 0.43 and the audio still sounds good
> >(although some extra harmonics can be heard), despite the phases
> >being in the range of [-1.5, 1.5]... ?
>
> No, you mean the amplitude is 1.5. You're not doing anything about
> the phase (and anyway, it's relative, so you can only hear phase
> difference, not phase).
>
> If you hear extra harmonics, then it has to be already clipping.
> What makes you think that it isn't ?
>
>  _______________________________________________________________________
> | Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC

> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list