--- a/trunk/synth/gnotest.srp
+++ b/trunk/synth/gnotest.srp
@@ -254,6 +254,11 @@
                      exp(log_of_10_over_20 * synth_myvolume),
                      synth_myindex,
                      exp(log_of_10_over_20 * synth_voice))
+    prefs.set('synth_volume', synth_volume)
+    prefs.set('synth_myvolume', synth_myvolume)
+    prefs.set('synth_voice', synth_voice)
+    prefs.save()
+    
 def orch_revb_handler(slider, db)
     orch_revb_db = db
     update_reverb()
@@ -263,6 +268,8 @@
 def update_reverb()
     synth_set_reverb(exp(log_of_10_over_20 * orch_revb_db),
                      exp(log_of_10_over_20 * my_revb_db))
+    prefs.set('orch_revb_db', orch_revb_db)
+    prefs.set('my_revb_db', my_revb_db)
 
 def make_help_window():
     var save_window = help_window
@@ -333,20 +340,26 @@
     text3 = Statictext(0, "Use Help menu for further instructions",
                        5, 215, 400, 20)
 
-vol_slider = Labeled_slider(0, "Volume (dB)", 15, 210, 400, 20, 85, -120, 0, -18.0, 'db')
+synth_volume = prefs.get('synth_volume', -18.0)
+vol_slider = Labeled_slider(0, "Volume (dB)", 15, 210, 400, 20, 85, -120, 0, synth_volume, 'db')
 vol_slider.method = 'vol_handler'
 
-myvol_slider = Labeled_slider(0, "My Volume", 15, 230, 400, 20, 85, -120, 0, -6.0, 'db')
+synth_myvolume = prefs.get('synth_volume', -6.0)
+myvol_slider = Labeled_slider(0, "My Volume", 15, 230, 400, 20, 85, -120, 0, synth_myvolume, 'db')
 myvol_slider.method = 'myvol_handler'
 
-voice_slider = Labeled_slider(0, "Voice (dB)", 15, 250, 400, 20, 85, -120, 0, -10.0, 'db')
+synth_voice = prefs.get('synth_volume', -10.0)
+voice_slider = Labeled_slider(0, "Voice (dB)", 15, 250, 400, 20, 85, -120, 0, synth_voice, 'db')
 voice_slider.method = 'voice_handler'
 
 update_volume()
 
-orch_revb = Labeled_slider(0, "Orch Reverb", 15, 270, 400, 20, 85, -120, 0, -6, 'db')
+orch_revb_db = prefs.get('orch_revb_db', -18.0)
+orch_revb = Labeled_slider(0, "Orch Reverb", 15, 270, 400, 20, 85, -120, 0, orch_revb_db, 'db')
 orch_revb.method = 'orch_revb_handler'
-my_revb = Labeled_slider(0, "My Reverb", 15, 290, 400, 20, 85, -120, 0, -24, 'db')
+
+my_revb_db = prefs.get('my_revb_db', -24.0)
+my_revb = Labeled_slider(0, "My Reverb", 15, 290, 400, 20, 85, -120, 0, my_revb_db, 'db')
 my_revb.method = 'my_revb_handler'
 
 update_reverb()