Browse Source

jacky tuning

master
tonton th 1 year ago
parent
commit
de3a50cc1d
  1. 4
      Fonderie/glitches.c

4
Fonderie/glitches.c

@ -173,7 +173,7 @@ static int x_delta(float dy, float phy) @@ -173,7 +173,7 @@ static int x_delta(float dy, float phy)
{
float param, fv;
param = dy + phy;
fv = 9.999*sin(param) + 6.666*sin(param*3) + 3.333*sin(param*5);
fv = 12.11*sin(param+0.22) + 8.5*sin(param*3.02) + 0.42*sin(param*5.1);
return (int)fv;
}
/* -------------------------------------------------------------- */
@ -193,7 +193,7 @@ fprintf(stderr, ">>> %s ( %p %d %f %f )\n", __func__, picz, @@ -193,7 +193,7 @@ fprintf(stderr, ">>> %s ( %p %d %f %f )\n", __func__, picz,
#endif
h = picz->height; w = picz->width;
#define BB 4
#define BB 2
for (y=BB; y<h-BB; y++) {
dy = (float)y * omega; /* normalize vertical position */

Loading…
Cancel
Save