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.
Offline
Oh yes, that'd be a very good addition to the catergory of programming blocks. I second the motion(or idea lol).
Offline
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.
Offline
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)
Offline
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
Offline
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
jacool wrote:
I actually dreamed that there was a frequency block on Scratch
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
RHY3756547 wrote:
jacool wrote:
I actually dreamed that there was a frequency block on Scratch
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 ^^
Offline
Hmm - a good thing would be for this and the volume block to work online aswell - as currently the mic does nothing online.
Offline
jacool wrote:
I actually dreamed that there was a frequency block on Scratch
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
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