[PD] pdmax - broken pipe in macos?

2021-11-06 Thread João Pais

Hello list,

I have a max patch with pd inside through the pd~ object. But I'm 
getting the "broken pipe" error in some cases in a mac, such as:


- in a compiled standalone it usually works

- in the original patch it doesn't

- both patches were made in the same system, with the latest pdmax and 
pd versions were used. I'm not sure anymore which max version or macos 
system was used to compile the standalone, if that's important (it was 
either max 7 or 8).


I don't have access to a mac myself, but the system where it was tested 
was a 11.6, with Max 8. It seems to me that in some systems it works, 
and in other it doesn't - but I don't have enough hard data to prove it.


Best,

Joao




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


Re: [PD] readsf~ help question

2021-11-06 Thread Dan Wilcox

> On Nov 6, 2021, at 12:00 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Hi, I don't really get the optional arguments to the open message (after
> the filename)

Onset is basically where to start playing but counted in samples from the 
beginning. If you know the sample rate of the file, you can calculate the onset 
for a given time, say 1 second in and start paying for there.

The rest are sound file header overrides to force how the format of the file in 
interpreted, ie. you can force readsf~ to play a stereo file in mono for 
instance or if you have some sort of raw output which is missing some encoding 
you can force the format, etc. Those values are similar to the sound filer -raw 
flag values.

> and I don't understand how the mono file input (bell.aif) can
> output 4 channels of audio!

It doesn't... there are 4 output channels from the object but only the first 
shows a change in envelope when you play it. The rest output 0 as the file is 
only mono. This just means the the object is created to play *up to* 4 channel 
files but that of course depends on the files it gets.


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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