this post was submitted on 14 Apr 2026
18 points (87.5% liked)

No Stupid Questions

48122 readers
702 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here. This includes using AI responses and summaries.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 2 years ago
MODERATORS
 

Like the infinite monkeys typing Shakespeare, but with audio instead.

If there was a program that created a series of sounds at random intervals, pitches, amplitudes, etc., how long would it take to produce an output that sounds like music, some sort of recognisable recording (e.g. a bell ring, a dog barking), or perhaps even a human voice?

top 34 comments
sorted by: hot top controversial new old
[–] Brokkr@lemmy.world 20 points 1 month ago (1 children)

If it is truly random, where every outcome is equally likely, then Beethoven's 5th could be the first thing produced. It could also take an infinite amount of time to produce.

[–] wonderingwanderer@sopuli.xyz 2 points 1 month ago (1 children)

If every outcome is equally likely, then the probably of any given outcome is approaching one in infinity...

[–] Brokkr@lemmy.world 0 points 1 month ago

Yes, that's right. Which means that any specific outcome is essentially impossible to occur. But given infinite time, they all would occur.

[–] CallMeAl@piefed.zip 12 points 1 month ago

Some would say that a generated random series of sounds is a form of avant-garde music. So it could be immediate.

[–] giacomo@lemmy.dbzer0.com 7 points 1 month ago (2 children)

not too long, I would think. animal collective seems to put out an album every few years.

[–] prole@lemmy.blahaj.zone 4 points 1 month ago (2 children)

I used to think this until I listened to Merriweather Post Pavilion while on a particularly large dose of psilocybin like a decade ago.

Absolutely incredible album. Never heard anything like it before or since.

[–] AmidFuror@fedia.io 3 points 1 month ago (1 children)

I'd heard of beer goggles, and now I've heard of psilocybin ears.

[–] prole@lemmy.blahaj.zone 3 points 1 month ago* (last edited 1 month ago)

Not much sticks past maybe a week or two after a trip, in my experience, but I can listen to that album sober and appreciate it just as much. I just needed to be altered in order to truly give it a listen the first time

[–] giacomo@lemmy.dbzer0.com 1 points 1 month ago

haha, very much the same for me. i do appreciate some of their albums while not on drugs now, though.

Boards of Canada was another one I'd always listen too if I was on something. very different music style for AC though.

[–] bdot@lemmy.world 3 points 1 month ago
[–] CapuccinoCoretto@lemmy.world 6 points 1 month ago* (last edited 1 month ago)

I have no idea how to even try to tackle this. Yet this is one of the best "no stupid questions" in a long while. Not only is it not stupid, it's inspired. Complex yet impractical, thus perfectly suited to this sub. Bravo!

[–] zxqwas@lemmy.world 6 points 1 month ago

Random intervals, pitches, amplitudes: essentially white noise? If I start generating it on my computer now I'd not count on it happening in my lifetime.

[–] disregardable@lemmy.zip 4 points 1 month ago (1 children)

have you ever used that random book generator? no matter how much you click it, it's never going to randomly generate something workable. there are way more unusable combinations of letters than usable ones. I think the same principle would apply. you'd just get string after string of random, discordant sounds.

[–] deranger@sh.itjust.works 8 points 1 month ago (1 children)

no matter how much you click it, it's never going to randomly generate something workable

Eventually you’ll click it enough to generate every written work ever produced. It will even produce a perfect narrative of your entire life, including the private moments nobody else could possibly know.

[–] SayJess@lemmy.blahaj.zone 1 points 1 month ago

Yes, in a span of now to infinity. It could take 13 weeks, or maybe 13 billion years. Maybe you’ve been clicking the button until entropy has leveled out, the final book of your life being the one written at the death of the universe. But your story hasn’t ended yet. You’re now a branch that needs to be pruned, existing in a space that doesn’t exist in any way we could ever conceive of…clicking the button. You got your hopes up 34 quadrillion years ago, but the final word was “their” instead of “there”. You’ll get their.

[–] Rhynoplaz@lemmy.world 3 points 1 month ago (1 children)

Music probably wouldn't take long. There are all sorts of everyday sounds that mesh together into little melodies.

[–] Asidonhopo@lemmy.world 2 points 1 month ago (1 children)

Low fidelity mumbled speech sounds a lot like radio static if your ears are tired enough too

[–] Rhynoplaz@lemmy.world 1 points 1 month ago

Back when I would stay up too late playing World of Warcraft, my computer fan would occasionally speak to me.

[–] HeroicBillyBishop@lemmy.ca 3 points 1 month ago

Interesting thought experiment!

How much compute you got?
Does it have to be a a full song? A snippet? We would also have to determine a "Turing test" style evaluation framework, and it had better be fast too - it cant be you and a pair of headphones determining success :)

Anyway... So, with LOTS of compute, I suspect you could get a snippet or moment that resembles a song/voice, in relatively short time-frames, but this is only because true randomness is hard and we teach computers based on the past So patterns (snippets of voice or song), based on what the computers had previously learned from likely would emerge "quickly" - something like crypto mining, so applying large volumes of compute for extended periods of time

Now, in the spirit of what you are asking, the "infinite monkeys on infinite typewrites produce Shakespeare" or in this case, a song...

So, how long to produce a song/voice in a "truly random" scenario where an infinite number of thinking machines, never having heard a song or human voice .... The answer is Undetermined. Infinity is weird

If we give it infinite time, then an infinite number of songs and plays will eventually be produced, but since we dont have infinite time, the most likely outcome (in my opinion) is that it would never produce anything we would all agree is a voice or song in any sort of human scale timeframes

Infinity is really really really big - did you know there are "bigger" and "smaller" infinities? This is the example that I found fascinating:

