Device Details
Overview
Name | Version: | PFFT Latency Calculator and M4L Delay Measurement 1.2 |
Author: | fakedubz |
Device Type: | Audio Effect |
Description: | (Disclaimer: This patch is for educational purposes and won't actually work as an effect. So, if you aren't working on a spectral device yourself, this is probably pretty useless to you.) PFFT is a genuinely useful module for spectral effects, but unfortunately I haven't found a single device or explanation that shows how to set the latency correctly. Probably because even the official documentation on the matter is not entirely correct. (yikes) Working latency compensation is crucial for correct timing, as well as for avoiding phase cancellation when using a dry/wet knob. This patch includes a patch calculating the correct latency of a PFFT object based on the FFT size and overlap, returning the latency to the patcher so that Ableton's Delay Compensation can work correctly. This also functions correctly upon loading the patcher. Feel free to copy-paste this patcher into your own devices. A test setup to measure the sample-accurate latency of a patcher/plugin is included as well, so you can verify that the latency is indeed calculated correctly. Or test other modules and plugins etc. as well. The test PFFT is also an example of how to change the FFT size dynamically. This whole topic gave me a real headache, and I'm really glad I finally figured out the math behind it. So, I hope this helps someone having the same troubles. If something still isn't working or something is unclear, comment below or send me an email, and I'll try my best to help out. XD Update 1.1: - Added an example on how to implement a constant Volume Dry/Wet with proper delay compensation on the dry channel to avoid phasing. - Added some arrows to make explanations clearer - Added some more explanations and structure - Just made it look better I guess Update 1.2: - Latency Calculation is working correctly inside MaxMSP as well when using different Signal Vectors. |
Details
Live Version Used: | 11.3.11 |
Max Version Used: | 8.1.5 |
Date Added: | Dec 21 2023 19:26:46 |
Date Last Updated: | Dec 23 2023 17:39:05 |
Downloads: | 152 |
ⓘ License: | None |
Average Rating
(1) Log in to rate this device |
5 |
Files
Device File: | PFFT Latency.amxd |
Login to comment on this device.
Browse the full library