Skip to content

Commit 05dc44e

Browse files
committed
added granular timestretch projects
1 parent 683dee0 commit 05dc44e

8 files changed

+7304
-15
lines changed

.DS_Store

0 Bytes
Binary file not shown.

granular-timestretch/castro.aiff

3.11 MB
Binary file not shown.

granular-timestretch/graintest1-phasor-count.maxpat

+1,902
Large diffs are not rendered by default.

granular-timestretch/graintest2-line-example.maxpat

+1,212
Large diffs are not rendered by default.

granular-timestretch/graintest3.maxpat

+3,319
Large diffs are not rendered by default.

granular-timestretch/obama.aiff

6.98 MB
Binary file not shown.

granular-timestretch/phasor-stuff.maxpat

+711
Large diffs are not rendered by default.

granular-timestretch/timestretch5.maxpat

+160-15
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@
12631263
"numoutlets" : 0,
12641264
"patching_rect" : [ 363.193665, 81.0, 53.552277, 20.0 ],
12651265
"presentation" : 1,
1266-
"presentation_rect" : [ 531.658752, 116.061554, 35.552277, 20.0 ],
1266+
"presentation_rect" : [ 503.030212, 116.061554, 35.552277, 20.0 ],
12671267
"text" : "pitch"
12681268
}
12691269

