Discuss Scratch

ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

I'm making a project with images and text on them, and I want a song in the background. I have to create a music file for it, which I haven't done yet (but I know how) and what I'm wondering is how to make it play through the entire project? If I go to the first image/sprite and pick the Sounds tab, then select upload, and upload the music file, how do I make it keep playing on other sprites? Is there a way to make it play forever?
Skill_Games
Scratcher
100+ posts

How to upload music and make it play throughout the entire project

Go to the backdrop and add this script:

whenclickedforeverplaysoundaudiountildone
ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

Thank you!
ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

Do I need to put the blocks on the first sprite? I think I do but I'm not sure (I'm new here)
ResExsention
New Scratcher
1000+ posts

How to upload music and make it play throughout the entire project

ArwenUndomiel2005 wrote:

Do I need to put the blocks on the first sprite? I think I do but I'm not sure (I'm new here)

No. It doesn't matter, since the when green flag clicked is when green flag clicked. It will call every time you run the project, so put it wherever you like.
deck26
Scratcher
1000+ posts

How to upload music and make it play throughout the entire project

The blocks do need to be in the object that has that sound though - no point giving sprite1 the sound and telling sprite2 to play it.
ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

Thank you all!
Nambaseking01
Scratcher
1000+ posts

How to upload music and make it play throughout the entire project

Hello there!

This is quite simple, you just have to go to a random sprite or the backdrop area and then insert this tiny script:

whenclickedforeverplaysoundHarry Potter Hedwig Themeuntildone

Hopefully this helped! Bye!

The Hedwig theme is so good…
ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

I love Hedwig's Theme as well! And thank you!
ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

I'm also a writer and love HP (Ravenclaw)! Nice to meet you!
Nambaseking01
Scratcher
1000+ posts

How to upload music and make it play throughout the entire project

Hello there!

ArwenUndomiel2005 wrote:

I love Hedwig's Theme as well! And thank you!

The Hedwig Theme has a type of magical tune, that is why I love it so much. It is my pleasure to help people!

ArwenUndomiel2005 wrote:

I'm also a writer and love HP (Ravenclaw)! Nice to meet you!

I am Gryffindor. I did some Sorting Hat quizzes on YouTube and most of them equalled Gryffindor, so I chose for that. Really supposed to be in Ravenclaw for my intelligence though.

Bye! Nice chatting with you!


P.S.
I have read all the parts of HP until the Half-Blood Prince. The Deathly Hallows is not age-appropriate for me, look at my age in my signature. I saw too much spoilers on YouTube though I wish I did not do that.

P.P.S
I am currently obsessed with reading the Percy Jackson series, although you will not understand it much without having a good knowledge of Greek mythology, which I have. I have finished the first 5 set of books, his next adventures will come in another series called, “The Heroes of Olympia”. I am asking my father to buy that set for me.

Last edited by Nambaseking01 (June 3, 2019 15:17:49)

ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

I know, it's so magical! And yes, I wasn't allowed to read Deathly Hallows for a while either
Nambaseking01
Scratcher
1000+ posts

How to upload music and make it play throughout the entire project

ArwenUndomiel2005 wrote:

I know, it's so magical! And yes, I wasn't allowed to read Deathly Hallows for a while either

I am excited for the Battle of Hogwarts, and btw if your problem is solved then please click on the “Close this thread” button below to prevent necroposts like these.
ArwenUndomiel2005
New Scratcher
9 posts

How to upload music and make it play throughout the entire project

Yeah, the Battle of Hogwarts is epic (although pretty sad too ) Okay, I will, I think you have to wait 24 hours though.
Nambaseking01
Scratcher
1000+ posts

How to upload music and make it play throughout the entire project

ArwenUndomiel2005 wrote:

Yeah, the Battle of Hogwarts is epic (although pretty sad too ) Okay, I will, I think you have to wait 24 hours though.

Oh okay. Yes, the BTH is pretty sad.
Za-Chary
Scratcher
1000+ posts

How to upload music and make it play throughout the entire project

Closed by request.

Powered by DjangoBB