Forums > MaxMSP

bpfunction editor, but with curves?

August 22, 2007 | 9:39 pm

is there any object like function, where the user can input data points and max will interpolate between them, but ALSO where there is curve drawing functionality?

for example, in the program reaktor there is a breakpoint function editor where between every breakpoint there is a midpoint which can be dragged in order to shape the line/curve between the breakpoints.

thank, any info would be much appreciated


August 22, 2007 | 11:09 pm

or in photoshop there are nice curve drawing tools. In Cubase there are decent curve, sinewave, etc. drawing tools too.

I’m thinking of something like this. How can i make this happen in Max/MSP?

Does Jitter offer anything more like this than what’s available in Max/MSP?


August 22, 2007 | 11:54 pm

Max Planck skrev:
> or in photoshop there are nice curve drawing tools. In Cubase there are decent curve, sinewave, etc. drawing tools too.
>
> I’m thinking of something like this. How can i make this happen in Max/MSP?
>
> Does Jitter offer anything more like this than what’s available in Max/MSP?
>
Have you checked out [techno~] ?



jdh
August 23, 2007 | 12:01 am

Hi Max, depending on the number of points you have in you breakpoint, maybe you could implement jasch’s Bezier object to interpolate between points. hope this helps,

cheers
j


August 23, 2007 | 4:16 am

Believe me, I’ve been wishing for the same thing. If the lines in-between breakpoints on function had little dots to drag the curve (for curve~), it would be fantastic. I’ve been wanted those in Max ever since I first saw them in Native Instruments Absynth.


August 23, 2007 | 11:18 am

techno~ is sort of like what i want, but the curve drawing is too limited (you don’t have enough control of the curve to be able to draw every possible curve, as far as I can tell).

As for using a curve generating function to interpolate between two points: I don’t think it would work too well as far as i can tell, because this interpolation would not be displayed graphically. Although, I could route the output of the curve generating function into a GUI function editor, this would give me a graphic display.

But this just seems like such an overly complicated way to do it… aren’t there any GUI objects that allow curve drawing with the ease, simplicity, and power of, for example, photoshop’s curve drawing tools?


August 23, 2007 | 12:48 pm

yeah, i’ve been wishing for this, as well. and techno is too fiddly for me. every time i try using it, i get frustrated. integrating curves into function would be a nice start.


August 23, 2007 | 2:43 pm

hi,
as jdh said, you can use [bspline] see http://www.jasch.ch
and here is a small exemple to begin with :

peace

a

