On 2017-03-07 08:45, Scott R. Looney wrote:
the issue seems to be involving audio data arrays and [soundfiler]. mainly it looks like adding a read command creates some kind of error, and i think it's PD based. might be a bug, but not sure yet.
the error happens in the attached patch in Unity using libpd4Unity with any local sound file. maybe the naming is off? regardless here's what prints:
error: array: couldn't find template pd-_float_array error: #A: no such object error: sample: no such table
this looks like a problem with using an array directly on the patch (as opposed to using [table]), probably in conjunction with stored samples in the patch (as opposed to reading them with [soundfiler]).
i suggest to replace the array with a [table sample] object (since this doesn't allow to to store values in-patch, it should solve both issues), in combination with [soundfiler] to read the actual data (which you seem to do anyhow)
fgamsdr IOhannes