Page 1 of 1
Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Mon Sep 26, 2016 12:14 pm
by Thomas seewald
Hello, i think revSetSpeechVolume 100 is not full volume, but 100% of actual Volume.
This way it can not "speak" louder than the current music.
This is concept or error?
If concept, suggestions are welcome to solve the problem without platform specific tricks as applescript.
Thank you
TS
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Mon Sep 26, 2016 12:46 pm
by jmburnod
Hi Thomas,
Welcome to this forum,
I think revSetSpeechVolume 100 is not full volume, but 100% of actual Volume.
Yes. You're right
This is concept or error?
Sorry I don't know
Best regards
Jean-Marc
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Mon Sep 26, 2016 3:07 pm
by dunbarx
Hi.
What is the difference between "full" volume" and "maximum" volume?
Surely you computer does not have "11" as the maximum volume, as purported by the amplifier of the rock band "Spinal Tap".
Craig Newman
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Tue Sep 27, 2016 9:29 pm
by jmburnod
Hi Craig
From the doc :
"The higher the volume, the louder LiveCode will speak. Setting the volume to 0 will cause LiveCode to speak silently, and setting the volume to 100 will result in the maximum possible speech loudness"
If I understand this correctly, the doc is wrong. That is not the maximum possible, but as said Thomas 100 % of the current volume.
I remember it was possible to do something like that with hypercard or supercard
Code: Select all
on startup
put the soundvolume into tOldSndVolume
end startup
on quit
set the soundvolume to tOldSndVolume
end quit
Jean-Marc
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Tue Sep 27, 2016 10:39 pm
by dunbarx
Jean-Marc.
But what is the difference between the maximum volume and the full volume? I still don't see where you can set the volume greater than that settable in the system preferences.
And it must have been Supercard, because I do not remember a native property "soundVolume" in HC.
So did that program have two "volume" properties?
Craig
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Wed Sep 28, 2016 6:59 am
by SparkOut
@Craig, iiuc, the (general) sound volume on the computer may be set to 70% of the maximum system volume.
That volume level becomes the maximum possible to use with speech output. Given the above, if you set revSetSpeechVolume 70, your speech will sound at 70% of 70% of the max system volume.
Which is what I personally would expect. I would not want to be using my computer with the sound low down so as not to cause a disturbance and then have it overriding my consideration by shouting something out at loudest volume.
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Wed Sep 28, 2016 2:42 pm
by dunbarx
Sparkout.
Ah, now I see what everyone means.
Craig
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Posted: Mon Oct 03, 2016 9:35 am
by jmburnod
@Craig
And it must have been Supercard, because I do not remember a native property "soundVolume" in HC.
Yes.
All the best
Jean-Marc