max v2;
#N vpatcher 223 29 638 412;
#P origin -101 -623;
#P window setfont "Sans Serif" 9.;
#P newex 163 25 61 9109513 loadmess 20;
#P newex 104 337 69 9109513 pvar function2;
#B color 6;
#P newex 177 238 69 9109513 pvar function1;
#B color 6;
#P newex 104 188 32 9109513 t l 0.;
#P toggle 339 139 16 0;
#P newex 146 213 73 9109513 t 12 dump clear;
#P number 163 167 29 9 1 50 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[6];
#P newex 104 313 44 9109513 zl slice 2;
#P user function 197 50 335 182 0 0 1 0;
#X frgb 190 190 190;
#X brgb 66 66 66;
#X rgb2 0 255 255;
#X rgb3 255 255 255;
#X rgb4 0 255 255;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 0.044101 0.133795 0;
#X add 0.089522 0.247461 0;
#X add 0.136262 0.340997 0;
#X add 0.18432 0.414404 0;
#X add 0.233698 0.467682 0;
#X add 0.284395 0.500831 0;
#X add 0.336411 0.51385 0;
#X add 0.389746 0.506741 0;
#X add 0.4444 0.479501 0;
#X add 0.500198 0.437396 0;
#X add 0.556083 0.412004 0;
#X add 0.611881 0.408587 0;
#X add 0.66759 0.427147 0;
#X add 0.723212 0.467682 0;
#X add 0.778745 0.530194 0;
#X add 0.834191 0.614681 0;
#X add 0.889548 0.721145 0;
#X add 0.944818 0.849585 0;
#X add 1. 1. 0;
#X domain 1.;
#X range 0. 1.;
#X done;
#P objectname function2;
#P newex 104 213 32 9109513 zl join;
#B color 5;
#P newex 104 238 52 9109513 zl group 12;
#P user function 20 50 158 182 0 1 1 0;
#X frgb 255 107 107;
#X brgb 66 66 66;
#X rgb2 0 255 255;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 0.206349 0.683333 0;
#X add 0.738095 0.233333 0;
#X add 1. 1. 0;
#X domain 1.;
#X range 0. 1.;
#X done;
#P objectname function1;
#P message 120 264 45 9109513 steps $1;
#P newex 104 289 39 9109513 bspline;
#N vpatcher 15 55 205 277;
#P outlet 42 182 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 91 50 45 9109513 loadbang;
#P newex 24 109 28 9109513 gate;
#P newex 42 50 45 9109513 metro 50;
#P newex 42 155 24 9109513 gate;
#P toggle 42 137 15 0;
#P button 56 137 15 0;
#P newex 42 78 66 9109513 mousestate;
#B color 5;
#P inlet 24 89 15 0;
#P connect 0 0 6 0;
#P fasten 6 0 5 0 29 138 22 138 22 29 47 29;
#P connect 7 0 1 0;
#P connect 5 0 1 0;
#P connect 1 0 6 1;
#P fasten 6 0 3 0 29 133 47 133;
#P connect 3 0 4 0;
#P connect 4 0 8 0;
#P connect 1 2 2 0;
#P connect 1 1 2 0;
#P connect 2 0 4 1;
#P pop;
#P newobj 339 162 30 9109513 p poll;
#P connect 3 2 11 0;
#P connect 11 0 5 0;
#P connect 5 0 4 0;
#P fasten 2 0 1 0 125 284 109 284;
#P connect 4 0 1 0;
#P connect 1 0 7 0;
#P connect 7 0 13 0;
#P fasten 9 2 13 0 213 334 109 334;
#P fasten 8 0 2 0 168 261 125 261;
#P connect 11 1 5 1;
#P fasten 8 0 9 0 168 208 151 208;
#P connect 3 3 9 0;
#P fasten 0 0 9 0 344 208 151 208;
#P connect 9 0 4 1;
#P connect 14 0 8 0;
#P connect 9 1 12 0;
#P connect 10 0 0 0;
#P pop;


August 23, 2007 | 4:36 pm

Thank you very much for that, dGarden.


August 24, 2007 | 8:54 am

thanks dGarden!

it’s too bad [bspline] doesn’t have a better GUI. If I knew more about Max I could probably make one, but since I don’t it would take me a long time.

I’m surprised that there isn’t something like this included with Max/MSP… curve drawing tools seem pretty basic and broadly useful.

If anyone has curve drawing tools with a better GUI, would you please share them with us?



REC
August 26, 2007 | 2:00 pm

can anyone explain why it is that when more than 4 break points are added the curve function window begins to get shorter and cuts off the last part of the function curve. try putting more break points with clickadd $1 to see what i mean.. just curious.

thanks matt


August 26, 2007 | 4:09 pm

Does this new one do what you want ??

