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?

  • s@piefed.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    29 days ago

    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
      link
      fedilink
      arrow-up
      0
      ·
      29 days ago

      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?