This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-08-11 08:33:46

Gveradux
Scratcher
Registered: 2010-06-18
Posts: 100+

If sounds like script?

I need a 'if sounds like' script, you can guess what it means.

Please do not use forum blocks!!

Please try to make it, i'm working on it using loudness, but it's glitchy! Try to plz!

Offline

 

#2 2010-08-11 08:35:56

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: If sounds like script?

no i can't guess

Offline

 

#3 2010-08-11 08:37:13

Gveradux
Scratcher
Registered: 2010-06-18
Posts: 100+

Re: If sounds like script?

...  sad . I saw your post thing on block thingying, do you think I could make a block works that like?

Offline

 

#4 2010-08-11 11:29:56

Sunrise-Moon
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: If sounds like script?

Unfortunately, it's impossible. Well, at least on Scratch.

Last edited by Sunrise-Moon (2010-08-11 11:30:19)


http://i1067.photobucket.com/albums/u427/HulKDzN/RebornBlade.png

Offline

 

#5 2010-08-11 11:34:13

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: If sounds like script?

The only way I can figure making it is if your sounds are made with the "play note () for () beats" blocks. Are they?


http://i48.tinypic.com/2z5pqad.png

Offline

 

#6 2010-08-15 10:42:34

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: If sounds like script?

Can you not just assign sounds to variables and then compare variables?


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#7 2010-08-15 10:56:01

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: If sounds like script?

It's not impossible I'm sure, but it probably will be incredibly difficult to write, and certainly quite buggy.. It would be fun, using the loudness block, to do so, and log what the loudness is at particular intervals, but that would involve having to say it at pretty much the same volume all the time.

Maybe if we had a "pitch" block.

Offline

 

#8 2010-08-15 11:03:05

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: If sounds like script?

coolstuff wrote:

It's not impossible I'm sure, but it probably will be incredibly difficult to write, and certainly quite buggy.. It would be fun, using the loudness block, to do so, and log what the loudness is at particular intervals, but that would involve having to say it at pretty much the same volume all the time.

Perhaps if you divide by a number greater than 1 (10 would be a good place to start, I think...), and round it? That would mean that the volume could vary a bit...

I tried making something like this a long time ago, without rounding, and even with pre-recorded sounds, the readout that I got from each time I ran the sound through the project, the level came back slightly different (one or two integers out, either way...). Rounding could correct that issue, but, although the script would probably recognise sounds as the same, it might confuse sounds created at a similar volume...  hmm


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#9 2010-08-15 12:09:00

chipguy
Scratcher
Registered: 2009-09-09
Posts: 500+

Re: If sounds like script?

Gveradux wrote:

I need a 'if sounds like' script, you can guess what it means.

Please do not use forum blocks!!

Please try to make it, i'm working on it using loudness, but it's glitchy! Try to plz!

yeah, we all need it somewere...

no idea.


http://scratch.mit.edu/static/projects/chipguy/2919121_sm.png by yours truly  big_smile

Offline

 

#10 2010-08-15 12:09:51

Gveradux
Scratcher
Registered: 2010-06-18
Posts: 100+

Re: If sounds like script?

I tried that, it doesn't work though. I think I'll leave it with someone with experience.

Offline

 

Board footer