Hi all, If you activate the 'save contents' tick in an array, it supposed to save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
Yes but if I recall correctly clicking the checkbox doesn't automatically save the patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an array, it supposed to save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ok, but if you save the patch after you've clicked on 'save contents' in your array, shouldn't it save the patch with the contents in the array?
On Mon, Oct 15, 2012 at 11:20 PM, Jonathan Wilkes jancsika@yahoo.comwrote:
Yes but if I recall correctly clicking the checkbox doesn't automatically save the patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an array, it supposed to save
whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Yes.
.hc
On Oct 15, 2012, at 4:23 PM, Alexandros Drymonitis wrote:
Ok, but if you save the patch after you've clicked on 'save contents' in your array, shouldn't it save the patch with the contents in the array?
On Mon, Oct 15, 2012 at 11:20 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
Yes but if I recall correctly clicking the checkbox doesn't automatically save the patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an array, it supposed to save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
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
Yes it should save the array contents with the patch.
What version of Pd and what operating system?
Also-- you can attach small patches to your message so other people can inspect it. But if you have an array, usually you want to make sure that you _don't_ save
save the contents with the patch. Otherwise your patch can become very large.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:23 PM Subject: Re: [PD] 'save contents' in an array
Ok, but if you save the patch after you've clicked on 'save contents' in your array, shouldn't it save the patch with the contents in the array?
On Mon, Oct 15, 2012 at 11:20 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
Yes but if I recall correctly clicking the checkbox doesn't automatically save the patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an array, it supposed to save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Yes, I'm aware of all this saving contents issues. What I did was clicking on 'save contents' and the load some sound and I was getting this message: warning: array array1: clearing save-in-patch flag
But loading the sound first and then clicking on 'save contents' and then saving the patch works. I guess I was a bit stressed out when I was trying to do this and couldn't really think properly.
On Tue, Oct 16, 2012 at 2:04 AM, Jonathan Wilkes jancsika@yahoo.com wrote:
Yes it should save the array contents with the patch.
What version of Pd and what operating system?
Also-- you can attach small patches to your message so other people can inspect it. But if you have an array, usually you want to make sure that you _don't_ save
save the contents with the patch. Otherwise your patch can become very large.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:23 PM Subject: Re: [PD] 'save contents' in an array
Ok, but if you save the patch after you've clicked on 'save contents' in
your array, shouldn't it save the patch with the contents in the array?
On Mon, Oct 15, 2012 at 11:20 PM, Jonathan Wilkes jancsika@yahoo.com
wrote:
Yes but if I recall correctly clicking the checkbox doesn't
automatically save the
patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an array, it supposed to
save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-16 08:55, Alexandros Drymonitis wrote:
Yes, I'm aware of all this saving contents issues. What I did was clicking on 'save contents' and the load some sound and I was getting this message: warning: array array1: clearing save-in-patch flag
But loading the sound first and then clicking on 'save contents' and then saving the patch works. I guess I was a bit stressed out when I was trying to do this and couldn't really think properly.
aye, that's a sanity check on Pd's side: if you load a soundfile into a table, it will disable the save-in-patch flag, in order to prevent your half-an-hour master-mix to be stored within the patch. Pd's way to array values in-patch is _very_ inefficient, compared to a simple soundfile.
fmasdr IOhannes
Ah, I see:
When you load a sound using [soundfiler] (which I assume is what you're doing) Pd is trying to keep you from accidentally saving an enormous array with the patch. I suppose the logic it uses is based on the notion that a) a _default_ "Put" menu array is very small (only 100 elements), b) "save contents with patch" is checked by default, and c) anyone wanting to actually save array data with a patch is going to pick an array size and stick with it. Thus in d_soundfile.c you get this logic:
status of the "save contents" checkbutton.
assumes that the "save contents" was checked simply because it's the default and not because the user wanted it checked, and finally turns it off and gives you a warning.
It has certainly kept me from saving unwanted array state with a patch. But as you've experienced, that behavior doesn't make much sense if you actually want to save array data and aren't sticking with a specific size.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Tuesday, October 16, 2012 2:55 AM Subject: Re: [PD] 'save contents' in an array
Yes, I'm aware of all this saving contents issues. What I did was clicking on 'save contents' and the load some sound and I was getting this message: warning: array array1: clearing save-in-patch flag
But loading the sound first and then clicking on 'save contents' and then saving the patch works. I guess I was a bit stressed out when I was trying to do this and couldn't really think properly.
On Tue, Oct 16, 2012 at 2:04 AM, Jonathan Wilkes jancsika@yahoo.com wrote:
Yes it should save the array contents with the patch.
What version of Pd and what operating system?
Also-- you can attach small patches to your message so other people can inspect it. But if you have an array, usually you want to make sure that you _don't_ save
save the contents with the patch. Otherwise your patch can become very large.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:23 PM Subject: Re: [PD] 'save contents' in an array
Ok, but if you save the patch after you've clicked on 'save contents' in your array, shouldn't it save the patch with the contents in the array?
On Mon, Oct 15, 2012 at 11:20 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
Yes but if I recall correctly clicking the checkbox doesn't automatically save the patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an array, it supposed to save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ok, got it. Thanks.
On Tue, Oct 16, 2012 at 10:37 AM, Jonathan Wilkes jancsika@yahoo.comwrote:
Ah, I see:
When you load a sound using [soundfiler] (which I assume is what you're doing) Pd is trying to keep you from accidentally saving an enormous array with the patch. I suppose the logic it uses is based on the notion that a) a _default_ "Put" menu array is very small (only 100 elements), b) "save contents with patch" is checked by default, and c) anyone wanting to actually save array data with a patch is going to pick an array size and stick with it. Thus in d_soundfile.c you get this logic:
- if the soundfile loaded is the exact same size as the array, it won't
change the status of the "save contents" checkbutton.
- if the soundfile is a different size than the array then it resizes the
array, assumes that the "save contents" was checked simply because it's the default and not because the user wanted it checked, and finally turns it off and gives you a warning.
It has certainly kept me from saving unwanted array state with a patch. But as you've experienced, that behavior doesn't make much sense if you actually want to save array data and aren't sticking with a specific size.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Tuesday, October 16, 2012 2:55 AM Subject: Re: [PD] 'save contents' in an array
Yes, I'm aware of all this saving contents issues. What I did was
clicking on 'save contents' and the load some sound and I was getting this message:
warning: array array1: clearing save-in-patch flag
But loading the sound first and then clicking on 'save contents' and then
saving the patch works. I guess I was a bit stressed out when I was trying to do this and couldn't really think properly.
On Tue, Oct 16, 2012 at 2:04 AM, Jonathan Wilkes jancsika@yahoo.com
wrote:
Yes it should save the array contents with the patch.
What version of Pd and what operating system?
Also-- you can attach small patches to your message so other people can inspect it. But if you have an array, usually you want to make sure that you _don't_ save
save the contents with the patch. Otherwise your patch can become very large.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:23 PM Subject: Re: [PD] 'save contents' in an array
Ok, but if you save the patch after you've clicked on 'save contents'
in your array, shouldn't it save the patch with the contents in the array?
On Mon, Oct 15, 2012 at 11:20 PM, Jonathan Wilkes jancsika@yahoo.com
wrote:
Yes but if I recall correctly clicking the checkbox doesn't
automatically save the
patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an array, it supposed to
save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Alexandros Drymonitis adrcki@gmail.com Cc: PD-list pd-list@iem.at Sent: Tuesday, October 16, 2012 3:37 AM Subject: Re: [PD] 'save contents' in an array
[...]
It has certainly kept me from saving unwanted array state with a patch. But as you've experienced, that behavior doesn't make much sense if you actually want to save array data and aren't sticking with a specific size.
... _and_ you're resizing by reading a recording using [soundfile]. If you just resize by sending messages to an array Pd won't coddle you.
-Jonathan
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Tuesday, October 16, 2012 2:55 AM Subject: Re: [PD] 'save contents' in an array
Yes, I'm aware of all this saving contents issues. What I did was
clicking on 'save contents' and the load some sound and I was getting this message:
warning: array array1: clearing save-in-patch flag
But loading the sound first and then clicking on 'save contents' and
then saving the patch works. I guess I was a bit stressed out when I was trying to do this and couldn't really think properly.
On Tue, Oct 16, 2012 at 2:04 AM, Jonathan Wilkes jancsika@yahoo.com
wrote:
Yes it should save the array contents with the patch.
What version of Pd and what operating system?
Also-- you can attach small patches to your message so other people can inspect it. But if you have an array, usually you want to make sure that you _don't_ save
save the contents with the patch. Otherwise your patch can become very large.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:23 PM Subject: Re: [PD] 'save contents' in an array
Ok, but if you save the patch after you've clicked on 'save
contents' in your array, shouldn't it save the patch with the contents in the array?
On Mon, Oct 15, 2012 at 11:20 PM, Jonathan Wilkes
jancsika@yahoo.com wrote:
Yes but if I recall correctly clicking the checkbox doesn't
automatically save the
patch.
-Jonathan
From: Alexandros Drymonitis adrcki@gmail.com To: PD-list pd-list@iem.at Sent: Monday, October 15, 2012 4:15 PM Subject: [PD] 'save contents' in an array
Hi all, If you activate the 'save contents' tick in an
array, it supposed to save whatever you save in it, so next time you open the patch, the arryay's contents will be there, right? I've made a patch but this really won't work. Any ideas why?
Thanks
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-15 22:23, Alexandros Drymonitis wrote:
Ok, but if you save the patch after you've clicked on 'save contents' in your array, shouldn't it save the patch with the contents in the array?
just enabling "save contents" is not enough. you also have to confirm that you really want to save, by clicking on one of the "OK" or "apply" buttons in the array dialog.
only after that, Pd is aware that it should save the contents of the array within the patch, the next time the patch is saved.
fgmasdr IOhannes
So simply hitting return won't do the job?
On Tue, Oct 16, 2012 at 10:04 AM, IOhannes m zmoelnig zmoelnig@iem.atwrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-15 22:23, Alexandros Drymonitis wrote:
Ok, but if you save the patch after you've clicked on 'save contents' in your array, shouldn't it save the patch with the contents in the array?
just enabling "save contents" is not enough. you also have to confirm that you really want to save, by clicking on one of the "OK" or "apply" buttons in the array dialog.
only after that, Pd is aware that it should save the contents of the array within the patch, the next time the patch is saved.
fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlB9BuQACgkQkX2Xpv6ydvQmGQCfcvIYbymJjIXlZQxW5Awr7ugb M0oAn10K8iMQibtfXK4aIdQhLJwU+I1S =cgpg -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-16 09:11, Alexandros Drymonitis wrote:
So simply hitting return won't do the job?
oh, simply hitting return should be the same as clicking "OK".
fgmasdr IOhannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-10-16 09:13, IOhannes m zmoelnig wrote:
On 2012-10-16 09:11, Alexandros Drymonitis wrote:
So simply hitting return won't do the job?
oh, simply hitting return should be the same as clicking "OK".
i was trying to rule out the case, where you would open up the dialog, click the "save-in-patch" and then immediately after that you would save the patch (leaving the array-dialog open and alone).
fgamsdr IOhannes