max v2;
#N vpatcher 236 44 666 426;
#P origin -101 -623;
#P window setfont "Sans Serif" 9.;
#P newex 13 176 64 9109513 expr ($i1/2)*3;
#P newex 78 176 29 9109513 zl len;
#B color 5;
#P newex 120 328 69 9109513 pvar function2;
#B color 6;
#P newex 193 229 69 9109513 pvar function1;
#B color 6;
#P newex 120 176 32 9109513 t l 0.;
#P toggle 355 127 16 0;
#P newex 162 201 105 9109513 t 12 dump clear b;
#P number 179 155 29 9 1 50 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[6];
#P newex 120 304 44 9109513 zl slice 2;
#P user function 213 38 351 170 0 0 1 0;
#X frgb 190 190 190;
#X brgb 66 66 66;
#X rgb2 0 255 255;
#X rgb3 255 255 255;
#X rgb4 0 255 255;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 0.007195 0.177278 0;
#X add 0.017576 0.324798 0;
#X add 0.031142 0.442561 0;
#X add 0.047894 0.530565 0;
#X add 0.067831 0.588812 0;
#X add 0.090954 0.617301 0;
#X add 0.117263 0.616032 0;
#X add 0.146757 0.585006 0;
#X add 0.17886 0.529931 0;
#X add 0.210111 0.485063 0;
#X add 0.239935 0.456113 0;
#X add 0.268331 0.44308 0;
#X add 0.295299 0.445963 0;
#X add 0.320838 0.464764 0;
#X add 0.34495 0.499481 0;
#X add 0.367633 0.550115 0;
#X add 0.388889 0.616667 0;
#X add 0.410694 0.681257 0;
#X add 0.435025 0.726009 0;
#X add 0.461883 0.750923 0;
#X add 0.491267 0.755998 0;
#X add 0.523178 0.741234 0;
#X add 0.557615 0.706632 0;
#X add 0.594579 0.652192 0;
#X add 0.634069 0.577912 0;
#X add 0.675729 0.490657 0;
#X add 0.717416 0.431603 0;
#X add 0.758774 0.407613 0;
#X add 0.799802 0.418685 0;
#X add 0.840501 0.464821 0;
#X add 0.88087 0.546021 0;
#X add 0.92091 0.662284 0;
#X add 0.96062 0.81361 0;
#X add 1. 1. 0;
#X domain 1.;
#X range 0. 1.;
#X done;
#P objectname function2;
#P newex 120 201 32 9109513 zl join;
#B color 5;
#P newex 120 229 52 9109513 zl group 12;
#P user function 36 38 174 170 1 1 1 1;
#X frgb 255 107 107;
#X brgb 66 66 66;
#X rgb2 0 255 255;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 0.02381 0.816667 0;
#X add 0.301587 0.3 0;
#X add 0.476191 0.933333 0;
#X add 0.833333 0.133333 0;
#X add 1. 1. 0;
#X domain 1.;
#X range 0. 1.;
#X done;
#P objectname function1;
#P message 136 255 45 9109513 steps $1;
#P newex 120 280 39 9109513 bspline;
#N vpatcher 15 55 205 277;
#P outlet 42 182 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 91 50 45 9109513 loadbang;
#P newex 24 109 28 9109513 gate;
#P newex 42 50 45 9109513 metro 50;
#P newex 42 155 24 9109513 gate;
#P toggle 42 137 15 0;
#P button 56 137 15 0;
#P newex 42 78 66 9109513 mousestate;
#B color 5;
#P inlet 24 89 15 0;
#P connect 0 0 6 0;
#P fasten 6 0 5 0 29 138 22 138 22 29 47 29;
#P connect 7 0 1 0;
#P connect 5 0 1 0;
#P connect 1 0 6 1;
#P fasten 6 0 3 0 29 133 47 133;
#P connect 3 0 4 0;
#P connect 4 0 8 0;
#P connect 1 2 2 0;
#P connect 1 1 2 0;
#P connect 2 0 4 1;
#P pop;
#P newobj 355 150 30 9109513 p poll;
#P connect 14 0 15 0;
#P connect 3 1 14 0;
#P connect 3 2 11 0;
#P connect 11 0 5 0;
#P connect 5 0 4 0;
#P fasten 2 0 1 0 141 275 125 275;
#P connect 4 0 1 0;
#P connect 1 0 7 0;
#P connect 7 0 13 0;
#P fasten 9 2 13 0 229 325 125 325;
#P fasten 8 0 2 0 184 251 141 251;
#P connect 11 1 5 1;
#P fasten 8 0 9 0 184 196 167 196;
#P connect 3 3 9 0;
#P fasten 0 0 9 0 360 196 167 196;
#P fasten 15 0 4 1 18 224 167 224;
#P connect 9 1 12 0;
#P fasten 9 3 12 0 260 225 198 225;
#P connect 10 0 0 0;
#P pop;



REC
August 26, 2007 | 4:17 pm

Quote: dGarden wrote on Sun, 26 August 2007 10:09
—————————————————-
> Does this new one do what you want ??

this is a great.. thanks again. I hope you didn’t think i was complaining about the patch i was just curious. I study them and try to figure them out, couldn’t really see why it did that.

matt


August 26, 2007 | 4:44 pm

well, [bspline] accept list of all control point (x,y,z) and dump message of [function] object only give you (x,y) of each point because of 2D.
So you have to add (z) with [zl join] and to group all the points (xyz) in one list.
You could do it with [zl group] but you have to know how many elements you want to group.

In the case of the first patch, there was 4 control points (x,y,z), so the [zl group] argument was 12.
So if you add one or more points, it will consider only the 4 first control points…

Hope it help you

peace

a


August 27, 2007 | 9:43 am


August 29, 2007 | 4:37 pm

Hello,

Some time ago I modified ej.function (ejies – http://www.e–j.com/) a JSUI extension to the ‘function’ object, to support curves. Also it outputs its data in curve~ format rather than line~. I sent this to ej but I haven’t checked to see if it’s been added to the package.

I’ll have to check the license but I’m fairly sure it’s a creativecommons license and I could upload this to my c74/share page.

Let know if you’re interested or if the other solutions are sufficient.

Martin


August 29, 2007 | 5:25 pm

I am *SO* interested in this. I’ve built a patch to add in the exponent to the ‘line’ output of function so it works with curve, but I always dreamed of having the functionality built in!


August 29, 2007 | 7:05 pm

That’s superhappyfun and will be very useful!

Am I right in assuming the "points" has no (theoretical) limit, but the degree can only be 1,2,3?

Nice work!

–CJ


August 29, 2007 | 9:15 pm

there are a couple of editors based on waveform~ here

http://www.cycling74.com/forums/index.php?t=msg&goto=103393&rid=0&S=a80a5b3c21d28f2d075b8af0f715a50d

the qraq_2 file and the patch i pasted in might be useful. they snap to a grid and can be used to make rhythmic envelopes, stored in a buffer~


September 4, 2007 | 4:22 pm

Hey Martin, just wondering if you will be posting your modified ej.function.js object, soon?

also, dGarden, is it just me or does adding more points cause function2 to run faster and faster?


September 7, 2007 | 6:57 am

Hello,

I’ve uploaded this to my share page….

http://www.cycling74.com/twiki/bin/view/Share/MartinRobinson

Regards,
Martin


September 7, 2007 | 10:51 am

thanks for doing that….been waiting for someone to make that for several years! very nice….


September 7, 2007 | 11:18 am

Thank you very much Martin for this needed feature.


September 7, 2007 | 12:46 pm

Hi,
I’m so grateful for your work. I can finally do what I’ve wanted to do in a certain patch I’ve been working on for awhile. Here’s a test patch I made to demonstrate two problems I’ve encountered.
1) Max crashes on my Windows XP machine when Overdrive is On (haven’t tested on my MacBook, yet).
2) Occasionally, I hear signal degradation with this configuration but Max has never run quite smoothly on any of my XP machines so this one will have to be pending until I can test with my Mac.
Thanks, again. Here’s the patch.

