![]() My problem with this second scenario is that I want to play more than one note/sound with successive keystrokes throughout the duration of the recording period so, starting the startRecording function in my playNote function does not achieve this, because as soon as key "1" is pressed again, a new sound and new recording session are started. I click the play button on the media player and the recording is played back. ![]() I click the 'stop recording' button and the media player stops recording.I press key "1" and the note plays and the media recorder starts recording.Result: The media recorder didn't record my sound!Ĭoded so the media recorder starts recording when the playNote function runs: I click the play button on the media player and the media plays back a silent recording that lasts for the duration of the recorded session.I click 'stop recording' and the media player stops recording.I press key "1" and the playNote function does not run, I can hear nothing through the speakers.I press 'start recording' and the media player starts recording.When I click the 'play' button on the media player, it should play back the note, or notes that have been played.Ĭoded so the media player starts to record when the 'start recording' button is clicked.When I click the 'stop recording' button, the media player should stop recording. ![]()
0 Comments
Leave a Reply. |