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: Audio

Previous Thread :: Next Thread 
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:12 PM
First, go to the link to my "Audio" thread to understand better.

http://www.roblox.com/Forum/ShowPost.aspx?PostID=142124159#142128253

What I need to know is what would I do if I were to add a second sound (along with the first one I added [separate as of now]) to combine them together?

Why I ask is that then there would be two LocalScripts in the StarterGui saying the same thing, but for two different sounds. So I don't know if one will cancel out the other, or if neither work or what.

You need to look in the first thread to understand or else this will make no sense.
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:13 PM
By the way, the user who sent me here is "gogogama".

If you feel confused, just ask him about it. :)
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:16 PM
The two sounds/audio's that I want to combine are:

ocean waves:
http://www.roblox.com/Ocean-Waves-item?id=130852683

seagulls:
http://www.roblox.com/seagulls-item?id=139019046
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:29 PM
Lol. I'm guessing no one knows how to combine sounds?

Well, thanks for trying guys! If you find anything though, please let me know! Thanks! :D
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
30 Jul 2014 08:32 PM
No. You are asking us to make a script.

If you question is if two sounds can play at once the awnser is: Yes! Of course!
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:36 PM
No, i'm not asking you to make a script. I's asking how to make it to combine the two sounds. More like step-by-step instructions on how to make the script.

If I was that lazy, I would ask you directly to make the script for me, but that would be selfish and I wouldn't learn anything. Therefore this thread would be virtually useless in my point of view if that were to happen.
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
30 Jul 2014 08:41 PM
To combine?
You could just play them at the same time.

You can't physically combine two songs into one "Sound" via scripting.
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:46 PM
Combine/play at the same time is what I meant.

But what I'm asking is how to do so, and since your comments don't seem to be answering that question of "how to play two sounds at once", then I would rather you not answer to this thread. That way I can concentrate on people that do decide to help. Thank you for your time anyways. :)
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
30 Jul 2014 08:47 PM
game.Sound:Play()

Do that in a script
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
30 Jul 2014 08:48 PM
game.Workspace.Sound:Play()*****

Just in regular scripts and do it for each audio.
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
30 Jul 2014 08:49 PM
You can just play the sounds in Workspace, and it will be globably played.
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:50 PM
Thank you.

Most importantly, what type of script is it? (LocalScript etc.).

Least important;y, does it need to be placed anywhere (yes or no).
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:51 PM
*and where when you answer yes or no please. :)
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:55 PM
Please ignore my last two comments. Thank you.
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 09:01 PM
READ: So I added a script to both seperate sounds.

Both scripts read as follows

1(first line) game.Workspace.Sound:Play()



But I have a problem. Only the first sound that I added played. Not both. Did I do something wrong?
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
30 Jul 2014 09:35 PM
Yes.
Put this in both sounds instead
script.Parent:Play()

Bc if you have two things called the same thing say "Sound"
When you tell the computer to find "Sound" It goes to workspace to find sound

>Workspace
>Sound
>Sound

But there is two sounds. So It choose first one.
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