max v2;
#N vpatcher 340 139 1188 701;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 416 40 28 9109513 clear;
#P message 479 121 90 9109513 clear , 0 0 , $1 $1;
#P newex 479 98 45 9109513 f;
#P button 479 39 25 6;
#P window linecount 3;
#P comment 506 38 58 9109513 reset to normal playback;
#P window linecount 1;
#P newex 493 351 45 9109513 loadbang;
#P newex 600 65 60 9109513 r buffLength;
#P newex 550 396 62 9109513 s buffLength;
#P button 472 352 15 0;
#P newex 472 374 105 9109513 info~ buff;
#B color 5;
#P message 600 111 113 9109513 domain $1 , range 0. $1;
#P button 314 336 15 0;
#P toggle 377 62 15 0;
#P newex 377 83 29 9109513 gate;
#P flonum 300 312 35 9 -1. 1. 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P user meter~ 277 420 357 433 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P message 401 307 38 9109513 replace;
#P newex 401 327 81 9109513 buffer~ buff;
#P user gain~ 252 421 22 20 158 0 1.071519 7.94321 10.;
#P newex 252 393 52 9109513 play~ buff;
#P newex 49 27 76 9109513 autopattr;
#X prestore jsui 9 0 4 1 0 function0 0 826.8125 0 826.8125 100;
#P objectname u545000027;
#P newex 252 335 59 9109513 curve~;
#P newex 96 296 117 9109513 route function0;
#P button 18 31 15 0;
#P user jsui 18 99 322 177 1 0 0 curve.function.js;
#J statemessage CreateNFunctions 1 function0 0 826.8125 0 826.8125;
#J statemessage legend 1;
#J statemessage grid 0;
#J statemessage snap2grid 0;
#J statemessage hiddenpoint 0;
#J statemessage clickadd 1;
#J statemessage clickmove 1;
#J statemessage autosustain 0;
#J statemessage timedisplay 0;
#J statemessage autocursor 1;
#J statemessage bordersync 0;
#J statemessage ghost 20;
#J statemessage notifyrecalled 0;
#J statemessage mousereport 0;
#J statemessage numcurvepoints 12;
#J statemessage limitnumpoints 1;
#J statemessage movemode 0;
#J statemessage SetColor 0 brgb 204 204 204;
#J statemessage SetColor 0 frgb 82 82 82;
#J statemessage SetColor 0 rgb2 107 107 107;
#J statemessage SetColor 0 rgb3 255 0 0;
#J statemessage SetColor 0 rgb4 51 51 51;
#J statemessage SetColor 0 rgb5 128 128 128;
#J statemessage fsaa 1;
#J statemessage redrawon;
#P objectname jsui;
#P window linecount 2;
#P comment 360 171 212 9109513 alt-drag up/down between points to modify the curve;
#P user ezdac~ 252 469 296 502 0;
#P hidden connect 13 0 3 0;
#P hidden fasten 26 0 2 0 66 82;
#P connect 3 0 2 0;
#P hidden connect 6 0 2 0;
#P hidden connect 16 0 2 0;
#P hidden connect 25 0 2 0;
#P connect 2 1 4 0;
#P hidden connect 4 0 5 0;
#P connect 5 0 7 0;
#P connect 7 0 8 0;
#P hidden connect 8 0 0 0;
#P hidden connect 8 0 11 0;
#P hidden connect 8 0 0 1;
#P connect 12 0 5 2;
#P hidden connect 5 1 15 0;
#P hidden connect 21 0 14 0;
#P connect 14 0 13 0;
#P hidden connect 5 1 13 1;
#P connect 10 0 9 0;
#P connect 9 1 18 0;
#P connect 18 0 17 0;
#P fasten 21 0 17 0 498 371 477 371;
#P connect 23 0 24 0;
#P connect 24 0 25 0;
#P fasten 20 0 24 1 605 91 519 91;
#P connect 17 6 19 0;
#P connect 20 0 16 0;
#P pop;


September 7, 2007 | 3:49 pm

Cebec,

I too get a crash on Win XP with your patch when Overdrive is ON. But it seems stable on a Mac. Unsure whether this is curve~ or curve.function.js or something else. I haven’t made the changes in ejies 1.57 to curve.function not sure if this is relevant.

