• seb-harmonik.ar

    the negative amplitudes for the harmonics are relating the phase of that harmonic to the fundamental sinusoid (when it's negative the wave will start out at 1/2 a cycle through)

    posted in patch~ read more
  • seb-harmonik.ar

    here's an example. Making this makes me want a "hold~" object that simply holds the left inlet when the right inlet is 1. :-)

    lagtime.zip

    the output doesn't reach the target all the way because of the float resolution of making lag~ using Pd vanilla objects with only single precision floating point (aside from the theoretical exponentials never reaching their value) but I suppose that's the case with lop~ also..
    the table has the "downward" lag 60db time @ 0 and the "upward" time at 1 in the "time" array

    posted in technical issues read more
  • seb-harmonik.ar

    In that case the issue is that you need a lop~ with a signal rate input. I suppose you could use bob~.

    If you find such a thing (btw I will release a clone of supercollider's lag in my library very soon, which is capable of this) you can find out if the samples are increasing or decreasing with [rzero 1]. If the numbers are > 0 samples are increasing and if < 0 samples are decreasing . So you could feed [rzero] into [>~ 0} and use tabread~ perhaps to read the frequency for your hypothetical lowpass filter from a 2-value table

    edit: here is the source code for lag if you are interested in compiling it: lag~.c
    the basic formula is y[n] = x[n] + a*(y[n - 1 ] - x[n])
    also, now that I think about it things might be more complicated because I think what you want is to "latch" the frequency of the lowpass filter to stay the same until a new change in the direction of the input

    posted in technical issues read more
  • seb-harmonik.ar

    how would what you want differ from line~?

    posted in technical issues read more
  • seb-harmonik.ar

    As I said above I usually just copied Pd-extended c code, though I did modify some myself for the GOP box, text highlight, and select box colors

    posted in technical issues read more
  • seb-harmonik.ar

    I doubt many other colors can be changed this way considering the manual page of setPalette https://www.tcl.tk/man/tcl/TkCmd/palette.htm

    posted in technical issues read more
  • seb-harmonik.ar

    hyopothetically yes
    it doesn't differ otherwise except for an included [initbang] and [closebang]

    posted in technical issues read more
  • seb-harmonik.ar

    plain vanilla doesn't support colors (which is why I modded it along with different inlets/outlets/cords mainly with code from extended)

    the named colors do not use # it's just "black". Glad to hear you got it working!

    I don't know much about switching cursor color, you might want to check out the hcs library, I think you can change stuff about the cursor. Maybe in the next release I'll add some variables for it

    posted in technical issues read more
  • seb-harmonik.ar

    What system are you on when not on pi? it should work to put the .tcl file anywhere that you would put the folders for libraries. (also the extra folder should work)
    On OS X when the Log level is 3 i get "Loading plugin: /Users/sebshader/Library/Pd/colors-plugin.tcl". Of course you have to restart Pd once you move it there in order to search for libraries again.

    If you do want to "hard-code" the colors you can edit line 233 of pd-gui.tcl in the tcl folder

    As for the Pi issue unfortunately I don't have anything other than OS X to test on, perhaps try different color values for the text? It might also be a tcl/tk issue for Pi. Did regular Pd Vanilla work well on Pi? this is very bizarre behavior. perhaps it simply does not have enough memory on-hand?
    are you using Tcl/Tk 8.5?
    thanks for testing

    posted in technical issues read more
  • seb-harmonik.ar

    you need to put the color variables in a .tcl file in your pd path that pd will load at startup.

    Heres mine (what the screenshots are of):
    colors-plugin.tcl

    the specific variables you want are objtxt_color for object boxes, msgtxt_color for message boxes, and comment_color for comments. txt_hilight is for the color the text is highlighted over when selecting it. graph_outline is also for the graph (GOP subpatch/abstraction) texts I believe

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!