1. //waveformfloat frequencyA,frequencyB,frequencyC,frequencyD,frequencyE,frequencyF,      noteOffset,amplitude;void setup(){  size(500,500);  frameRate(12);  smooth(8);}void draw(){  background(255);  for (int i=0; i<width; i++){    noteOffset = cos(millis()*(0.005*sin(i/6)));    frequencyA = pow(2,noteOffset/12)*440;    frequencyB = (height/2)+(height/2-frequencyA);    frequencyC = pow(2,noteOffset/12)*220;    frequencyD = (height/2)+(height/2-frequencyC);    frequencyE = pow(2,noteOffset/12)*880;    frequencyF = (height/2)+(height/2-frequencyE);    pushMatrix();      translate(i,0);      stroke(frequencyD-frequencyF,frequencyC,frequencyE);      line(0,height,0,0);      stroke(frequencyD-frequencyB,frequencyE,frequencyA);      line(0,frequencyB,0,frequencyA);      stroke(0,frequencyC);      line(0,frequencyD,0,frequencyC);    popMatrix();  }}

    //waveform
    float frequencyA,frequencyB,frequencyC,
    frequencyD,frequencyE,frequencyF,
    noteOffset,amplitude;

    void setup(){
    size(500,500);
    frameRate(12);
    smooth(8);
    }

    void draw(){
    background(255);
    for (int i=0; i<width; i++){
    noteOffset = cos(millis()*(0.005*sin(i/6)));
    frequencyA = pow(2,noteOffset/12)*440;
    frequencyB = (height/2)+(height/2-frequencyA);
    frequencyC = pow(2,noteOffset/12)*220;
    frequencyD = (height/2)+(height/2-frequencyC);
    frequencyE = pow(2,noteOffset/12)*880;
    frequencyF = (height/2)+(height/2-frequencyE);
    pushMatrix();
    translate(i,0);
    stroke(frequencyD-frequencyF,frequencyC,frequencyE);
    line(0,height,0,0);
    stroke(frequencyD-frequencyB,frequencyE,frequencyA);
    line(0,frequencyB,0,frequencyA);
    stroke(0,frequencyC);
    line(0,frequencyD,0,frequencyC);
    popMatrix();
    }
    }

     
  1. deiam-silence reblogged this from forgethowtotalk and added:
    Sound
  2. deiam-silence likes this
  3. i-w0nt-blackout likes this
  4. nicotine-and-rocknroll reblogged this from forgethowtotalk
  5. intothemindofmadness reblogged this from shocklee
  6. intothemindofmadness likes this
  7. shocklee reblogged this from forgethowtotalk
  8. everything-thats-good reblogged this from yodelling-to-the-max
  9. mycolouredaddictions likes this
  10. teennakedmodels likes this
  11. shepards-lower-parts likes this
  12. eutechnik likes this
  13. beautiful-hairstyle likes this
  14. autopia likes this
  15. stephenfortune likes this
  16. wunderrbar reblogged this from forgethowtotalk
  17. i-do-not-hate-you-i-love-you reblogged this from forgethowtotalk
  18. dearpozzo likes this
  19. lolmawc likes this
  20. martia97 reblogged this from forgethowtotalk
  21. martia97 likes this
  22. instinctlively likes this
  23. the-struggle-to-right-oneself reblogged this from forgethowtotalk
  24. my-lifeisfun reblogged this from forgethowtotalk
  25. chiaroko likes this
  26. proce5o likes this
  27. shxps reblogged this from forgethowtotalk
  28. d3vil-in-the-detail reblogged this from forgethowtotalk
  29. thosefiends likes this
  30. indiaopal reblogged this from forgethowtotalk
  31. yodelling-to-the-max reblogged this from forgethowtotalk
  32. rojerk likes this
  33. d-sp likes this
  34. that-devil-named-vince reblogged this from forgethowtotalk
  35. that-devil-named-vince likes this
  36. xl-superman reblogged this from forgethowtotalk
  37. killyourheroesbitches likes this
  38. kardahsian reblogged this from forgethowtotalk
  39. ebony-louise reblogged this from planetevolve
  40. phoraw reblogged this from forgethowtotalk
  41. peridotwonder reblogged this from forgethowtotalk
  42. planetevolve reblogged this from forgethowtotalk
  43. go-aaway reblogged this from forgethowtotalk
  44. rindarindanindanin likes this
  45. o-paquewonders reblogged this from forgethowtotalk
  46. uni-meow reblogged this from forgethowtotalk
  47. etre-exsangue reblogged this from forgethowtotalk and added:
    All I can think of is mascara wand.
  48. holy-bagels reblogged this from forgethowtotalk
  49. djch3 reblogged this from forgethowtotalk