Regarding signal degradation: I don’t have any of this. BUT – If you click the "reset to normal playback" button in your patch (i.e., a diagonal line bottom-left to top-right) there is a slight pitch-shift in playback as the file progresses. This suggests that when a curve has a value 0.0 it is actual slightly positive. However, the data sent out of curve.function is a curve of 0.0 so the curve~ object mustn’t be generating linear segments when a curve is 0.0. In the drawing commands for curve.function I assume the curve is linear if the curve value is within +-0.001 although the actual curve would still be output if it was closer to 0.0 than that.

Actually I just checked in the curve code from cyclone (from where most of the curve stuff was derived) and this has been noted before.

BTW I just remembered that you can fine tune the curve when mousing by using alt-shift-drag.


September 7, 2007 | 3:56 pm

Thanks for checking it out. And for the tip on fine-tuning the curve. Is it a bug, then, that curve doesn’t create linear segments at 0.0? It seems from the .help that this should be the case.


September 7, 2007 | 4:49 pm

Also, it doesn’t understand the setrange message.


September 7, 2007 | 4:59 pm

On 7 sept. 07, at 17:49, Martin Robinson wrote:

> Cebec,
>
> I too get a crash on Win XP with your patch when Overdrive is ON.
> But it seems stable on a Mac. Unsure whether this is curve~ or
> curve.function.js or something else. I haven’t made the changes in
> ejies 1.57 to curve.function not sure if this is relevant.

The problem is I did a few additions in 1.57, and the file format for
example is different (ascendent compatibility as usual), so your
modification to the file format will be in conflict.

ej


September 7, 2007 | 7:22 pm

Quote: cebec wrote on Fri, 07 September 2007 10:49
—————————————————-
> Also, it doesn’t understand the setrange message.
—————————————————-

Here’s the error message:

error: js: curve.function.js: Javascript TypeError: courbe has no properties, line 255
error: js: error calling function setrange

Line 255 is the beginning of the setrange function.

Thanks!


September 7, 2007 | 7:48 pm

It’s the beginning of the calcFunctionCurves function, sorry.


September 7, 2007 | 8:57 pm

re: the setrange message

We’re getting into js-dev here but as it’s a minor piece of code hopedully no-one will mind.

Pending updating my share page (although I’ll probably try to sync with the current ejies version before doing that) you can fix this bug, it’s in the setrange function, so in the curve.function.js file -

FIND: "function setrange(a, b, courbe)"

then in that function (i.e. between the next curly brackets { } )

FIND: "calcFunctionCurves(courbe);"

and replace it with: "calcFunctionCurves(tmpF);"

DON’T do a global find/replace, only change this instance.

M


September 7, 2007 | 9:11 pm

Thank you! :)


September 7, 2007 | 9:17 pm

Thank you! :)


September 24, 2007 | 8:17 pm

New version of curve.function uploaded to my C74 share page. New help file, ejies 1.57 compatible (I hope)



jln
September 24, 2007 | 9:27 pm


September 24, 2007 | 10:17 pm

Thank you, again! I use this every day.


September 25, 2007 | 12:11 am

I tried using this (looks awesome in the help file) by typing "js
curve.function" and I got the following error:

error: js: curve.function: Javascript ReferenceError: sketch is not
defined, line 2951


September 25, 2007 | 12:21 am


September 25, 2007 | 1:58 am

Oh, just wanted to mention that I’m the one using this to generate file playback positions (as noted in the help). If anyone needs any patches or assistance whatsoever in helping to remedy this or to port cyclone from pd to max/msp, let me know!


September 25, 2007 | 9:46 am


September 25, 2007 | 12:39 pm

On 25 sept. 07, at 11:46, Andreas Wetterberg wrote:

> And then in my opinion the easiest thing to do is to add it to
> prototypes, and then if you want to load the object, type "jsui"
> and select it from the prototypes.

