You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to share with you and the lab about this useful python toolbox on audio sync: https://github.com/benfmiller/audalign
Very effective on my FNL alignment tasks.
import audalign as ad
fingerprint_rec = ad.FingerprintRecognizer()
correlation_rec = ad.CorrelationRecognizer()
cor_spec_rec = ad.CorrelationSpectrogramRecognizer()
visual_rec = ad.VisualRecognizer()
fingerprint_rec.config.set_accuracy(3)
# we want to align the two audio files: s18_chunk7.wav with s18_audio.wav
results = ad.align_files("/Storage/Projects/iEEG/aligning_folder/s18_chunk7.wav", "/Storage/Projects/iEEG/aligning_folder/s18_audio.wav", recognizer=fingerprint_rec)
# results can then be sent to fine_align
fine_results = ad.fine_align(
results,
recognizer=cor_spec_rec,
)
print(fine_results)
The text was updated successfully, but these errors were encountered:
Just wanted to share with you and the lab about this useful python toolbox on audio sync: https://github.com/benfmiller/audalign
Very effective on my FNL alignment tasks.
The text was updated successfully, but these errors were encountered: