Skip to content

Conversation

@saumya-pailwan
Copy link
Collaborator

When a user drags an audio or MIDI file into the Media Clipboard, the view automatically zooms to a 10-second preview window centered on to the horizontal center mass for audio.

Audio files: Uses amplitude-weighted average time calculation. Louder sections contribute more weight, pulling the view towards them. Silent sections contribute nearly zero weight.
MIDI files: Uses median note start time calculation. Centers the view around the densest cluster of notes.

@netlify
Copy link

netlify bot commented Jan 23, 2026

Deploy Preview for harp-plugin canceled.

Name Link
🔨 Latest commit f174e4f
🔍 Latest deploy log https://app.netlify.com/projects/harp-plugin/deploys/6973cb4ed117a9000842b559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants