Re: [PD] cut audio files into very litle pieces

2011-06-01 Thread Jack
Hello William,

[list split 1] and [t l] give error: stack overflow. So the whole song
can't be load in [table shuffled].
By replacing this with [list-drip], [list] and [t l] (see patch
attached) it is working fine ;)
++

Jack



Le mardi 31 mai 2011 à 23:22 -0400, William Brent a écrit :
 That's a job for [until], [tabread], and [tabwrite].  It's tedious but
 in the end it's just a lot of copying loops.  I just made the attached
 patch - is that what you want?
 
 William
 
 
 On Tue, May 31, 2011 at 6:06 PM, oskoff lovich noi...@gmail.com wrote:
  Hi list!
 
  some help,  i need to cut audio files into very small pieces: 50-500 ms
 
  and after to create new audio files (adding the small pieces with
  diferent patern)
 
  any idea??
 
  thanks
 
  (i fond a way to do it with SOX, the cut part
sox infile.wav outfile.wav trim 0 0.01 : newfile : restart )
 
  but i would like to do with pd
 
 
  --
  mEtaminaFreeNetRadio  http://metaminafnr.hotglue.me/
 
 http://noconventions.mobi/noish
 
  ___
  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



sf-slicer.pd
Description: application/extension-pd


signature.asc
Description: This is a digitally signed message part
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] cut audio files into very litle pieces

2011-06-01 Thread William Brent
Thanks for mentioning it - looks like I also forgot to connect a bang
to clear [list prepend] in [random-no-replacement], so it'll only work
properly on the first run.  In that subpatch, you can see there's an
unused bang on the [t b b b b f] hanging off the right inlet - just
connect that to the right inlet of the [list prepend] immediately
below and it'll be fixed.

I wanted to avoid any externals or abstractions, and the overflow only
happens with longer files, so I didn't use [list drip].  If you're
using extended though, you could also use [urn] from cyclone for the
random no replacement.



On Wed, Jun 1, 2011 at 5:49 AM, Jack j...@rybn.org wrote:
 Hello William,

 [list split 1] and [t l] give error: stack overflow. So the whole song
 can't be load in [table shuffled].
 By replacing this with [list-drip], [list] and [t l] (see patch
 attached) it is working fine ;)
 ++

 Jack



 Le mardi 31 mai 2011 à 23:22 -0400, William Brent a écrit :
 That's a job for [until], [tabread], and [tabwrite].  It's tedious but
 in the end it's just a lot of copying loops.  I just made the attached
 patch - is that what you want?

 William


 On Tue, May 31, 2011 at 6:06 PM, oskoff lovich noi...@gmail.com wrote:
  Hi list!
 
  some help,  i need to cut audio files into very small pieces: 50-500 ms
 
  and after to create new audio files (adding the small pieces with
  diferent patern)
 
  any idea??
 
  thanks
 
  (i fond a way to do it with SOX, the cut part
    sox infile.wav outfile.wav trim 0 0.01 : newfile : restart )
 
  but i would like to do with pd
 
 
  --
  mEtaminaFreeNetRadio  http://metaminafnr.hotglue.me/
 
 http://noconventions.mobi/noish
 
  ___
  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





-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com

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


Re: [PD] cut audio files into very litle pieces

2011-06-01 Thread oskoff lovich
Hi Willian and Jack,

very thanks for the code and commetns,

i am studing  the patch,

I imagine that the grain dur list  work like that ¿sequencily?
first grain 50ms, second grain 100ms... and at the end start again

and i thinking now how to do the same but with diferents sources,

 this patch is a great starter point

  salut!

oscar

