Add waveform and cursor to record function
Add Rails