Re: [PD] Is Pd clip the audio output?

2017-10-19 Thread Claude Heiland-Allen
On 19/10/17 15:56, Christof Ressi wrote:
> -1 to 1 is the maximum range for floating point audio samples. there's 
> nothing else you can do than clipping if you exceed that range.

A simple test on Linux with JACK shows that Pd doesn't clip audio that
exceeds -1 to 1:

https://mathr.co.uk/tmp/jack-no-clip.png screenshot

Other API may be different, and the driver may clip (or do other
dynamics processing) before sending to the hardware.

>> Von: "Nicolas Danet" 
>> In the "A02.amplitude.pd" example it is claimed that:
>>
>> "Amplitudes of audio signals can have any reasonable range, but when you 
>> output a signal via the dac~ object, the samples should range between -1 and 
>> +1. Values out of that range will be clipped."
>>
>> Is that still true in current version (Pd-0.48-0)?
I tested with a less current version:

$ pd -version
Pd-0.47.1 ("") compiled for Debian (0.47.1-3) on 2016/11/28 at 20:56:10 UTC


Claude
-- 
https://mathr.co.uk

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


Re: [PD] Is Pd clip the audio output?

2017-10-19 Thread Christof Ressi
-1 to 1 is the maximum range for floating point audio samples. there's nothing 
else you can do than clipping if you exceed that range.

> Gesendet: Donnerstag, 19. Oktober 2017 um 15:23 Uhr
> Von: "Nicolas Danet" <nicolas.da...@free.fr>
> An: pd-list@lists.iem.at
> Betreff: [PD] Is Pd clip the audio output?
>
> Hello, 
> 
> In the "A02.amplitude.pd" example it is claimed that:
> 
> "Amplitudes of audio signals can have any reasonable range, but when you 
> output a signal via the dac~ object, the samples should range between -1 and 
> +1. Values out of that range will be clipped."
> 
> Is that still true in current version (Pd-0.48-0)?
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 

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


[PD] Is Pd clip the audio output?

2017-10-19 Thread Nicolas Danet
Hello, 

In the "A02.amplitude.pd" example it is claimed that:

"Amplitudes of audio signals can have any reasonable range, but when you output 
a signal via the dac~ object, the samples should range between -1 and +1. 
Values out of that range will be clipped."

Is that still true in current version (Pd-0.48-0)?

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