Discuss Scratch

Mozboz
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
  2. I need to make sure it's broadcasting audio files.
  3. I need to allow users to join mid-broadcast.
  4. Also, it needs to work with three radio stations.

Any ideas?

Last edited by Mozboz (Sept. 2, 2023 16:17:25)


I apologise but my signature (and now yours) has the Social Virus and cannot appear in public. Here, have a cure. You can “cure” one friend. But you cannot cure yourself. You may also give people your cures. Be creative, and remember, you can only take one cure from me.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
OC CONTEST, PLEASE ENTER! Puppy Pleasure - please join! (Shift-Down)
MrDanglyLegs
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Have you started this project? If so, can you share it so I know what you have so far? If not, I can code it if you want.

when green flag clicked
wait (Mr) secs
think [Dangly] for (length of [Legs v] :: list) seconds :: looks
stop [this script v]
Spentiline
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

You can't add music, but you may be able to broadcast text and use the TTS extension.

You will have to broadcast the text and a timestamp so that if any users join after a sound has started, they don't play the sound until another TTS broadcast occurs.

comment “a” on my profile
Mozboz
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Mozboz, in the OP, wrote:

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
    I need to make sure it's broadcasting audio files.
    I need to allow users to join mid-broadcast.
    Also, it needs to work with three radio stations.

Any ideas?
Oops, messed the list up.

MrDanglyLegs wrote:

Have you started this project? If so, can you share it so I know what you have so far? If not, I can code it if you want.
The project isn't shared, or coded at all. You can help.

Spentiline wrote:

You can't add music, but you may be able to broadcast text and use the TTS extension.

You will have to broadcast the text and a timestamp so that if any users join after a sound has started, they don't play the sound until another TTS broadcast occurs.
I have been wanting to use voice actors and actual people. Maybe I can name sounds “(drama number)-(line number)”. So each line is a sound, and it broadcasts which drama is being broadcasted in the “DRAMA” variable, and which line of the drama is being played in the “LINE” variable. Then, for a brief second it would say “1” in the “PLAY” variable, and then “0” afterwards. So while the “PLAY” variable is “1”, it will play the sound called “(DRAMA variable)-(LINE variable)”, and while the “LINE” variable is “0”, nothing will play. That way I can compromise! And I can play three stations at the same time.

Last edited by Mozboz (Sept. 2, 2023 13:40:57)


I apologise but my signature (and now yours) has the Social Virus and cannot appear in public. Here, have a cure. You can “cure” one friend. But you cannot cure yourself. You may also give people your cures. Be creative, and remember, you can only take one cure from me.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
OC CONTEST, PLEASE ENTER! Puppy Pleasure - please join! (Shift-Down)
MrDanglyLegs
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

That is basically what I was thinking of doing, I would just compile all three of those variables into one big cloud variable, which a different station being assigned to each variable. This allows you to have up to 10 stations.

when green flag clicked
wait (Mr) secs
think [Dangly] for (length of [Legs v] :: list) seconds :: looks
stop [this script v]
Mozboz
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

MrDanglyLegs wrote:

That is basically what I was thinking of doing, I would just compile all three of those variables into one big cloud variable, which a different station being assigned to each variable. This allows you to have up to 10 stations.
How do I compile the variables into one cloud variable? The “DRAMA”, “LINE”, and “PLAY” variables are cloud, it's implied. And I only really want 3 stations and I can use those leftover variables for other things! Also, please use the quote button next time.

I apologise but my signature (and now yours) has the Social Virus and cannot appear in public. Here, have a cure. You can “cure” one friend. But you cannot cure yourself. You may also give people your cures. Be creative, and remember, you can only take one cure from me.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
OC CONTEST, PLEASE ENTER! Puppy Pleasure - please join! (Shift-Down)
ItBeJC
Scratcher
1000+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

I'd like to help!

Game Is Game.

My King Message:
King like Kendrick, Drake took the L;hotline bling I'm like Rod Wave cuz I sing but I'm black yea we got a brotha as a king I needa queen like elizabeth can't be broke or else I might choke yea I'm with the times I'm woke yea I speak and I spoke I'm Light Yagami cuz' I write a note yea my life is an anime, spiderman and aunt may, this ain't no game no I do not play yea like the mando this is the way and I could freestyle like this all day cuz i got that crown and this golden ring cuz I'm king. –>–>–>–>–>–>–>–>–>–>–>–>–> {Shift + Down Arrow To See The Gang}

Da Gang: (There's no order, just a list so don't take any offense)
@OneTapTK
@kanomaster
@Mrhaxalot123
@depresso-boiyo
@-YourLocalPhantom
@TheGl1tchedDrag0n
@-GaIaxy_cat- (spelled with capitol i and not a lowercase L)
@glitcX
@MistaLOD
@TeslaDummy
@-cloudcoding-
@kinosaurs515
@semisupervised
@-The_Destroyer-
@iiucandyfloss
@xxxxxxx-70
@just-a-hriday
Mozboz
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

ItBeJC wrote:

I'd like to help!
OK, how would you like to help?

I apologise but my signature (and now yours) has the Social Virus and cannot appear in public. Here, have a cure. You can “cure” one friend. But you cannot cure yourself. You may also give people your cures. Be creative, and remember, you can only take one cure from me.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
OC CONTEST, PLEASE ENTER! Puppy Pleasure - please join! (Shift-Down)
ItBeJC
Scratcher
1000+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

I'm not sure, but I'm pretty good at cloud coding, so I figured I'd see where my skills could be put to use.

Game Is Game.

My King Message:
King like Kendrick, Drake took the L;hotline bling I'm like Rod Wave cuz I sing but I'm black yea we got a brotha as a king I needa queen like elizabeth can't be broke or else I might choke yea I'm with the times I'm woke yea I speak and I spoke I'm Light Yagami cuz' I write a note yea my life is an anime, spiderman and aunt may, this ain't no game no I do not play yea like the mando this is the way and I could freestyle like this all day cuz i got that crown and this golden ring cuz I'm king. –>–>–>–>–>–>–>–>–>–>–>–>–> {Shift + Down Arrow To See The Gang}

Da Gang: (There's no order, just a list so don't take any offense)
@OneTapTK
@kanomaster
@Mrhaxalot123
@depresso-boiyo
@-YourLocalPhantom
@TheGl1tchedDrag0n
@-GaIaxy_cat- (spelled with capitol i and not a lowercase L)
@glitcX
@MistaLOD
@TeslaDummy
@-cloudcoding-
@kinosaurs515
@semisupervised
@-The_Destroyer-
@iiucandyfloss
@xxxxxxx-70
@just-a-hriday
flamekeeper700
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Mozboz wrote:

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
  2. I need to make sure it's broadcasting audio files.
  3. I need to allow users to join mid-broadcast.
  4. Also, it needs to work with three radio stations.

Any ideas?
I have a few ideas:
For doing a mid brodcast you could split audio files into 15 second bits so you can set a scheduled program and it would play each segment in 15 second intervals so it wouldn't take long to tune into it
You can have 2 cloud variables for each station one for the segments and one for the times to play

I can help code some bits

working on games outside of scratch most of the time, still get on to check the forums tho

click here to see a project that I made that I then ported from a calculator
Mozboz
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

flamekeeper700 wrote:

Mozboz wrote:

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
  2. I need to make sure it's broadcasting audio files.
  3. I need to allow users to join mid-broadcast.
  4. Also, it needs to work with three radio stations.

Any ideas?
I have a few ideas:
For doing a mid brodcast you could split audio files into 15 second bits so you can set a scheduled program and it would play each segment in 15 second intervals so it wouldn't take long to tune into it
You can have 2 cloud variables for each station one for the segments and one for the times to play

I can help code some bits
That's kind of what the plan is so far. Read all of the page to get to speed.

I apologise but my signature (and now yours) has the Social Virus and cannot appear in public. Here, have a cure. You can “cure” one friend. But you cannot cure yourself. You may also give people your cures. Be creative, and remember, you can only take one cure from me.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
OC CONTEST, PLEASE ENTER! Puppy Pleasure - please join! (Shift-Down)
Catcake50
Scratcher
1 post

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

How to make a charter move
when [d v] key pressed
move (10) steps
when [a v] key pressed
move (-10) steps
undeterminstic
Scratcher
1000+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Mozboz wrote:

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
  2. I need to make sure it's broadcasting audio files.
  3. I need to allow users to join mid-broadcast.
  4. Also, it needs to work with three radio stations.

