Speaker Volume revSetSpeechVolume 100 -- Full volume
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 7
- Joined: Mon Sep 26, 2016 12:06 pm
Speaker Volume revSetSpeechVolume 100 -- Full volume
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
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
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Hi Thomas,
Welcome to this forum,
Best regards
Jean-Marc
Welcome to this forum,
Yes. You're rightI think revSetSpeechVolume 100 is not full volume, but 100% of actual Volume.
Sorry I don't knowThis is concept or error?
Best regards
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
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
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
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
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
Jean-Marc
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
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
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
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
@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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
Sparkout.
Ah, now I see what everyone means.
Craig
Ah, now I see what everyone means.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Speaker Volume revSetSpeechVolume 100 -- Full volume
@Craig
All the best
Jean-Marc
Yes.And it must have been Supercard, because I do not remember a native property "soundVolume" in HC.
All the best
Jean-Marc
https://alternatic.ch