1

I'm building an (Android) app that displays realtime visuals of musical timing, which is supported by audio cues (metronome click).

I'm looking to implement a mechanism for the user to correct for any audio latency in the system, such that the audible click synchronizes with the visuals as accurately as possible.

My first pass at this was to create a screen with a large block of color that sharply flashes with a sound click at 120bpm (twice per second). I included a slider to allow the user to offset the audio by up to 200ms either side of zero.

I think this is satisfactory, but it had me wondering if there is a more intuitive way to match audio cues with visual cues - and have a better sense of when they are in-sync vs. not in sync.

A high degree of accuracy is a goal here, as any synchronization issues will become painful when using other features of the app.

So far I'm thinking along the lines of including a variety of differently styled visual cues, in an effort to give the user more visual information - for example, making a sequence of objects appear (or vanish) one by one with each click.


Perhaps a somewhat broad question, but is there any research or wisdom known of what visual information our brains need to be best able to sync with audio cues?

2
  • Is the user hearing just the sound of the metronome, or do they also hear other audio? Would the user expect to see a waveform of a song, for instance? I also think a stepper might be more mobile-friendly than a slider for something this precise.
    – Izquierdo
    Sep 25 at 15:06
  • Usually just the sound of the metronome. There are eventually beat synchronized visuals (think MIDI notes being played visually). Good thought on the stepper.
    – Warrick
    Sep 26 at 4:24

1 Answer 1

2

cool question!

I'm not aware of academic research of this; and I think your implementation is fine. For the best possible result I'd ask the question: For whom exactly and what use case exactly is your app for?

If you are marketing your app to pretentious grand piano players they probably expect a different UI than a friend group using this for a ukulele jam session.

To give you something to work with, have you checked out how various audio and video players/editors have solved this problem? Because most of them have a functionality like this, be it syncing audio/video, subtitle settings in streaming or aligning tracks when cutting video...just look around what eminent software does to solve this (and what the community thinks of the feature) and steal what fits best :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.