I have some code:

' General declarations.
Public Ocean As Sound = New Sound(GUI.basepath & "/sound/Ocean.wav")
Public SeawashHeavy As Sound = New Sound(GUI.basepath & "/sound/Seawash, 
Heavy.wav")
Public Lake As Sound = New Sound(GUI.basepath & "/sound/Lake.wav")
Public SeawashMedium As Sound = New Sound(GUI.basepath & 
"/sound/Seawash, Medium.wav")
Public River As Sound = New Sound(GUI.basepath & "/sound/River.wav")
Public SeawashLight As Sound = New Sound(GUI.basepath & "/sound/Seawash, 
Light.wav")

Public Sub Initialize()

   ' Start basic environmental sound effects.

   ' Start water effects.
   Channels.Count = 32
   Channels.Volume = 0
   Ocean.Play(-1)

End

How do I adjust the volume of any of the sounds? I've read the docs 
which say that Channel is a class but other than that they are as 
spartan as a pine box. I've tried some random combinations and exposing 
the methods, etc., just by typing, but am getting nowhere. Thanks as always.

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sa...@eightvirtues.com
phone: (770) 853-6271


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to