Thunderbolt1000T wrote:Update: I've successfully edited the .NY file, and I made a backup of the original as well. I used a little guess work, but the line I needed to edit wasn't hard to find. I even tested it just to be sure it worked, and I didn't get any errors, and the results were perfect.
I'd like to add my settings as a new preset called "Wide Stereo 2" to the original .NY file, so that both mine and Steve's original would be options in the presets list on my computer. How would I go about doing this?
What edits have you already made to the .NY file? Did you just change one of the existing presets to your own? To add a new preset you have to edit in two places:
1) Add your preset name to this list, followed by a comma:
Code: Select all
;control preset "Presets" choice "Use custom,Mono (Average),Mono (Both Left),Mono (Both Right),Centre to Left,Centre to Right,Swap Left/Right,Wide Stereo,Extra Wide,Vocal Remover (L/R invert),Vocal Remover (mono),Invert Left,Invert Right" 0
That will add the preset to the menu.
2) Edit the presets choice code:
Code: Select all
;; Create list of values from selected preset or from the slider values
(setq channels
(case preset
(1 (list 50 50 50 50)) ; Average
(2 (list 100 0 100 0)) ; Both Left
(3 (list 0 100 0 100)) ; Both Right
(4 (list 50 50 -50 50)) ; Centre to Left
(5 (list 50 -50 50 50)) ; Centre to Right
(6 (list 0 100 100 0)) ; Swap Left/Right
(7 (list 100 -30 -30 100)) ; Wide Stereo
(8 (list 100 -60 -60 100)) ; Extra Wide
(9 (list 100 -100 -100 100)) ; Vocal Remover L/R invert
(10 (list 100 -100 100 -100)) ; Vocal Remover mono
(11 (list -100 0 0 100)) ; Invert Left
(12 (list 100 0 0 -100)) ; Invert Right
(T (list left-mix-L left-mix-R right-mix-L right-mix-R))))
Note that the "Presets" control sets the variable
preset to 0 for "Use custom", 1 for "Mono(Average)", etc.
If you were to add your "Wide Stereo 2" between "Wide Stereo" and "Extra Wide" in the "Presets" control, then you would need to edit the choice code to add:
Code: Select all
(8 (list 100 -33 -33 100)) ; Wide Stereo 2
and then change the comparison values in the following clauses.
Note that your version is not very different from Steve's - his is 100, -30, yours is 100, -33. Might be easier in the long run just to edit Steve's "Wide Stereo" preset.
-- Bill