[PD] Sample Grabber (learn from my bad example)

Bradon Webb amodiuslonodium at yahoo.com
Sun Apr 11 21:11:37 CEST 2004


I don't know if this will help any but here is a quick
abstraction I made some time ago.  It has some
simmilar like functions to what I think you are
looking for.  It records sound to an array taken in
through the left inlet.  you need to hit the rec bang
button to capture a sample.  The size can be adjusted
to lengthen or shorten the table.  an auto box can be
checked so to automatically record a new sample to the
table right after the previous one.  the save box can
be checked to save each table as a wav file on your
hard drive.  in order to play the samples back though
you need to have another device for playing them.  The
simplest way is to make a sample reader abstraction
that reads from the same table name of the array
inside the +grabsample abstraction.  I am sorry the
programming is incosistent and is horribly
confusing...


Bradon


--- Patrick Pagano <bigswift at ufl.edu> wrote:
> Hi
> 
> i am trying to devise an appropriate sample grabber
> for pd OSX.
> I would like to grab 10- (5) second samples, save
> them to seperate 
> buffers and be able to play them back.
> i am fine with routing effects etc.. but always have
> a little 
> difficulty with this initial stage.
> Starting Tips anyone???
> 
> 
> 
> Pat
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list

__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: +grabsample.pd
Type: application/octet-stream
Size: 7382 bytes
Desc: +grabsample.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040411/77273a89/attachment.obj>


More information about the Pd-list mailing list