Áudio

edited March 2016 in Library Questions

Como faço para obter a média de frequência de um áudio?

How do I get the average frequency of an audio ?

Tagged:

Answers

  • Just sum up the freqs and divide the result by their number

  • edited March 2016
               for(int i = 0; i < in.bufferSize() - 1; i++)  //Entrada de áudio
               {        
                          stroke(#505050);
                          line(i, 300 + in.left.get(i)*50, i+1, 300 + in.left.get(i+1)*5);
               }
    

    Como saber quantas vezes esse laço de repetição foi usado para executar o áudio completo?

    How to Tell How often This repeat loop was running full paragraph USED Audio ?

  • It's in.bufferSize() -1

    you need to grab this value before the loop and put it into a Variable

Sign In or Register to comment.