this should probably be a constant SAMPLE_RATE.
that might even be available from the header of an included Audio class