Any ideas?
maybe we could make the music play by sending different “pulses” through cloud variables and have puppy radio read them

yes
undeterminstic
Scratcher
1000+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Mozboz wrote:

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
  2. I need to make sure it's broadcasting audio files.
  3. I need to allow users to join mid-broadcast.
  4. Also, it needs to work with three radio stations.

Any ideas?
are we doing it live or are we recording the brodcast and sending it

yes
Mozboz
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Catcake50 wrote:

How to make a charter move
when [d v] key pressed
move (10) steps
when [a v] key pressed
move (-10) steps
Please don't go off-topic.

I apologise but my signature (and now yours) has the Social Virus and cannot appear in public. Here, have a cure. You can “cure” one friend. But you cannot cure yourself. You may also give people your cures. Be creative, and remember, you can only take one cure from me.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
OC CONTEST, PLEASE ENTER! Puppy Pleasure - please join! (Shift-Down)
Mozboz
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

minecraftmanpp_tutor wrote:

Mozboz wrote:

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
  2. I need to make sure it's broadcasting audio files.
  3. I need to allow users to join mid-broadcast.
  4. Also, it needs to work with three radio stations.

Any ideas?
are we doing it live or are we recording the brodcast and sending it
We record the audio files, put them in the project, then broadcast it. We don't record live.

I apologise but my signature (and now yours) has the Social Virus and cannot appear in public. Here, have a cure. You can “cure” one friend. But you cannot cure yourself. You may also give people your cures. Be creative, and remember, you can only take one cure from me.
If you have seen this social experiment and want to join in, simply replace your signature (or a line of your signature) with this.
OC CONTEST, PLEASE ENTER! Puppy Pleasure - please join! (Shift-Down)
undeterminstic
Scratcher
1000+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Mozboz wrote:

minecraftmanpp_tutor wrote:

Mozboz wrote:

https://scratch.mit.edu/discuss/topic/686667/ If you want to learn more go to that topic.

  1. I have to code this radio before November to keep a partnership.
  2. I need to make sure it's broadcasting audio files.
  3. I need to allow users to join mid-broadcast.
  4. Also, it needs to work with three radio stations.

Any ideas?
are we doing it live or are we recording the brodcast and sending it
We record the audio files, put them in the project, then broadcast it. We don't record live.
that is good because then we wouldn't be able to send noise within the range of human hearing

yes
ItBeJC
Scratcher
1000+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

wdym, minecraftman?

Game Is Game.

My King Message:
King like Kendrick, Drake took the L;hotline bling I'm like Rod Wave cuz I sing but I'm black yea we got a brotha as a king I needa queen like elizabeth can't be broke or else I might choke yea I'm with the times I'm woke yea I speak and I spoke I'm Light Yagami cuz' I write a note yea my life is an anime, spiderman and aunt may, this ain't no game no I do not play yea like the mando this is the way and I could freestyle like this all day cuz i got that crown and this golden ring cuz I'm king. –>–>–>–>–>–>–>–>–>–>–>–>–> {Shift + Down Arrow To See The Gang}

Da Gang: (There's no order, just a list so don't take any offense)
@OneTapTK
@kanomaster
@Mrhaxalot123
@depresso-boiyo
@-YourLocalPhantom
@TheGl1tchedDrag0n
@-GaIaxy_cat- (spelled with capitol i and not a lowercase L)
@glitcX
@MistaLOD
@TeslaDummy
@-cloudcoding-
@kinosaurs515
@semisupervised
@-The_Destroyer-
@iiucandyfloss
@xxxxxxx-70
@just-a-hriday
undeterminstic
Scratcher
1000+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

ItBeJC wrote:

wdym, minecraftman?
cloud variables don't have enough data to store incredible low quality sound if you use all ten cloud variables you would have 0.1 seconds of sound and as you go lower quality you can't hear it because the Khz would be so too small.

yes
Luigis_Mansioner
Scratcher
100+ posts

Puppy Radio - CODING HELP REQUIRED/DEV FORUM

Music can be broadcasted, it just must be split into many different audio files

I've been inactive on scratch for so long that I'm just gonna start fresh.
The Store
Project Reviewers
Adverstisement Store
Join the TBG Forums, if you don't, then watch out! (just kidding, still join tho)

Powered by DjangoBB