Creating an audio recording feature in React with timer and wave visualization