Create AudioInput With Buffer

Uses buffers and ac.out.getValue() to determine amplitude of sound better than using gain()