using web audio analyzer node to calculate frequency spectrum