find_delay
  • find_delay
    • find_delay()
  • find_delays
    • find_delays()
  • Private functions
    • _filter_frequencies()
    • _get_number_of_windows()
    • _get_envelope()
    • _resample_window()
    • _resample()
    • _cross_correlation()
    • _convert_to_mono()
    • _create_figure()
  • Examples
    • Find the delay between two audio files
      • Mono/stereo files
      • Audio files with different frequencies
      • Compute the envelope for audio files
      • Return the delay in seconds
      • Plot the delay
    • Find the delay of the audio on the MISC channel of an MEG recording
      • Introduction
      • Procedure
        • Load the original audio
        • Isolate the audio on the MISC channel
        • Run the find_delay function
        • Correct the delay and save the events
  • Version history
    • 2.15 (2025-01-23)
    • 2.14 (2024-12-17)
    • 2.13 (2024-12-15)
    • 2.12 (2024-11-16)
    • 2.11 (2024-09-05)
    • 2.10 (2024-09-05)
    • 2.9 (2024-09-05)
    • 2.8 (2024-06-19)
    • 2.7 (2024-05-09)
    • 2.6 (2024-05-08)
    • 2.5 (2024-05-08)
    • 2.4 (2024-05-08)
    • 2.3 (2024-05-02)
    • 2.2 (2024-05-02)
    • 2.1 (2024-04-25)
    • 2.0 (2024-04-24)
    • 1.3 (2024-04-18)
    • 1.2 (2024-04-17)
    • 1.1 (2024-04-16)
    • 1.0 (2024-04-12)
  • FAQ
    • Why is the name of the package find-delay when installing, and find_delay when importing?
    • I want to use find_delay with audio files, but my audio files are not WAV…
    • How does the function work for audio files?
    • The delay found by the function is erroneous…
    • I found an issue! How can I contact the developers?
    • I have an idea for improvement!
find_delay
  • Examples
  • View page source

Examples

  • Find the delay between two audio files
    • Mono/stereo files
    • Audio files with different frequencies
    • Compute the envelope for audio files
    • Return the delay in seconds
    • Plot the delay
  • Find the delay of the audio on the MISC channel of an MEG recording
    • Introduction
    • Procedure
Previous Next

© Copyright 2025, Romain Pastureau.

Built with Sphinx using a theme provided by Read the Docs.