wiki:AUDIO_RECORDING_R0

Version 19 (modified by sveto, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=AUDIO_RECORDING_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

Audio recording allows the user to record audio, which is then stored as an audio resource in the book. This could be done with a dialogue that is invoked from the menu bars..

Task requirements

  • User should select recording mode by selecting Insert > Insert Audio Recording from the menus.
  • User should be able to start recording (by pressing record button).
  • User should be able to stop recording (by pressing stop button).
  • When recording has been stopped, the recording should be added to the resources as a WAV with the date and time as its name.

Task result

Source code.

Implementation idea

  • Audio recording should be implementing using the Java Media Framework library.

MEDIA_FRAME_CONTROLS_R0

AUDIO_CONTENT_R0

How to demo

Make a new Sophie book, start recording, record audio, stop recording. Put audio of the recording on the page and play it back.

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

  • In Sophie 1, the interface was a palette; a dialogue window might make more sense.
  • If we don't actually have audio playback, maybe we can't demonstrate playback in this iteration.
  • Audio should be saved in a compressed form rather than as a raw WAV; this can be done in a later implementation.
  • In Sophie 1, after recording audio had stopped, users saw a "play" and "save" button. "Play" played back the recording (so the user could tell if it were good or not); "Save" saved it to the resources.
  • Does this work differently on different OSes?