Exactly! You could also add a line in one of the shortcuts file of
the C74:/init folder:

max shortcut curve js ej.lui.js curve.function;

I could add that to the ejies-shortcut, as it’s required for the
curve.function.

ej


September 25, 2007 | 3:38 pm

Are there any plans to incoporate bpfunction curve support
in an offical ejies release?


September 26, 2007 | 1:39 pm

Hi,
I’m still experiencing crashes with curve.function.js in Max 4.6.3 on Windows XP as soon as Overdrive is turned ON.

Also, loading the ej.function.js help from the ejies overview (ejies 1.57) gives me the error ej.function.js: doesn’t understand fsaa (bad function name or message name).

Neither occur on my MacBook.

Matt


September 26, 2007 | 1:51 pm

Quote: cebec wrote on Wed, 26 September 2007 07:39
—————————————————-
> Hi,
> I’m still experiencing crashes with curve.function.js in Max 4.6.3 on Windows XP as soon as Overdrive is turned ON.
>
> Also, loading the ej.function.js help from the ejies overview (ejies 1.57) gives me the error ej.function.js: doesn’t understand fsaa (bad function name or message name).
>
> Neither occur on my MacBook.
>
> Matt
—————————————————-

For example, the crash occurs as soon as I connect and activate a metro which is connected to the curve.function.js object while DSP is ON and Overdrive is ON. It may have something to do with banging the object since my other patch, while not using a metro, relies on bangs to the curve.function.js and it crashes, as well.


September 26, 2007 | 3:27 pm

Are there any plans for an official ejies release with bpfunction curve support?


September 26, 2007 | 10:17 pm

Does it crash if you use ej.function instead of curve.function?


September 27, 2007 | 12:47 pm

Sorry for the delay. Wow, I should’ve tested that, already. Yes, it crashes with ej.function.js, as well.


September 27, 2007 | 4:10 pm

I suspect it is something to do with the javascript/sketch implementation on Windows then, perhaps ej has already investigated?

I assume it is crashing in response to bangs from a metro?

Try putting the bangs through a deferlow object and see if it still crashes. (If so it might be an interim work around.)

M


September 27, 2007 | 4:18 pm

Quote: martinrobinson wrote on Thu, 27 September 2007 10:10
—————————————————-
> I suspect it is something to do with the javascript/sketch implementation on Windows then, perhaps ej has already investigated?
>
> I assume it is crashing in response to bangs from a metro?
>
> Try putting the bangs through a deferlow object and see if it still crashes. (If so it might be an interim work around.)
>
> M
—————————————————-

Yep, in response to bangs from any source, not just from a metro. I put the bangs through a deferlow object and it works, i.e., no crash
Thanks!


September 30, 2007 | 4:56 pm

matt schrieb:
> or to port cyclone from pd to max/msp, let me know!

But Max itself is already the more complete cyclone library… ;-)
Or do you want a compatibility library for objects used in Pd, which
don’t exist in Max?
A much much less complete starting point for that is in my abhaXions…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


September 30, 2007 | 5:45 pm

Ah, :) I specifically meant in reference to the bug in curve~ where 0.0 is not truly linear.


November 1, 2007 | 11:05 pm

BTW: I’m in the process of porting the cyclone curve~ to mxj~ hoping it will be more linear when curve is 0.

M


November 4, 2007 | 1:45 pm

Super! Thank you, Martin!


November 15, 2007 | 6:59 am

Hello,

A prelim version of [mxj curve~] is now on my share page:

http://www.cycling74.com/twiki/bin/view/Share/MartinRobinson

I did a bit of testing but it was a relatively quick port from cyclone’s curve~ object. I changed the bang outlet behaviour to be more like curve~/line~ (rather than banging at the end of every curve segment in a more complex breakpoint shape).

Regards,


November 15, 2007 | 11:53 pm

Thank you, Martin! In my initial tests, this is working great!


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