generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Sound

Previous Thread :: Next Thread 
squerpooo is not online. squerpooo
Joined: 18 Feb 2011
Total Posts: 2356
01 Nov 2014 07:58 PM
Is there a way to detect how loud a sound is at the given moment?

Reality is a lovely place, but I wouldn't wanna live there
Report Abuse
xLink123 is not online. xLink123
Joined: 07 Aug 2014
Total Posts: 11158
01 Nov 2014 08:14 PM
if Sound.Volume == x then
--code
end
Report Abuse
GodShowsTheWay is not online. GodShowsTheWay
Joined: 27 Oct 2014
Total Posts: 7180
01 Nov 2014 08:16 PM
if sound.loud == true then do
--code
end
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
01 Nov 2014 08:18 PM
^ This fool can't even Lua. Ignore him, you're doing fine.
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 08:20 PM
I think what he means even if the sound is playing, it could still be silent depending on the sound that was uploaded.

Be that the case, no, I doubt it.
Report Abuse
GodShowsTheWay is not online. GodShowsTheWay
Joined: 27 Oct 2014
Total Posts: 7180
01 Nov 2014 08:22 PM
function turnsoundDown(isup)
if sound.loud == true then do
sound.quiet == true

end

turnsoundDown(sound)
Report Abuse
ThatChristianGuy is not online. ThatChristianGuy
Joined: 14 Jun 2014
Total Posts: 1283
01 Nov 2014 08:33 PM
Love the username.


--ThatChristianGuy
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 08:50 PM
You shouldn't. The account was clearly made with the intention of trolling, and he chose to also ridicule your religion along with it.
Report Abuse
GodShowsTheWay is not online. GodShowsTheWay
Joined: 27 Oct 2014
Total Posts: 7180
01 Nov 2014 08:52 PM
I'm Christian.

It's just that you piss me off.
I asked you for help and you did nothing for me.

All eLunate does is post rude comments.

I created this account because I truly love God.

Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
01 Nov 2014 08:55 PM
I try.
And if your sign of love is a middle finger to the skies, then well, may God have mercy on your soul
XD
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 08:57 PM
Ohho, plot twist.
If eLunate is being rude to someone it's usually because they did something stupid.
Report Abuse
GodShowsTheWay is not online. GodShowsTheWay
Joined: 27 Oct 2014
Total Posts: 7180
01 Nov 2014 08:58 PM
Like you're any better.

You don't believe him at all.
Your first comment was judging my group and shirt.


That's all you can do, you can only judge.

But only God has that right.




“Do not judge, or you too will be judged. For in the same way you judge others, you will be judged, and with the measure you use, it will be measured to you." Matthew 7:1


And that fact that you hate Christians is just more proof that the bible is true.

Matthew 10:22
“ and you will be hated by all for my name's sake. But the one who endures to the end will be saved.”
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 08:59 PM
You're judging eLunate right now

#shrekt
Report Abuse
GodShowsTheWay is not online. GodShowsTheWay
Joined: 27 Oct 2014
Total Posts: 7180
01 Nov 2014 09:00 PM
"judging "


I don't see how speaking God's word is judgement.

It's informant.
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 09:02 PM
"Like you're any better."
"That's all you can do, you can only judge."
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
01 Nov 2014 09:03 PM
Come now, you speak that stuff as if you believed in shrinking cookies and white rabbits being late for a date just because they existed in a book.
Get out of wonderland dude, in real life you don't get to see how far the rabbit hole goes.
Report Abuse
squerpooo is not online. squerpooo
Joined: 18 Feb 2011
Total Posts: 2356
01 Nov 2014 09:10 PM
Why are you fighting when I still don't have an answer?

Reality is a lovely place, but I wouldn't wanna live there
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 09:12 PM
Did you even read the thread?
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
01 Nov 2014 09:12 PM
First reply sort of answered
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 09:14 PM
I doubt that's what he meant.
Report Abuse
squerpooo is not online. squerpooo
Joined: 18 Feb 2011
Total Posts: 2356
01 Nov 2014 09:25 PM
What I mean is, the volume is always changing, whether it is fading in our out. How do I detect that?

Reality is a lovely place, but I wouldn't wanna live there
Report Abuse
shooter06 is not online. shooter06
Joined: 13 Jan 2011
Total Posts: 7443
01 Nov 2014 09:27 PM
if it's in soundscape then

while wait() do
print(game.Soundscape.Sound.Volume)
end



print("Hello World!")
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
01 Nov 2014 09:27 PM
You didn't clarify at all, so we'll go through this one more time.
If it's the volume property of sound, print(sound.Volume). Otherwise you probably can't. If there isn't a property or method for it on the wiki assume that you can't.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
01 Nov 2014 09:31 PM
Actually, I have an idea. Relative sound, divide the sound's volume with the source's magnitude from the camera. Bigger = quieter, smaller = louder
Report Abuse
GodShowsTheWay is not online. GodShowsTheWay
Joined: 27 Oct 2014
Total Posts: 7180
01 Nov 2014 09:33 PM


11-01-2014 06:55 PM










































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
...
.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image