@@ -3018,6 +3018,124 @@
30183018
"digest" : "",
30193019
"tags" : "",
30203020
"boxes" : [ {
3021+
"box" : {
3022+
"fontname" : "Arial",
3023+
"fontsize" : 12.0,
3024+
"frgb" : 0.0,
3025+
"id" : "obj-38",
3026+
"linecount" : 4,
3027+
"maxclass" : "comment",
3028+
"numinlets" : 1,
3029+
"numoutlets" : 0,
3030+
"patching_rect" : [ 313.700134, 483.692627, 150.0, 60.0 ],
3031+
"text" : "note that the window displayed here is at the incoming phasor frequency"
3032+
}
3033+
3034+
}
3035+
, {
3036+
"box" : {
3037+
"fontname" : "Arial",
3038+
"fontsize" : 12.0,
3039+
"id" : "obj-36",
3040+
"maxclass" : "number~",
3041+
"mode" : 2,
3042+
"numinlets" : 2,
3043+
"numoutlets" : 2,
3044+
"outlettype" : [ "signal", "float" ],
3045+
"patching_rect" : [ 370.0, 309.842499, 172.0, 20.0 ],
3046+
"sig" : 0.0
3047+
}
3048+
3049+
}
3050+
, {
3051+
"box" : {
3052+
"fontname" : "Arial",
3053+
"fontsize" : 12.0,
3054+
"frgb" : 0.0,
3055+
"id" : "obj-33",
3056+
"linecount" : 3,
3057+
"maxclass" : "comment",
3058+
"numinlets" : 1,
3059+
"numoutlets" : 0,
3060+
"patching_rect" : [ 167.0, 254.025955, 156.0, 47.0 ],
3061+
"text" : "left inlet is a phasor signal going from 0 to chunk-size at the incoming phasor rate"
3062+
}
3063+
3064+
}
3065+
, {
3066+
"box" : {
3067+
"fontname" : "Arial",
3068+
"fontsize" : 12.0,
3069+
"frgb" : 0.0,
3070+
"id" : "obj-31",
3071+
"linecount" : 3,
3072+
"maxclass" : "comment",
3073+
"numinlets" : 1,
3074+
"numoutlets" : 0,
3075+
"patching_rect" : [ 406.5, 407.095123, 150.0, 47.0 ],
3076+
"text" : "play the chunk - this is essentially pd version of indexing the play~ object"
3077+
}
3078+
3079+
}
3080+
, {
3081+
"box" : {
3082+
"fontname" : "Arial",
3083+
"fontsize" : 12.0,
3084+
"frgb" : 0.0,
3085+
"id" : "obj-28",
3086+
"maxclass" : "comment",
3087+
"numinlets" : 1,
3088+
"numoutlets" : 0,
3089+
"patching_rect" : [ 406.5, 130.003876, 150.0, 20.0 ],
3090+
"text" : "current sample rate"
3091+
}
3092+
3093+
}
3094+
, {
3095+
"box" : {
3096+
"fontname" : "Arial",
3097+
"fontsize" : 12.0,
3098+
"frgb" : 0.0,
3099+
"id" : "obj-26",
3100+
"linecount" : 2,
3101+
"maxclass" : "comment",
3102+
"numinlets" : 1,
3103+
"numoutlets" : 0,
3104+
"patching_rect" : [ 49.0, 7.0, 150.0, 33.0 ],
3105+
"text" : "incoming phasor~ signal that drives grain playback"
3106+
}
3107+
3108+
}
3109+
, {
3110+
"box" : {
3111+
"fontname" : "Arial",
3112+
"fontsize" : 12.0,
3113+
"frgb" : 0.0,
3114+
"id" : "obj-24",
3115+
"maxclass" : "comment",
3116+
"numinlets" : 1,
3117+
"numoutlets" : 0,
3118+
"patching_rect" : [ 460.0, 35.568714, 150.0, 20.0 ],
3119+
"text" : "in seconds"
3120+
}
3121+
3122+
}
3123+
, {
3124+
"box" : {
3125+
"fontname" : "Arial",
3126+
"fontsize" : 12.0,
3127+
"frgb" : 0.0,
3128+
"id" : "obj-21",
3129+
"linecount" : 2,
3130+
"maxclass" : "comment",
3131+
"numinlets" : 1,
3132+
"numoutlets" : 0,
3133+
"patching_rect" : [ 79.0, 326.0, 150.0, 33.0 ],
3134+
"text" : "multiply window by the input signal"
3135+
}
3136+
3137+
}
3138+
, {
30213139
"box" : {
30223140
"fontname" : "Arial",
30233141
"fontsize" : 12.0,
@@ -3026,7 +3144,7 @@
30263144
"numinlets" : 1,
30273145
"numoutlets" : 1,
30283146
"outlettype" : [ "bang" ],
3029-
"patching_rect" : [ 385.0, 66.251709, 60.0, 20.0 ],
3147+
"patching_rect" : [ 450.0, 66.251709, 60.0, 20.0 ],
30303148
"text" : "loadbang"
30313149
}
30323150

@@ -3040,7 +3158,7 @@
30403158
"numinlets" : 1,
30413159
"numoutlets" : 4,
30423160
"outlettype" : [ "int", "float", "int", "int" ],
3043-
"patching_rect" : [ 385.0, 92.0, 63.0, 20.0 ],
3161+
"patching_rect" : [ 450.0, 92.0, 63.0, 20.0 ],
30443162
"text" : "dspstate~"
30453163
}
30463164

@@ -3051,12 +3169,12 @@
30513169
"fontsize" : 12.0,
30523170
"frgb" : 0.0,
30533171
"id" : "obj-19",
3054-
"linecount" : 2,
3172+
"linecount" : 5,
30553173
"maxclass" : "comment",
30563174
"numinlets" : 1,
30573175
"numoutlets" : 0,
3058-
"patching_rect" : [ 305.0, 194.0, 176.0, 33.0 ],
3059-
"text" : "this inlet is the position (offset) into the source-array buffer"
3176+
"patching_rect" : [ 370.0, 194.0, 176.0, 74.0 ],
3177+
"text" : "this inlet is the position (offset) into the source-array buffer - it is constantly moving at a rate set by a speed factor. ie., 1 is normal"
30603178
}
30613179

30623180
}
@@ -3081,7 +3199,7 @@
30813199
"maxclass" : "scope~",
30823200
"numinlets" : 2,
30833201
"numoutlets" : 0,
3084-
"patching_rect" : [ 104.0, 431.692627, 256.0, 69.0 ]
3202+
"patching_rect" : [ 22.0, 483.692627, 256.0, 69.0 ]
30853203
}
30863204

30873205
}
@@ -3095,7 +3213,7 @@
30953213
"numinlets" : 2,
30963214
"numoutlets" : 2,
30973215
"outlettype" : [ "signal", "float" ],
3098-
"patching_rect" : [ 363.0, 161.692627, 85.0, 20.0 ],
3216+
"patching_rect" : [ 428.0, 161.692627, 85.0, 20.0 ],
30993217
"sig" : 0.0
31003218
}
31013219

