Features

Record audio/sound to a note

13d agoIn Progress

Record own notes by speaking and play them out

4 comments

  1. PikaNotes16h ago

    Sound files are now also included in search and will be included in 1.1.0: a name can be given to sound file which can be searched from all notes and inside one note (it cannot be replaced with the replace feature). Additionally on all notes search all sound files can be found with a few keywords always in english (sound, audio, recording) and if another language used as primary, with that. Note: Same search by type keywords does not apply to other elements (images, tables etc.).

  2. PikaNotes marked this as In Progress7d ago
  3. PikaNotes7d ago

    Done – coming in version 1.1.0

    Notes can now contain audio clips alongside text, checklists, images and drawings. Choose Voice recording from the media menu to add a recorder to the note, then press Record. Recording starts only when you press it, so adding the recorder never turns on the microphone by accident. Each clip has its own player with play/pause, 10-second skips and a draggable timeline showing elapsed, total and remaining time. A note can hold several clips, and clips can be moved, deleted and undone like images.

    - Recording works while PikaNotes is open, and the screen stays on. If a call, another app or switching apps interrupts it, recording stops with a short message, and everything up to that point is kept. - Audio is saved as Ogg (Opus), about 11 MB per hour of speech. If the app is closed unexpectedly, the audio recorded so far is still playable. - Clips can be named, and the name is shown inside the player. Notes with audio show a headphones icon on their card. - Clips can be saved to the phone’s Recordings/PikaNotes folder, and they are included in encrypted backups and restores. - Settings → Statistics shows the number of clips and the space they use, and a new Manage audio clips page lists them all. - Microphone permission is asked the first time you record, with a short explanation first.

    Known limitations

    - Recording only works while the app is open. Background recording would need a persistent notification and extra permissions, and is considered for later if there is demand. - A stopped recording can’t be continued. Start a new clip instead. - Saved recordings are Ogg files, which most Android and desktop players open. Some devices, such as iPhones, may need a separate player app. - Clip names are not included in search yet - possibly name search added to 1.1.0 as a small separate code task, but not done yet.

  4. PikaNotes13d ago

    Preliminary specs:

    Use case: Dictate an idea while walking instead of typing, Capture a short explanation (e.g. a colleague's instructions) inside the related note etc. Limitation: No background recording, only when application is open.

    - New note element: audio, alongside rich text, checklists, images and drawings (can be rearranged, deleted etc.) - Controls: Record, Pause, Stop and playback with Play/Pause. - Draggable timeline: shows position (00:00:00), total length and time remaining. - Recording only while PikaNotes is open (foreground). Screen kept on during recording. - Interrupted recording (call, other app takes mic) stops cleanly with a clear message. Audio up to that point is kept. - Export to phone storage (e.g. Recordings/PikaNotes), like "Save image to gallery". Most likely requires file format change (Opus to m4a?)

    Pros - Entirely new content type, fits PikaNotes purpose. - No internet needed (permission promise) - Backup already supports it: audio travels encrypted and deduplicated like images. - No new libraries: Android has built-in recording and playback.

    Cons, risks and problems - Can lead to fast storage growth is used a lot. 1h is approx 15 MB in Opus format. - Foreground-only, so recording stops if screen locks or apps are switched. This could be done differently with more permissions but for MVP foreground is fine, it suits the use cases. Maybe consider other options later. This is simple and no extra Play declarations are needed. - New microphone permission (asked on first use). - Recording other people is the user's responsibility and should be mentioned in a help text.

    Other options for later and considered but won't be done: - Later after MVP consider background recording via foreground Service. This could be used in larger variety of use cases: lectures, long meetings etc. This requires a visible notification, extra permissions and a Play Console foreground service declaration (likely with a video). To be considered later if there is demand. - To avoid: Phones own recorder app via intent is not a good option as many phones lack a compatible handler.

    File format - Opus (Ogg), ~0.2 MB/min for speech. - Ogg is crash-tolerant. If the phone dies mid-recording, audio up to that point remains playable. Standard m4a is finalized only at the end and can be lost entirely if interrupted. - Trade-off: exported .ogg plays on Android and most modern players, but e.g. iPhones may need a separate app. For this reason a possible export requires converting the file to m4a on export (can be done now or later).

    Privacy policy - Microhpone must be added to the permission table. State that recordings stay on the device and in the user's encrypted backup. - Play Data safety: no change ("no data collected or shared"). - Possible background recording (not planned now) adds a foreground service declaration in Play Console.

    Security - No major changes. Same as in images (stored in app-private storage, encrypted in backups), exported files are outside the app's control (same exception as gallery export).

    App size (for feature, not the storage of audio files) - No major change. Adds tens to a few hundred KB (code and icons only).

    Technical notes - New element type and database table => needs migration + MigrationTestHelper test (decision 208). - List cards need an audio indicator and preview fields must stay in sync. - Undo/delete must follow existing file invariants (as with images).

    1. PikaNotes12d ago

      Related: Dictate the recordings. May be considered after or alongside this audio recording feature. https://pikanotes.userjot.com/board/p/transcript-audio-notes

  5. PikaNotes marked this as In Review13d ago