Author Topic: Can anyone make me a little program?  (Read 398 times)

I have a music technology course and learning what different frequencies sound like by ear is important. I have no idea how to program, I don't know how difficult it would be to do this, but could someone program something that plays you a random frequency sine wave tone between 100Hz and 10'000 Hz and then says what frequency it was in a Microsoft Sam voice? (Sine wave for sample - Audacity let's you generate sine waves of any frequency)

Would be handy to keep the frequencies to multiples of tens (e.g. some of the frequencies might be 260, then 570, then 10'000). And it would be completely random so I have to guess what the last frequency was before it tells me. This would be REALLY helpful to me. And I would honestly probably pay £5 for it over paypal.

idk if this is possible for me to do.
maybe you could try this using Java

From what you have posted, this is what I have come up with as a possibility.
1) make an array filled with those frequencies
2) Have a randomizer pick one of those frequencies (1 - whatever, in 10s)
3) Have it play the sound, then send to the console what sound was played
4) delay the thread
5) And break; with a while loop, so it happens again.

This is just an idea, I don't know if this is 100% possible in Java, but I think it should be.

(And if you want, to avoid it repeating, it could delete that array that was played, after it was played and announced)

Please don't bash me if I am wrong, I'm just trying to help :c