There are infinite whole numbers 1, 2, 3....Infinity within that set, there are infinite odd numbers, 1,3,5....inifnity also within that same set there are infinite even numbers, 2,4,6....infinity

Although all are infinite, the first infinity contains both the others, therefore is larger Mind blown when I first thought about that

Great question and fun to think about

[–] crimsonpoodle@pawb.social 2 points 1 month ago* (last edited 1 month ago) (1 children)

Well how fast are your producing it? Is it analog or digital? What is the interval of music / voice that is required? Are you normalizing it? Or are there variations in magnitude as well as frequency? Once you have these params then you should be able to create a closed form method and figure it out with statistics. (Now actually finding all those things out is probably difficult, what kind of random generator are you talking about? If it literally spits out a random wave for each tiny time interval then you could be there a while, if your adding random frequencies then it could be technically done very soon for certain definitions of music)

Edit: i would start with finding how long it takes to get a sign wave because that would be an upper bound on the answer. If that upper bound happens really soon then yay. And can presume some other sound that fits a less strict criteria would happen before it. Don’t know if that information would be helpful in finding the lower bound, but maybe.

[–] CapuccinoCoretto@lemmy.world 1 points 1 month ago

I just KNOW there is a record label executive with degrees in economics (math) and a side interest in quantum computing who is taking notes trying to figure the opportunity to produce the next thousand years of our greatest music.

[–] s@piefed.world 2 points 1 month ago (1 children)

It’s been a while since I’ve studied statistics, but I think this would be classified as a Bernoulli distribution, where 1 represents a noise that sounds like music, voices, etc., and 0 represents a noise that does not sound like those. In these distributions, “How long…?” is a matter of chance and averages of trials, not an exact datum.

[–] SkyNTP@lemmy.ml 1 points 1 month ago (1 children)

I think it is safe to say that OP's question was lay speak for "what is the mean time to get to a result". Other than that I don't think you actually addressed the question.

Let me try to get it started:

Randomly generating music might be akin to password cracking. Cracking short or simple passwords can be very fast, while cracking long or complex passwords can be very long. The rate of password guessing also affects the time to get a result.

To calculate an answer, we need the following information:

  • Guessing speed (how fast is each "song" generated and checked?)
  • Minimum "song" length that needs to be generated
  • Complexity of "song": how many instruments ("voices"), resolution (are whole notes only ok, or do we need. Half or quarter notes?)
  • Settle on some subjective definition of "song". Is S.O.S. in morse code a "song"

You might be able to take a genre of music, and decompose the songs within to get some answers... I don't have the time for that. Anyone want to take a stab at estimating the calculation?

[–] Windex007@lemmy.world 1 points 1 month ago

OPs question is just any audio that strikes the listener as being a "real" sound. Doesn't have to be long. Doesn't have to be a song.

Because it just has to be "a" "real sound" i think there is an inherent measure of subjectivity. I might think a sound sounds like something you might not.

I think I'd approach this differently. I'd just pick a short time frame (maybe 0.5s) and generate 64kbs (PCM bitrate) worth of noise.

What percentage of those should have waveforms with any shape whatsoever within the domain of human perception. (What percent of random noise has the possibility of representation of a limited physical system interacting with the atmosphere in a way the human ear could perceive it)

Then, of that, subjectivity what percentage of those sounds "sound like a thing".

[–] Lojcs@piefed.social 2 points 1 month ago* (last edited 1 month ago)

Depends on what's random imo. Random amplitudes is just white noise, random pitches changing at random intervals could sound like music right away

[–] nimpnin@sopuli.xyz 2 points 1 month ago* (last edited 1 month ago) (1 children)

It's kinda impossible to answer, since there are infinite possible ways to randomly generate noise, for instance

Most random audio processes do not have a name. And if any audio is possible, like in these processes, you would never get an exact real song, but getting close (same as a real song but a little out of tune) would happen eventually.

I think a better analogy to infinite monkeys typing Shakespeare is randomly hitting the keys on a piano, though still, you would need to specify how the timing of the notes is randomized. If the lengths of the notes and the pauses are uniform and limited to standard lengths, eventually you would get, say Mozart's Symphony no 5.

[–] Asidonhopo@lemmy.world 1 points 1 month ago

It's also impossible to answer because pareidolia will cause different people to hear what they think is music or speech in random noise at different thresholds, dependent on the person.

[–] Ephera@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

I feel like people here are arguing about technicalities, when the answer simply is that there is no way to know. If it is completely random, it could create a melody in the first 5 seconds. Or in 5 years from now.

You could only decide on a lower bound, i.e. for anything to be recognizable, you might need at least 100 ms of it, so it will take at least 100 ms to produce that.
But as soon as those 100 ms are over, all bets are off. At any moment, it could queue the appropriate sound that makes you recognize the previous seconds as some melody or sound.

[–] Gelik@feddit.dk 1 points 1 month ago

Build the program and let us know your findings

[–] Fleur_@aussie.zone 1 points 1 month ago

Instantaneous because my horoscope said I'd be super fucking lucky today

[–] Kolanaki@pawb.social 1 points 1 month ago

Most of my sleeping playlist are just random tones between a specific frequency. So probably not that long?

[–] ShellMonkey@piefed.socdojo.com -1 points 1 month ago (1 children)

About the same as as it would take to find you phone number, or any other given sequence in Pi

[–] Windex007@lemmy.world 1 points 1 month ago

The minimal sequence of bits required to produce a sound of a voice recognizably saying something is many many many many orders of magnitude greater than a phone number.

[–] AmidFuror@fedia.io -1 points 1 month ago

About 10 minutes to get to Yoko Ono.