Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Too Smart For My Own Good

Too Smart For My Own Good

Scheduled Pinned Locked Moved The Lounge
csharpdelphihtmlcomdesign
17 Posts 12 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G GenJerDan

    Or something. About 13 years ago, I wrote a program that converts images into music. While not to everyone's taste, and actually pretty crappy about 20% of the time, the music produced was recognizable as such. Well. After a dozen years of actually paying attention to what I'm doing and learning all sorts of programmy stuff, I'm just now finishing up a rewrite in C# (the original was Delphi) and...it sounds like crap. The conversion it performs is much too accurate, or something. :( I am now going in adding features to make it sloppier. Sigh. But the UI is prettier. :-D EDIT: And the output isn't nearly as bad as it was on the first few tests... A MIDI file and the image it came from.[^] I don't expect anyone to listen to the entire thing...it's 30 minutes long. ;P But the first 3 minutes or so will give you an idea of what it can do. Standard, GM MIDI, so it should play on anything that will play MIDI. I think most PCs have the capability.

    YouTube and My Mu[sic], Films and Windows Programs, etc.

    C Offline
    C Offline
    Chris Quinn
    wrote on last edited by
    #7

    If you think your system produces crap music, have a look at this![^]

    ==================================== Transvestites - Roberts in Disguise! ====================================

    OriginalGriffO 1 Reply Last reply
    0
    • G GenJerDan

      Or something. About 13 years ago, I wrote a program that converts images into music. While not to everyone's taste, and actually pretty crappy about 20% of the time, the music produced was recognizable as such. Well. After a dozen years of actually paying attention to what I'm doing and learning all sorts of programmy stuff, I'm just now finishing up a rewrite in C# (the original was Delphi) and...it sounds like crap. The conversion it performs is much too accurate, or something. :( I am now going in adding features to make it sloppier. Sigh. But the UI is prettier. :-D EDIT: And the output isn't nearly as bad as it was on the first few tests... A MIDI file and the image it came from.[^] I don't expect anyone to listen to the entire thing...it's 30 minutes long. ;P But the first 3 minutes or so will give you an idea of what it can do. Standard, GM MIDI, so it should play on anything that will play MIDI. I think most PCs have the capability.

      YouTube and My Mu[sic], Films and Windows Programs, etc.

      C Offline
      C Offline
      Colin Mullikin
      wrote on last edited by
      #8

      GenJerDan wrote:

      the original was Delphi

      I'm sorry. :^)

      The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

      1 Reply Last reply
      0
      • R Rage

        GenJerDan wrote:

        I wrote a program that converts images into music

        :omg: You must be made of the same material of those people who once came to the idea of actually milking a cow and drinking the result. Seriously, images converted to music ?

        ~RaGE();

        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

        W Offline
        W Offline
        Worried Brown Eyes
        wrote on last edited by
        #9

        If I remember rightly, one of the puzzles in the Perplex City game was a picture which, when put through a processor to convert pictures to sound, produced the right answer - personally, I couldn't make anything out of what I heard when I did it. I'll try to remember to look it out tonight. EDIT - or even a quick look now - here[^] - the solution will be towards the end. Regards, Stewart

        1 Reply Last reply
        0
        • C Chris Quinn

          If you think your system produces crap music, have a look at this![^]

          ==================================== Transvestites - Roberts in Disguise! ====================================

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #10

          If you think that produces crap music, have a look at this![^]

          If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          C 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            If you think that produces crap music, have a look at this![^]

            If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

            C Offline
            C Offline
            Chris Quinn
            wrote on last edited by
            #11

            ... and if you think they produce crap music, have a look at this![^]

            ==================================== Transvestites - Roberts in Disguise! ====================================

            OriginalGriffO 1 Reply Last reply
            0
            • C Chris Quinn

              ... and if you think they produce crap music, have a look at this![^]

              ==================================== Transvestites - Roberts in Disguise! ====================================

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #12

              Arggghhh! You win! You win!

              If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • G GenJerDan

                Or something. About 13 years ago, I wrote a program that converts images into music. While not to everyone's taste, and actually pretty crappy about 20% of the time, the music produced was recognizable as such. Well. After a dozen years of actually paying attention to what I'm doing and learning all sorts of programmy stuff, I'm just now finishing up a rewrite in C# (the original was Delphi) and...it sounds like crap. The conversion it performs is much too accurate, or something. :( I am now going in adding features to make it sloppier. Sigh. But the UI is prettier. :-D EDIT: And the output isn't nearly as bad as it was on the first few tests... A MIDI file and the image it came from.[^] I don't expect anyone to listen to the entire thing...it's 30 minutes long. ;P But the first 3 minutes or so will give you an idea of what it can do. Standard, GM MIDI, so it should play on anything that will play MIDI. I think most PCs have the capability.

                YouTube and My Mu[sic], Films and Windows Programs, etc.

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #13

                I'd blame instagram instead.

                People say nothing is impossible, but I do nothing every day.

                1 Reply Last reply
                0
                • L Lost User

                  I've just recently finished re-reading Dirk Gently's Holistic Detective agency. One of the main characters in that was a developer who had written software to display accounts as music, then anything else that could be converted to a waveform. Most of his results were formless cacophonies too. But, it seems like a decent idea to me. It is trying to create synesthesia, converting what stimulates one sense into something that stimulates another.

                  Every man can tell how many goats or sheep he possesses, but not how many friends. Shed Petition[^]

                  G Offline
                  G Offline
                  GenJerDan
                  wrote on last edited by
                  #14

                  I've seen/heard some that go right to Wave from images, but didn't much like them. I went the (ha ha) easier route. R/G/B -> 0-255 -> 0-127 = MIDI notes. :)

                  YouTube and My Mu[sic], Films and Windows Programs, etc.

                  1 Reply Last reply
                  0
                  • G GenJerDan

                    Or something. About 13 years ago, I wrote a program that converts images into music. While not to everyone's taste, and actually pretty crappy about 20% of the time, the music produced was recognizable as such. Well. After a dozen years of actually paying attention to what I'm doing and learning all sorts of programmy stuff, I'm just now finishing up a rewrite in C# (the original was Delphi) and...it sounds like crap. The conversion it performs is much too accurate, or something. :( I am now going in adding features to make it sloppier. Sigh. But the UI is prettier. :-D EDIT: And the output isn't nearly as bad as it was on the first few tests... A MIDI file and the image it came from.[^] I don't expect anyone to listen to the entire thing...it's 30 minutes long. ;P But the first 3 minutes or so will give you an idea of what it can do. Standard, GM MIDI, so it should play on anything that will play MIDI. I think most PCs have the capability.

                    YouTube and My Mu[sic], Films and Windows Programs, etc.

                    Sander RosselS Offline
                    Sander RosselS Offline
                    Sander Rossel
                    wrote on last edited by
                    #15

                    Just say the music it creates is experimental or avant-garde and you won't have to change a thing :D There's even a 'music' genre called noise and the idea is for the listener to NOT have a pleasant listening experience. Use mankinds weirdness in your favour here ;)

                    It's an OO world.

                    public class Naerling : Lazy<Person>{
                    public void DoWork(){ throw new NotImplementedException(); }
                    }

                    1 Reply Last reply
                    0
                    • G GenJerDan

                      Or something. About 13 years ago, I wrote a program that converts images into music. While not to everyone's taste, and actually pretty crappy about 20% of the time, the music produced was recognizable as such. Well. After a dozen years of actually paying attention to what I'm doing and learning all sorts of programmy stuff, I'm just now finishing up a rewrite in C# (the original was Delphi) and...it sounds like crap. The conversion it performs is much too accurate, or something. :( I am now going in adding features to make it sloppier. Sigh. But the UI is prettier. :-D EDIT: And the output isn't nearly as bad as it was on the first few tests... A MIDI file and the image it came from.[^] I don't expect anyone to listen to the entire thing...it's 30 minutes long. ;P But the first 3 minutes or so will give you an idea of what it can do. Standard, GM MIDI, so it should play on anything that will play MIDI. I think most PCs have the capability.

                      YouTube and My Mu[sic], Films and Windows Programs, etc.

                      K Offline
                      K Offline
                      kevinpelgrims
                      wrote on last edited by
                      #16

                      Wow, I just had a brilliant idea! Let's also create a program to convert your generated music back into an image. That way you can transfer images through sound (and see the music).

                      G 1 Reply Last reply
                      0
                      • K kevinpelgrims

                        Wow, I just had a brilliant idea! Let's also create a program to convert your generated music back into an image. That way you can transfer images through sound (and see the music).

                        G Offline
                        G Offline
                        GenJerDan
                        wrote on last edited by
                        #17

                        Well, it could be used to create an image. But it won't be the image. The height/width isn't stored, and it doesn't use the entire pixel. And the map going the other way is ambiguous, i.e. is the note value of 112 representing a color value of 112 or 224?

                        YouTube and My Mu[sic], Films and Windows Programs, etc.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups