All times are UTC

 
 



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Save samples (at least their path) with sfplay~ in m4l
PostPosted: Sun Jan 09, 2011 11:24 pm 

Joined: Thu May 05, 2005 5:42 pm
Posts: 408
Hello,
this is basically my question, I could use feedback to confirm that sf objects in general work well in m4l.
Concretely I cannot seem to save my samples with sfplay~, the embed 1 method does not work here and I see that binding to pattr isn't possible either.

thank you for your tips,
toscanini


Top
 Profile  
 
 Post subject: Re: Save samples (at least their path) with sfplay~ in m4l
PostPosted: Mon Jan 10, 2011 9:29 am 

Joined: Tue Jun 15, 2004 6:40 pm
Posts: 14484
Location: Belgium
toscanini wrote:
Hello,
this is basically my question, I could use feedback to confirm that sf objects in general work well in m4l.
Concretely I cannot seem to save my samples with sfplay~, the embed 1 method does not work here and I see that binding to pattr isn't possible either.

thank you for your tips,
toscanini


Pattr should work. We're using it all the time to save strings, so I can't see how it would not store a path.


Top
 Profile  
 
 Post subject: Re: Save samples (at least their path) with sfplay~ in m4l
PostPosted: Mon Jan 10, 2011 9:10 pm 

Joined: Thu May 05, 2005 5:42 pm
Posts: 408
hoffman2k wrote:
Pattr should work. We're using it all the time to save strings, so I can't see how it would not store a path.


Ok. But since I cannot connect the pattr via bindto to the sfplay~ object, I guess you mean to bindto a textedit or something similar, and the textedit should contain all paths with indexes and then to run all those chunks of data as the patch loads, correct?
If there is a method that should be clearly superior over the others, please tell me..

cheers,
toscanini


Top
 Profile  
 
 Post subject: Re: Save samples (at least their path) with sfplay~ in m4l
PostPosted: Mon Jan 10, 2011 10:14 pm 

Joined: Tue Jun 15, 2004 6:40 pm
Posts: 14484
Location: Belgium
toscanini wrote:
hoffman2k wrote:
Pattr should work. We're using it all the time to save strings, so I can't see how it would not store a path.


Ok. But since I cannot connect the pattr via bindto to the sfplay~ object, I guess you mean to bindto a textedit or something similar, and the textedit should contain all paths with indexes and then to run all those chunks of data as the patch loads, correct?
If there is a method that should be clearly superior over the others, please tell me..

cheers,
toscanini


At some point you're going to send the read command along with a path. Send it to M4L.api.SaveString too. That contains a pattr in parameter mode that'll output the last saved string when a set is reloaded.

Make sure you prepend the output of the pattr with the read message.

_________________
Image


Top
 Profile  
 
 Post subject: The "clear" message with no effect on sfplay~
PostPosted: Wed Jan 19, 2011 3:44 pm 

Joined: Thu May 05, 2005 5:42 pm
Posts: 408
Hello,
my project is on hold concerning saving samples and paths for now, mostly because I'd like to avoid redundancy between the various objects that will be needed anyway. Sfplay~ will be needed anyway, so first I'd like to get to know sfplay~'s own editing (cue building) possibilities.


The problem is that I cannot get the "clear" or "clear $1" messages to work. I must be missing something, although the reference seems pretty clear:
Quote:
In left inlet: The word clear with no arguments clears all defined cues. After a clear message is received, only the number 1 will play anything (assuming there's an open file). The word clear followed by one or more cue numbers removes them from the sfplay~ object's cue list.

In my tests, clear has no effect at all. Here is an example, I hope, concise enough. All help most welcome :)


<pre><code>
----------begin_max5_patcher----------
1439.3oc0ZsrbaaCEcs7WAFlMNcTkH.3S2UISZl1EoS2zGyDkwCEIrLiIITI
.cralju8hGjVRVR1PhRvpaHo.ecvAmKtGbo95YCblRuivb.W.9HXvfud1fAp
ljMLn82CbJStKsHgotLmTZYIoh6LTeNN4Ntpc3HPVMcNHAvRJmWPlTgFAXjB
RJWzVZCAT0TNkTCJSpZRJJtGjTkAtNmCl3LulTPSxl3LoBu3lp.j6xY77pYs
ORv42lTjmIeXudo6lWmOaFodhCfSAyKRtGjymT4MRbpzBRRMP71DmTdCssH9
E6ZZSQFnlTRukHuB.sFPqH.1bRZ9U4of+ogzPNm85Qf21vEORPFkv.UTN3Kz
5at37NFnHuhjRapTzPPaihdDSvRI7bZ0kqbEdsWgfMnM7BBWQqtsslmoHS5z
O+iQcufqnU7pjRh5LuoNOo.7VZQlyldU0BlSOZFMxcHHNPt0yyWtyGMxE7ot
6JgmdsfZW5N7hbkWFLPsC4q1E5uzMIQBK+eUHAJO85HPcpEcw7ptdHT112N6
L4lgFp0JILVxLxZZM0fnyFIR35DIxTlT+X32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ag5kKaeUxiQapS6fd22wFr38mQj+2HdH.4iKzk
KcQWmmkQpV9eXPYd1bpvJYKH1xPowXx2.LgrLlPmd7jQzDxpPBaDMAsOlflf
In0vjLU6yxSX6N1gfFfIoIaKxSxRjdpE1gMIt6Q.+niI2SOLIKB4yiIWqhIn
I7DztZbD1TLYQdBZJlP1SiaDl7rKOEeBZKvDLIM7ZQMt4XxhicQlluyhXxj4
Bv10+jIgcn3SNHAsqZxDCcgVEQAFhH6MKP3o2jkPSVvxib7saXR7iuc1+AnD
9+AK
-----------end_max5_patcher-----------
</code></pre>


Top
 Profile  
 
 Post subject: "clear" on sfplay~
PostPosted: Sat Jan 22, 2011 11:55 pm 

Joined: Thu May 05, 2005 5:42 pm
Posts: 408
Hi guys,

I have been looking for samplers and drum machines at maxforlive.com in order to maybe find an example that use sfplay~ but haven't found any. I still struggle to understand why I cannot get the "clear" message to have any effect on sfplay~. I might just be making some mistake but it is also possible that this object works as described under specific conditions that are not clearly elaborated in the help files.

edit.. just came through this:
http://cycling74.com/forums/topic.php?id=30707


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC

 
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group