beginner question, writing sound files

Apr 5, 2006 at 10:31pm

beginner question, writing sound files

hi, i am still pretty new to max/msp, and i’m trying to figure out the best way to write short sound files (maybe 60ms or so) in real-time from audio input. i’ve looked at slice~ and recycle~, but haven’t been able to figure out how to use either for what i want to do. at some point i want to be able to add descriptor information to each file that can be searched.

is it better to actually create individual short files that are tagged in some way or to create one large, ever-growing file that can be searched and accessed as it is being created? can anyone point me to examples of patches that do this in a straightforward way or that use either of the objects mentioned above?

i realize i may be getting in over my head, but any help would be appreciated.

thanks,
bradley

#25251
Apr 6, 2006 at 11:01am

Hello Bradley
you want to record short Audiofiles??
Try the sfrecord module and tell them how long you want to record
thats it
greetz
am.syn

#74153
Apr 6, 2006 at 2:08pm

it is not simply that i want to record short sound files, i want (actually, need) to continually record incoming sound into short files, creating a database in real time. and the sounds need to be back-to-back, so to speak. i need to do the same thing to larger, prerecorded sound files. it seems like something that an object like slice~ is designed for, i just haven’t been able to figure out how to implement it. has anyone used this object before for this kind of thing?

#74154
Apr 6, 2006 at 9:37pm

You could record directly to a buffer~, save the sample ranges of
each “sound file” to a coll or a table and then later actually write
them out.
Alternatively, you could store the coll and the buffer contents to
separate files and load them later to use as a database.

_Mark

#74155
Apr 7, 2006 at 7:29am

Its better to record into one single buffer~ and play~ it. Just deal
with pointers to parts of it. Keep your info about the pointers for
example in a coll. You can later save the info and the sound to disc.

If you didn’t get the meaning of some of the words, look them up in the
reference manuals and the tutorials and the corresponding help files.

As it seems you want to do some granular techniques (just guessing
because of the size): Look into anything connected to granular synthesis
easy to find at http://www.maxobjects.com/

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09

#74156

You must be logged in to reply to this topic.