Discuss Scratch

bloonboom519_
Scratcher
81 posts

Sound Loudness Block - Test it now!

i need this

What's a kumquat?
MathlyCat
Scratcher
1000+ posts

Sound Loudness Block - Test it now!

Support, this would be really cool!! This could make tons of projects better!!!!

Think before you act.
Actions speek louder than words.

hi there fella
singyoshi
Scratcher
39 posts

Sound Loudness Block - Test it now!

I support this
dimitrip
Scratcher
100+ posts

Sound Loudness Block - Test it now!

Hi Mr_sprite.

I don't understand well how your new block returns the sound's (fundamental?) frequency.

I've tried it out with a pure sine sweep signal and I was expecting that the Sound “Loudness” demo would return a straight line, or an exponential curve or something like that, since the input signal has a function that simply raises continuously the frequency of a pure sinusoid from 20hz to 20Khz on a 20s time slice.

But the result is not as expected:


Maybe you have an idea why ?

Anyway congrats for your insider developments (I would love being able doing such), and it would be nice and funny that a block that returns the fundamental frequency would exist in Scratch, yes.

Greetz,
Dimitri.


For what concerns my own Scratch stuff, it's all provided under Creative Commons level zero license.
Mr_sprite
Scratcher
81 posts

Sound Loudness Block - Test it now!

dimitrip wrote:

Hi Mr_sprite.

I don't understand well how your new block returns the sound's (fundamental?) frequency.

I've tried it out with a pure sine sweep signal and I was expecting that the Sound “Loudness” demo would return a straight line, or an exponential curve or something like that, since the input signal has a function that simply raises continuously the frequency of a pure sinusoid from 20hz to 20Khz on a 20s time slice.

But the result is not as expected:


Maybe you have an idea why ?

Anyway congrats for your insider developments (I would love being able doing such), and it would be nice and funny that a block that returns the fundamental frequency would exist in Scratch, yes.

Greetz,
Dimitri.

Yeahhh… It's not perfect. The one you can test I made it back when I didn't understand much what I was doing. I am trying to fix it to make it do what I said it did, but I have a lot of other things going on.
dimitrip
Scratcher
100+ posts

Sound Loudness Block - Test it now!

Thank you.
If you could put me on the rails, I would be pleased to participate in the inside devl.
Greetz,
D.


For what concerns my own Scratch stuff, it's all provided under Creative Commons level zero license.
Nether_before
Scratcher
1000+ posts

Sound Loudness Block - Test it now!

Support!

~~If life gives you kumquats, lock your signature up, bury it in the ground and hope it's safe~~
hello child. i am an elf
Sheep_tester
Scratcher
500+ posts

Sound Loudness Block - Test it now!

another use for this block is to keep the song with the animation in AMVs because sometimes the timing gets off (unless you are using my method, which would keep the animation up with the song all the time)

The above post was most likely written by a sheep. Advertisements:
-Cubix-
Scratcher
4 posts

Sound Loudness Block - Test it now!

I tries out the link u made. it doesnt work!
angpug1
Scratcher
45 posts

Sound Loudness Block - Test it now!

Support!

☆αиgρυg1☆
minecraft_stuff
Scratcher
1 post

Sound Loudness Block - Test it now!

Can you please re-upload the files? They don't appear on dropbox.
LeoBernard
Scratcher
79 posts

Sound Loudness Block - Test it now!

SUPPORT !!!

Loves drawing and Scratch. Lives in France. Makes English mistakes ¯\_(ツ)_/¯
Surpeedude
Scratcher
38 posts

Sound Loudness Block - Test it now!

I get the 404 error. I really want that, so plz make it open again!

when green flag clicked
if <(Scratch) = [Awesome]> then
forever
Imagine
Program Share
end


else
set [Scratch v] to [Awesome]
end

Please click my username if you find funny memes funny and games that
are bad but not bad fun to good. Thanks
mystery4000
Scratcher
100+ posts

Sound Loudness Block - Test it now!

Wouldn’t this go in the show and tell section
braxbroscratcher
Scratcher
1000+ posts

Sound Loudness Block - Test it now!

Mr_sprite wrote:

savaka wrote:

Support, but one block like that can't give multiple values. It should be like this:
([loudness | pitch v] of sound playing :: sound)
Then you would probably also add pitch for sensing:
([loudness | pitch v] :: sensing)