@@ -3123,7 +3241,7 @@
31233241
"numinlets" : 2,
31243242
"numoutlets" : 1,
31253243
"outlettype" : [ "signal" ],
3126-
"patching_rect" : [ 211.0578, 225.842499, 69.071182, 20.0 ],
3244+
"patching_rect" : [ 276.0578, 309.842499, 69.071182, 20.0 ],
31273245
"text" : "+~"
31283246
}
31293247

@@ -3137,7 +3255,7 @@
31373255
"numinlets" : 2,
31383256
"numoutlets" : 1,
31393257
"outlettype" : [ "signal" ],
3140-
"patching_rect" : [ 211.0578, 99.53125, 69.071182, 20.0 ],
3258+
"patching_rect" : [ 276.0578, 99.53125, 69.071182, 20.0 ],
31413259
"text" : "*~"
31423260
}
31433261

@@ -3193,7 +3311,7 @@
31933311
"numinlets" : 2,
31943312
"numoutlets" : 1,
31953313
"outlettype" : [ "signal" ],
3196-
"patching_rect" : [ 211.0578, 130.003876, 125.142357, 20.0 ],
3314+
"patching_rect" : [ 276.0578, 130.003876, 125.142357, 20.0 ],
31973315
"text" : "*~ 44100"
31983316
}
31993317

@@ -3207,7 +3325,7 @@
32073325
"numinlets" : 0,
32083326
"numoutlets" : 1,
32093327
"outlettype" : [ "" ],
3210-
"patching_rect" : [ 261.128967, 35.568714, 125.142357, 20.0 ],
3328+
"patching_rect" : [ 326.128967, 35.568714, 125.142357, 20.0 ],
32113329
"text" : "r chunk-size"
32123330
}
32133331

@@ -3233,7 +3351,7 @@
32333351
"numinlets" : 1,
32343352
"numoutlets" : 1,
32353353
"outlettype" : [ "signal" ],
3236-
"patching_rect" : [ 211.0578, 255.315109, 125.142357, 32.0 ],
3354+
"patching_rect" : [ 276.0578, 407.095123, 125.142357, 32.0 ],
32373355
"text" : "tabread4~ source-array"
32383356
}
32393357

@@ -3258,7 +3376,7 @@
32583376
"numinlets" : 0,
32593377
"numoutlets" : 1,
32603378
"outlettype" : [ "signal" ],
3261-
"patching_rect" : [ 261.128967, 180.26416, 35.428474, 35.428474 ]
3379+
"patching_rect" : [ 326.128967, 194.0, 35.428474, 35.428474 ]
32623380
}
32633381

32643382
}
@@ -3271,7 +3389,7 @@
32713389
"numinlets" : 1,
32723390
"numoutlets" : 1,
32733391
"outlettype" : [ "signal" ],
3274-
"patching_rect" : [ 261.128967, 66.251709, 69.071182, 20.0 ],
3392+
"patching_rect" : [ 326.128967, 66.251709, 69.071182, 20.0 ],
32753393
"text" : "sig~"
32763394
}
32773395

@@ -3321,6 +3439,15 @@
33213439
"source" : [ "obj-12", 0 ]
33223440
}
33233441

3442+
}
3443+
, {
3444+
"patchline" : {
3445+
"destination" : [ "obj-36", 0 ],
3446+
"disabled" : 0,
3447+
"hidden" : 0,
3448+
"source" : [ "obj-12", 0 ]
3449+
}
3450+
33243451
}
33253452
, {
33263453
"patchline" : {
@@ -4094,6 +4221,24 @@
40944221
"source" : [ "obj-2", 2 ]
40954222
}
40964223

4224+
}
4225+
, {
4226+
"patchline" : {
4227+
"destination" : [ "obj-29", 0 ],
4228+
"disabled" : 0,
4229+
"hidden" : 0,
4230+
"source" : [ "obj-2", 2 ]
4231+
}
4232+
4233+
}
4234+
, {
4235+
"patchline" : {
4236+
"destination" : [ "obj-58", 0 ],
4237+
"disabled" : 0,
4238+
"hidden" : 0,
4239+
"source" : [ "obj-2", 2 ]
4240+
}
4241+
40974242
}
40984243
, {
40994244
"patchline" : {

0 commit comments

Comments
 (0)