Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
feat(web): add 0.5x and 0.75x audio playback speeds
johnnyjoyghb88a71540a1a
diff --git a/web/src/components/MemoMetadata/Attachment/AudioAttachmentItem.tsx b/web/src/components/MemoMetadata/Attachment/AudioAttachmentItem.tsxindex 8933c1a76..d96862e69 100644--- a/web/src/components/MemoMetadata/Attachment/AudioAttachmentItem.tsx+++ b/web/src/components/MemoMetadata/Attachment/AudioAttachmentItem.tsx@@ -5,7 +5,7 @@ import { cn } from "@/lib/utils";import { formatFileSize, getFileTypeLabel } from "@/utils/format";import { formatAudioTime, toggleAudioPlayback } from "./attachmentHelpers";-const AUDIO_PLAYBACK_RATES = [1, 1.5, 2] as const;+const AUDIO_PLAYBACK_RATES = [0.5, 0.75, 1, 1.5, 2] as const;const UNKNOWN_DURATION_LABEL = "--:--";const getDurationLabel = (duration: number): string => (duration > 0 ? formatAudioTime(duration) : UNKNOWN_DURATION_LABEL);