What do you mean “one block like that can't give multiple values”?
Blocks currently cannot output arrays.

Ex.
loudness > pitch, loudness

This is perfectly fine in most languages, as you just reference a specific part of the array, but this is not the case in Scratch. Everything must have 1 output. Things can have many inputs, but only one output.


My signature is kumquat proof.
But not tangerine pro-
nomnomnomnomnom










Current Project:
n/a
Quotes: “In our last hour, we burn the most brightly, trying to deny that we are burning out.” -Me
“Well, no. 1024 Killerbytes make a Murderbyte.” -MegaByteCorporations
“I hate out of context quotes.” -Me
“I hate it when Cubeupload breaks.” -Also me
finn55
Scratcher
53 posts

Sound Loudness Block - Test it now!

Mr_sprite wrote:

— I am currently updating the block. It will have two modes, frequency and amplitude!

This block would exist to report a number (0-100) based on the frequency of the playing sound. It is similar to the loudness block, but it does not use the microphone. To get a better idea of what I mean, you can test the block online right now Scratch Sound Loudness Online

The block looks like this:


Advanced description: It returns the frequency of the currently playing sound, as a number between 0-100. 0 meaning no sound, and 100 being the highest possible frequency possible.

Many Scratchers use the (loudness) block to gather the volume of the sound coming out of the computers speakers through a microphone. Recently NeonTech had a project featured that used a microphone in the way I just described. Many Scratchers commented that they couldn't use the project because they didn't have a mic. This block will fix that! http://scratch.mit.edu/projects/23370689/

This doesn't only have to be for audio visualizers. One could also create a game and use this block to randomly spawn an enemy when the music gets above a certain frequency.

Thepuzzlegame has created a demo for everyone to test! Open this Project inside the Scratch Sound Loudness Online link. Green Flag.

And if you want a song to test with it, here you go! : Transcendence
The creator can just create a list and store the volume many times a second, this can be used to generate the visuals as if from a mic
Support for frequency though..

Last edited by finn55 (Jan. 22, 2018 16:46:12)


i imagine that you dont care abt this::pen
JavierR100
Scratcher
500+ posts

Sound Loudness Block - Test it now!

finn55 wrote:

Mr_sprite wrote:

-[snip]-
The creator can just create a list and store the volume many times a second, this can be used to generate the visuals as if from a mic
Support for frequency though..
Please don't bump old suggestions that has 1 or more years old of innactivity.
It's great the suggestion anyway.

My customs Blocks on “Snap!” || search in google HN54FyF4KW27o*YWAD94qjEMLV62+]59 to find all my posts. || “Fantasy Tank Builder” Topic || Diep.io | Official Thread || Geometry Dash name account: "JavierR100". || Geometry Dash Official Topic

Actually, [B]en is my legal name!- Pen, BFB 5

Sorry, I'm gone to roblox now, so Im not able to reply anymore!

kenny2scratch
Scratcher
500+ posts

Sound Loudness Block - Test it now!

Just an FYI, in case nobody has said it already:

Loudness and frequency are two different things.

Mr_sprite wrote:

This block would exist to report a number (0-100) based on the frequency of the playing sound. It is similar to the loudness block, but it does not use the microphone. To get a better idea of what I mean, you can test the block online right now Scratch Sound Loudness Online

The block looks like this:


Advanced description: It returns the frequency of the currently playing sound, as a number between 0-100. 0 meaning no sound, and 100 being the highest possible frequency possible.

Many Scratchers use the (loudness) block to gather the volume of the sound coming out of the computers speakers through a microphone. Recently NeonTech had a project featured that used a microphone in the way I just described. Many Scratchers commented that they couldn't use the project because they didn't have a mic. This block will fix that! http://scratch.mit.edu/projects/23370689/

This doesn't only have to be for audio visualizers. One could also create a game and use this block to randomly spawn an enemy when the music gets above a certain frequency.

Thepuzzlegame has created a demo for everyone to test! Open this Project inside the Scratch Sound Loudness Online link. Green Flag.

And if you want a song to test with it, here you go! : Transcendence
Are you talking about a block that reports the volume of the currently playing sound, or the frequency?

post brought to you by the preview links bug and the uploads site bug. 看一下中文 Scratch 維基想參加?請參考這頁
Join the Scratch Wiki!
Made by Scratchers, for Scratchers, since December 6, 2008

Powered by DjangoBB

Standard | Mobile