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

#1 2009-11-07 19:35:12

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

"Frequency" Block for microphone

Like there is the "Volume" block, I think there should be a frequency block for the microphone - which would allow for pitch detection in projects. (Singing games? Voice Recognition? Song writing from Humming (lol)?)

[blocks]<if><<(Frequency>20)<and>(Frequency<22)>>
<set{ Note }to( C )
<set{ Octave }to( 1 )
<end>

Post ideas.  smile

Offline

 

#2 2009-11-07 19:46:05

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: "Frequency" Block for microphone

Oh yes, that'd be a very good addition to the catergory of programming blocks.  big_smile  I second the motion(or idea lol).


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#3 2009-11-07 20:17:43

cocoanut
Scratcher
Registered: 2007-07-10
Posts: 1000+

Re: "Frequency" Block for microphone

I absolutely agree. I once  wanted to make pitch recognition in a project, that was beyond Scratch 1.2's (what I was using at the time) capabilities, and I was very disappointed. I agree this would be a good addition.


http://i42.tinypic.com/20gyvif.jpgPlease leave a message at the beep.
Steam: Hellephant

Offline

 

#4 2009-11-07 21:46:46

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: "Frequency" Block for microphone

Definately would be nice, but difficult to make.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#5 2009-11-07 22:02:17

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: "Frequency" Block for microphone

Lucario621 wrote:

Definately would be nice, but difficult to make.

I think Jens once mentioned he made a block that detects the mic's pitch... I hoped the Scratch Team would add that in 1.4 but they didn't D:

Last edited by technoguyx (2009-11-07 22:02:33)


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#6 2009-11-08 17:30:27

martianshark
Scratcher
Registered: 2008-03-24
Posts: 1000+

Re: "Frequency" Block for microphone

Yeah, that would be great. I once needed that.


http://img.geocaching.com/stats/img.aspx?txt=martianshark&amp;uid=e6cdc2c8-2476-4abd-9994-27f857396579&amp;bg=1

Offline

 

#7 2009-11-08 18:49:06

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

Re: "Frequency" Block for microphone

That would be a great addition to Scratch.


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

Offline

 

#8 2009-11-08 19:29:05

dingdong
Scratcher
Registered: 2007-08-09
Posts: 1000+

Re: "Frequency" Block for microphone

if we're putting this in it would be better if we made it capable of detecting the 10 forms of volume:

31hz 62hz 125hz 250hz 500hz 1khz 2khz 4khz 8khz and 16khz
if you want to see this in action just go look at the animation for any newgrounds audio submission


http://img851.imageshack.us/img851/2829/superanbanner.png
click the image for my music

Offline

 

#9 2009-11-09 07:53:25

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: "Frequency" Block for microphone

dingdong wrote:

if we're putting this in it would be better if we made it capable of detecting the 10 forms of volume:

31hz 62hz 125hz 250hz 500hz 1khz 2khz 4khz 8khz and 16khz
if you want to see this in action just go look at the animation for any newgrounds audio submission

Yeah - there are a lot of commands for detecting microphone/sound properties in flash.

Offline

 

#10 2009-11-09 09:05:34

jacool
Scratcher
Registered: 2008-01-25
Posts: 1000+

Re: "Frequency" Block for microphone

I actually dreamed that there was a frequency block on Scratch  smile  In my dream a made a Vocoder project XD


http://i571.photobucket.com/albums/ss159/JacobKar/svensktiger-1.png

Offline

 

#11 2009-11-09 14:07:23

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: "Frequency" Block for microphone

jacool wrote:

I actually dreamed that there was a frequency block on Scratch  smile  In my dream a made a Vocoder project XD

In my dream I remade the whole of the Guitar Hero Band experience (TM, R etc.) on Scratch lol

Last edited by RHY3756547 (2009-11-09 14:07:56)

Offline

 

#12 2009-11-09 14:52:54

jacool
Scratcher
Registered: 2008-01-25
Posts: 1000+

Re: "Frequency" Block for microphone

RHY3756547 wrote:

jacool wrote:

I actually dreamed that there was a frequency block on Scratch  smile  In my dream a made a Vocoder project XD

In my dream I remade the whole of the Guitar Hero Band experience (TM, R etc.) on Scratch lol

Lol, I have also dreamed that I figured out how to make a real-time 3D game on Scratch, If I only remembered how I did ^^


http://i571.photobucket.com/albums/ss159/JacobKar/svensktiger-1.png

Offline

 

#13 2009-11-10 15:48:53

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: "Frequency" Block for microphone

Hmm - a good thing would be for this and the volume block to work online aswell - as currently the mic does nothing online.

Offline

 

#14 2009-11-28 19:40:36

hatchetfishbobsteve
Scratcher
Registered: 2007-07-02
Posts: 19

Re: "Frequency" Block for microphone

jacool wrote:

I actually dreamed that there was a frequency block on Scratch  smile  In my dream a made a Vocoder project XD

Boy, that'd be something!

Or maybe a voice changer (set pitch to -20, set echo to 30, etc.)

Combine that with the frequency-sensing block and you could create an auto-harmonizer!

Offline

 

#15 2009-12-01 03:41:08

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: "Frequency" Block for microphone

you could alternately or in conjunction have a reporter block:
(intensity of frequency (550) hz)
or
(intensity of frequency range (440) to (660) hz)
so that you could make something that recorded multiple sounds.

Offline

 

#16 2011-04-09 13:30:01

shrucis1
Scratcher
Registered: 2010-08-06
Posts: 4

Re: "Frequency" Block for microphone

I agree to. thought it would be hard  hmm

Offline

 

Board footer