mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 15:45:54 +01:00
Disable spectral editing effects in one place in Nyquist.cpp...
... by passing invalid frequency values, rather than by checking the 'view property in each effect. Spectral editing is now permitted only for appropriate track view types. But I would suggest reconsideration of the exact conditions in which we do this.
This commit is contained in:
@@ -45,7 +45,5 @@
|
||||
(T (sum (prod env (wet sig f0 f1 fc))
|
||||
(prod (diff 1.0 env) sig))))))
|
||||
|
||||
(if (string-not-equal (get '*TRACK* 'VIEW) "spectral" :end1 8 :end2 8)
|
||||
"Use this effect in the 'Spectral Selection'\nor 'Spectral Selection log(f)' view."
|
||||
(catch 'error-message
|
||||
(multichan-expand #'result *track*)))
|
||||
(catch 'error-message
|
||||
(multichan-expand #'result *track*))
|
||||
|
||||
Reference in New Issue
Block a user