Hi,
Did you succeed yet?
I thought this wasn’t possible, actually, thinking that whatever you create the sound object as will be permanent. But, not so; the sounddevice itself (turn on sound device in experiment settings, will create global “sound” object) can be adjusted. For example, if you have a soundout object (let’s call it soundout1, and make it play windows critical stop or some such, set it to loop, turn on volume control, and delete it/make it unreferenced), this will work:
Dim i As Integer
soundout1.Play
For i = -10000 To 0 Step 100
sound.Volume = i
debug.print i
sleep 100
Next i
sleep 2000
It looks better if you use a dual monitor setup and check the debug screen.
Hope that helps.
Best,
Michiel
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4f243f8e-e653-490a-89c1-d22d3b0c2560%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.