Forums > MaxMSP

declick

September 16, 2006 | 11:42 am


September 16, 2006 | 12:17 pm

16/09/06, kl. 13:42 +0200 , skrev Jean-Michel DARREMONT:

>
>How to get rid of clicks at begining and end of a sound played by
>sfplay?

Delay the 0 message to sfplay~ till line has reached the end:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 109 133 27 196617 0;
#P newex 109 110 38 196617 del 25;
#P message 261 127 37 196617 $1 25;
#P newex 109 85 32 196617 sel 0;
#P toggle 153 34 15 0;
#P flonum 203 54 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 61 52 31 196617 open;
#N sfplay~ 1 120960 0 ;
#P newobj 153 162 60 196617 sfplay~;
#P message 153 54 43 196617 loop $1;
#P toggle 109 52 15 0;
#P message 223 127 37 196617 $1 25;
#P newex 184 200 41 196617 *~ 1.;
#P newex 132 200 41 196617 *~ 1.;
#P newex 223 162 32 196617 line~;
#P user ezdac~ 143 250 187 283 0;
#P newex 261 162 32 196617 line~;
#P connect 6 0 12 0;
#P connect 6 0 5 0;
#P connect 6 0 13 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 12 1 8 0;
#P connect 15 0 8 0;
#P connect 13 0 0 0;
#P connect 5 0 2 0;
#P connect 0 0 4 1;
#P connect 10 0 8 1;
#P connect 8 0 3 0;
#P connect 8 0 4 0;
#P connect 4 0 1 1;
#P connect 2 0 3 1;
#P connect 7 0 8 0;
#P fasten 9 0 8 0 66 161 158 161;
#P connect 11 0 7 0;
#P connect 3 0 1 0;
#P window clipboard copycount 16;

Cheers,
Jakob

————————————-
————————————————-
‘Kvarnen’: open call for works, autumn 2006 -> http://ssshhhhh.dk/kvarnen/
————————————-
————————————————-


September 16, 2006 | 12:17 pm

>How to get rid of clicks at begining and end of a sound played by sfplay?
>
>I want to be able to start and/or stop the file at any point.
>I guess the solution is quite simple but I can’t find anything that
>works nor anything in the docs.
>
>Basically here is what I’ve found but it doesn’t work:
>

I was going to tell you to use a quick ramp (line~)

now it should be ok

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 44 251 14 196617 0;
#P newex 41 226 38 196617 del 11;
#P message 64 204 14 196617 1;
#P newex 41 173 41 196617 sel 0 1;
#P toggle 152 190 15 0;
#P flonum 202 208 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 105 132 31 196617 open;
#N sfplay~ 1 120960 0 ;
#P newobj 152 236 60 196617 sfplay~;
#P message 152 208 43 196617 loop $1;
#P toggle 25 153 15 0;
#P message 202 284 37 196617 $1 10;
#P newex 247 309 41 196617 line~ 0;
#P newex 178 358 27 196617 *~;
#P newex 126 358 27 196617 *~;
#P newex 185 310 41 196617 line~ 0;
#P user ezdac~ 137 408 181 441 0;
#P connect 15 0 8 0;
#P connect 14 0 15 0;
#P connect 12 0 14 0;
#P connect 13 0 8 0;
#P connect 12 1 13 0;
#P connect 6 0 12 0;
#P fasten 6 0 5 0 30 277 207 277;
#P connect 8 0 2 0;
#P connect 8 0 3 0;
#P connect 5 0 1 0;
#P connect 5 0 4 0;
#P connect 4 0 3 1;
#P connect 1 0 2 1;
#P connect 3 0 0 1;
#P connect 2 0 0 0;
#P connect 9 0 8 0;
#P connect 7 0 8 0;
#P connect 10 0 8 1;
#P connect 11 0 7 0;
#P window clipboard copycount 16;

best

kasper

Kasper T. Toeplitz
noise, composition, bass, computer

http://www.sleazeArt.com


September 16, 2006 | 12:21 pm

>16/09/06, kl. 13:42 +0200 , skrev Jean-Michel DARREMONT:
>
>>
>>How to get rid of clicks at begining and end of a sound played by
>>sfplay?
>
>Delay the 0 message to sfplay~ till line has reached the end:

ok, you were a little faster (or have a better connection??)

kasper


September 16, 2006 | 3:47 pm


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