2011/6/1 William Brent william.br...@gmail.com

 Thanks for mentioning it - looks like I also forgot to connect a bang
 to clear [list prepend] in [random-no-replacement], so it'll only work
 properly on the first run.  In that subpatch, you can see there's an
 unused bang on the [t b b b b f] hanging off the right inlet - just
 connect that to the right inlet of the [list prepend] immediately
 below and it'll be fixed.

 I wanted to avoid any externals or abstractions, and the overflow only
 happens with longer files, so I didn't use [list drip].  If you're
 using extended though, you could also use [urn] from cyclone for the
 random no replacement.



 On Wed, Jun 1, 2011 at 5:49 AM, Jack j...@rybn.org wrote:
  Hello William,
 
  [list split 1] and [t l] give error: stack overflow. So the whole song
  can't be load in [table shuffled].
  By replacing this with [list-drip], [list] and [t l] (see patch
  attached) it is working fine ;)
  ++
 
  Jack
 
 
 
  Le mardi 31 mai 2011 à 23:22 -0400, William Brent a écrit :
  That's a job for [until], [tabread], and [tabwrite].  It's tedious but
  in the end it's just a lot of copying loops.  I just made the attached
  patch - is that what you want?
 
  William
 
 
  On Tue, May 31, 2011 at 6:06 PM, oskoff lovich noi...@gmail.com
 wrote:
   Hi list!
  
   some help,  i need to cut audio files into very small pieces: 50-500
 ms
  
   and after to create new audio files (adding the small pieces with
   diferent patern)
  
   any idea??
  
   thanks
  
   (i fond a way to do it with SOX, the cut part
 sox infile.wav outfile.wav trim 0 0.01 : newfile : restart )
  
   but i would like to do with pd
  
  
   --
   mEtaminaFreeNetRadio  http://metaminafnr.hotglue.me/
  
  http://noconventions.mobi/noish
  
   ___
   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
 
 



 --
 William Brent
 www.williambrent.com

 “Great minds flock together”
 Conflations: conversational idiom for the 21st century

 www.conflations.com




-- 
mEtaminaFreeNetRadio  http://metaminafnr.hotglue.me/

http://noconventions.mobi/noish
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] cut audio files into very litle pieces

2011-06-01 Thread William Brent
 I imagine that the grain dur list  work like that ¿sequencily?
 first grain 50ms, second grain 100ms... and at the end start again

The grain duration list is being drawn from randomly at the moment,
but you could go sequentially and loop by using a counter instead of
[random], followed by a [%] object that takes the list length at its
right inlet.  If you need your duration list to be longer, you might
want to switch to using a table to store the values.

Another thing you might want to think about is enveloping and
overlapping the grains if you want to avoid clicks.


Good luck!

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


[PD] cut audio files into very litle pieces

2011-05-31 Thread oskoff lovich
Hi list!

some help,  i need to cut audio files into very small pieces: 50-500 ms

and after to create new audio files (adding the small pieces with
diferent patern)

any idea??

thanks

(i fond a way to do it with SOX, the cut part
   sox infile.wav outfile.wav trim 0 0.01 : newfile : restart )

but i would like to do with pd


-- 
mEtaminaFreeNetRadio  http://metaminafnr.hotglue.me/

http://noconventions.mobi/noish

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


Re: [PD] cut audio files into very litle pieces

2011-05-31 Thread William Brent
That's a job for [until], [tabread], and [tabwrite].  It's tedious but
in the end it's just a lot of copying loops.  I just made the attached
patch - is that what you want?

William


On Tue, May 31, 2011 at 6:06 PM, oskoff lovich noi...@gmail.com wrote:
 Hi list!

 some help,  i need to cut audio files into very small pieces: 50-500 ms

 and after to create new audio files (adding the small pieces with
 diferent patern)

 any idea??

 thanks

 (i fond a way to do it with SOX, the cut part
   sox infile.wav outfile.wav trim 0 0.01 : newfile : restart )

 but i would like to do with pd


 --
 mEtaminaFreeNetRadio  http://metaminafnr.hotglue.me/

http://noconventions.mobi/noish

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




-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com


sf-slicer.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list