I have an instance of a sound, which points to an audio resource not a midi sound, in which I set the volume property
(instance dumbSound of Sound
(properties
number 0
priority 0
loop 1
vol 15; 127 is the default per sound.sc
)
)
I have also not set the value as well, but I didn't see any reason to paste both bits of code.
No matter what I try, I can't seem to alter the volume at which the sound plays, all four of these iterations play the sound at the same level.
(dumbSound play: number: 1)
(dumbSound play: number: 1 vol:15)
(dumbSound play: number: 1 setVol: 15)
(dumbSound play: number: 1 vol:15 setVol: 15)
Likewise, fade does not seem to work either. I am assuming that it is because of whatever it is that I am missing with the volume control, since I thought I saw somewhere in the code were it is really just altering the volume several times. Has anyone else noticed this or can see what it is that I am doing wrong?