Forums > MaxMSP

New to MaxMSP (teething problems!)

July 8, 2009 | 3:20 pm

Dear all,

I’m trying to get to grips with MaxMSP, having some experience using Pure Data (pd). However, I’m finding when I load sounds into a patch (e.g. wav files) from my Mac Book Pro hard drive they seem to be a bit temperamental. Sometimes they play, sometimes they play for a bit then stop working, sometimes they don’t play at all. Should sound files be located in a particular folder (like in pd where you place the sound file in the same folder your patch is saved)?

I’m attempting to alter the tempo and the intensity/amplitude of a spoken speech file, in order to simulate emotional changes in the voice. For instance, when a voice is angry, it becomes faster in tempo and more intense. Any ideas how I may achieve this? I was thinking of possibly using a number of amplitude envelopes and attempt to link them with the rate the speech is played…

Any help would be greatly appreciated.

Many thanks,

Mr b

July 8, 2009 | 3:28 pm

What are you using to play the files?

July 8, 2009 | 3:33 pm

been using "sfplay" (which works ok if i locate the file through the inspector, but I have to do this everytime I open the patch up) and "buffer" (which causes the most problems) to send to "groove" or "play"…

July 8, 2009 | 4:29 pm

The files can be anywhere on your drive, but you have to tell max where to look for such files. Look at "Options >> File Preferences" for adding folders to your search path. Lots of info on-line and in the docs about this.

Also, wrt sfplay~, do a search for "buffer size" and check out the help file for a discussion on buffer size in sfplay~ (different than the buffer~ object)…this is how much of the sound file the object reads ahead of play "head". If sfplay can’t stay ahead of you during playback, especially if you are increasing the speed, it will simply stop. Larger buffer sizes will help with this. Other needs for larger buffer sizes relate to slower harddrives, CPU busy doing other things, etc. etc.

wrt buffer~ issues you are having you are going to have to be more specific and perhaps offer up a patch that is giving you problems for better help here.


July 8, 2009 | 6:11 pm

great got things working at last! Thanks David.

ps how do i hide wires (from messages to object boxes)?

July 8, 2009 | 6:27 pm
mrb wrote on Wed, 08 July 2009 11:11
ps how do i hide wires (from messages to object boxes)?

Select the patch cord and choose "Hide on Lock" from the Object menu (command/control K)

Viewing 6 posts - 1 through 6 (of 6 total)