Ticket #11 (accepted defect)

Opened 2 years ago

Last modified 2 years ago

EQ curve doesn't correctly reflect the frequency response at different/high sample rates

Reported by: http://the-cla.livejournal.com/ Owned by: http://nedko.arnaudov.name/
Priority: major Milestone: 2.1
Component: GUI Version: 2.0
Keywords: Cc:

Description

The EQ curve shows a shortening (hope this is an adequate term) close to 20 kHz, but this shortening in the frequency response of the EQ filter changes due to the varying nyquist frequency at different sample rates.

E.g. the shortening is barely noticable in this frequency range at a sampling rate of 96 kHz, wich isn't reflected by the curve plot.

Attachments

lv2fil-curve-44100-cut.png Download (70.7 KB) - added by http://the-cla.livejournal.com/ 2 years ago.
japa & lv2fil @44.1 kHz sample rate
lv2fil-curve-96000-cut.png Download (57.1 KB) - added by http://the-cla.livejournal.com/ 2 years ago.
japa & lv2fil @96 kHz sample rate

Change History

Changed 2 years ago by http://the-cla.livejournal.com/

  • component changed from unknown to GUI

Changed 2 years ago by http://nedko.arnaudov.name/

Please attach screenshot that illustrates the problem

Changed 2 years ago by http://the-cla.livejournal.com/

japa & lv2fil @44.1 kHz sample rate

Changed 2 years ago by http://the-cla.livejournal.com/

japa & lv2fil @96 kHz sample rate

Changed 2 years ago by http://the-cla.livejournal.com/

Done.

You can see in the upper window (japa) how the filter response varies at different sample rates. AFAIK this is a normal behaviour with some digital EQs, but lv2fil's curve display doesn't reflect that.

Changed 2 years ago by http://nedko.arnaudov.name/

  • owner set to http://nedko.arnaudov.name/
  • status changed from new to accepted
  • milestone set to 2.1

Changed 2 years ago by http://nedko.arnaudov.name/

  • priority changed from minor to major

Changed 2 years ago by http://nedko.arnaudov.name/

Sample rate used for UI curve draw is 48KHz. For other sample rates, the response is different than one displayed.

A way to supply sample rate to UI needs to be found. With LV2UI extension, host does not supply it when UI is created. Possible solutions:

  • DSP plugin could pass it directly to the UI without host's being directly involved. Ugly but probably most effective.
  • UI extension can be changed. Brakes compatibility.
  • New extension can be defined. If extension is optional, curves will be wrong if host does not support the extension If extension is required, UI will not be usable if host does not support the extension.
Note: See TracTickets for help on using tickets.