• 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    I appreciate everyone's feedback, but nearly every post in this thread is telling me to switch to a redstone-only conversion method. I've described MIDICraft from the beginning as a program that converts MIDIs using pressure plate paths, and I like this idea for a lot of reasons (it's a much easier problem to address; paths allow for songs of arbitrary length; I even think the paths actually look pretty cool with the noteblock towers). Half of my responses are describing why my program works the way it does, and I've only received one or two actual useful pieces of advice about using a redstone-only system.

    I hope I'm not coming off like a bad sport, it's just really annoying to have someone tell me in huge font to completely rewrite the way my program works immediately after I've addressed the exact same point. Come on guys !
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Thanks for the ideas—I hadn't thought about the fact that the circuitry can extend beyond the audibility distance (it looks like Redstone used to go 300 blocks; I'm not sure if that's still true). It sounds ridiculous to try and figure it out that way (building circuits is a lot harder than building the very literal conversions I have right now). Maybe one day I'll have an amazing idea and start work on that, but for now I"m going to work on this method. I also haven't used the new Redstone repeaters yet, but I guess I'll need to take a look at them before I do serious Redstone work.
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    You should have been more clear—I had some snarky reply typed up about there only being two instruments available with Note Blocks when I decided that I'd better check it out first, only to hear completely percussion. Here's why: the version of canyon.mid I downloaded is MIDI Format 0, which only contains one track of notes. Format 1 contains multiple tracks, each of which have a track header that I'm using for instrument information. I don't know a ton about the history of MIDI, but most MIDIs you find on sites today are going to be Format 1. I converted canyon.mid using a DOS program I found at http://www.gnmidi.com/gnfreeen.htm and it worked fine, although it could still benefit from heavy tweaking—it's got too many instruments and lots of range issues. You can definitely tell which song it is, though.

    Also: this was the first long MIDI that I've converted with the new map format, though, and I realized I'm having issues with random chunks of the path missing. I'll try and have that fixed by the next release!


    I also haven't thought of any good way to do automated redstone playback—what sort of layouts are people using for big music boxes? There's obviously no way to do them for arbitrary length (at some point, the notes are going to be too far away to be heard or you're going to run out of height) and I think that's what really bugs me.
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Have you tried using my program? It's meant to make this easy for anyone to convert whatever MIDI they want.
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Well, I've worked on it for a few hours, which guarantees I'll be spending a million more the next few nights. I'll go ahead and upload the version that works with the new map format (thanks codewarrior for making this the easiest thing ever!) and the beginning signs of .schematic support (just in the code, the program doesn't have the option yet). The only other change implemented right now is that the GUI only shows existing worlds (this makes more sense with the new map formats). Keep checking for more updates!

    http://www.mediafire.com/?4dvmtx4zzuu1xx2

    e: That harmless Windows error is back--I'll fix it tomorrow. Other fixes I want to get to tomorrow are finishing schematic support and hopefully adding automated sfx removal. Thanks!
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Yeah, maybe I'll revisit it tonight. Sorry I've been kind of absent, check back tomorrow and see if I'm accomplished anything!
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Yeah--World1 or whatever (this should probably work on More Worlds too, but I haven't tested it) needs to already exist. It should give you that error specifically, though, and shouldn't crash the program.
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Quote from XDMickeYXD »
    How about you remove all water source blocks around it within an 8 block radius (since water flows 7 blocks)
    and if there is water above it without any blocks to stop the water (e.g. in an ocean) then it will remove those source blocks above it as well, but it won't remove them if there are solid blocks to stop the water (e.g. in a cave under an ocean)
    This is just a basic idea...
    But it will have to do until someone can figure out a way to stop all water from flowing in (water can flow more that 7 blocks if it goes down)

    Hope this helps... a bit =)
    -XDMickeYXD


    See, this is what I meant—that's a lot of block checking to do for what I think is generally not going to be an issue (i.e. vanilla above sea level). It would make the program take probably two or three times as long to run. Making the path into a cave would work, but would introduce lighting problems and is much less satisfying than running over hills and oceans and the natural landscape. It's also another problem that can be avoided once I add .schematic exports.

    e: and regarding mcregion—I'm not doing any of the actual hard work with Minecraft and still understand very little about how the map formats are laid out. My program depends heavily on codewarrior's pymclevel, and at this point it doesn't look like it has mcregion support (I could be wrong about this). I'd have to leave that kind of thing up to him or another actual programmer.
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Quote from gdscei »
    What I mean is that the drum support is there, but not good enough. As you said in the readme: "other pitches will be played as stick clicks". I hear a lot of these, and it gets kinda annoying and in some songs where percussion instruments are more used it makes the whole song sound stupid.


    Oh, I see. That could be optional, but I kind of like the clickiness of it—it fits the weird artificial aesthetic of it. I'll put it on my list!
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    gdscei: What do you mean by drum support? I think that every video posted in this thread except Ode to Joy has drums (including your own, right?). And the voids actually come from when I have to generate a chunk that doesn't exist on your map yet (especially a problem if you've just created a new world to lay out a MIDI path). There might be ways to avoid this (I need to look back through some PMs codewarrior sent me), but when I add .schematic support, that's going to be the smartest way to use the program and should avoid the chunk generation issues.

    XDMickeYXD: If you can think of a really good way to keep water out, I'll consider it. But short of creating a wall that goes up to the skybox (which would make the already-slowish pathclearing take forever) and a ceiling (which would take some changes, since right now I don't even keep track of the maximum height), I'm not sure there's anything I could do that would prevent someone from having problems if they tried to generate the path at the bottom of the ocean. As far as I know, Vanilla doesn't generally have water above sea level, so hopefully it's not too huge of a deal.

    hi_tech_guy_18: Honestly, I'm afraid that MIDI editing is beyond the scope of my program. It would be fairly simple to allow channels to be omitted, but that's not really useful without a way to preview individual channels and I'm not sure that the Python code I have now is cut out for that. I'll look into it, but there are lots of simple and free MIDI editors out there that you can use to optimize your song—change its key to F# or B, change its tempo to 60 or 120, cut out unnecessary tracks and rhythms, and make sure that you have instruments straightened out (right now, MIDICraft puts anything with "bass" in its name on bass, anything on channel 10 on drums (which should work if you're following standards), and everything else on the harp. I also need to investigate a fully-Redstone solution, although building it so that the player can hear the whole thing sounds difficult (especially since right now my program should allow for MIDIs of arbitrary length, which is impossible when you have to stand still and hear the whole thing). Your minecart track idea sounds good, though, and I'll try and push that into my next version.

    I'm also going to try and add an option to automatically change the pressure plate click sounds, although anyone who's jumped through all the hoops to get the program to run in the first place should be savvy enough to replace the sound files themselves.

    Thanks for all your feedback, everyone!
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Quote from gdscei »
    There's also a different "issue":
    When you choose white wool as the stair block, and there was a yellow flower where the cloth is now, the cloth turns yellow :Notch:


    I've noticed that too! It's not from a yellow flower, though—red and yellow flowers are completely different blocks. Wool color data is stored in the same place that a lot of other special block data is kept, and I think it's inheriting those—orange wool, I assume, is from either redwood trunks or leaves (which both have a value of 0x01). Yellow is 0x04, though, and I'm not sure which common blocks have special data values that high. http://www.minecraftwiki.net/wiki/Data_Values is great if you want to learn a little bit more about that kind of stuff.
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Quote from XDMickeYXD »
    Awesome, i got it to work, installed numpy and stuff =D
    Although there might be one tweak you want to add to the part where it 'clears' a path for the midi 'road',
    make water source blocks around it disappear, cause when i converted my first midi part of the path was ff'ed because the water killed the redstone D:


    I'd never really thought about it—I always just build it above sea level, which has never given me any trouble. Where were you trying to put it?
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Haha, I love it. Even the tempo is kind of all over the place and it sounds like a mess, it's still really cool. Thanks!

    e: I'm also worried that YouTube is being ridiculous and has blocked the audio because they think it's licensed. I guess putting song names in titles is risky for some awful reason?
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Haha, I think that main keyboard riff is a little too quick for this method of playback. Do you hear the notes are being all mashed together?

    Are you adjusting tempos to make it work better or doing any other tweaks? These sound pretty great!
    Posted in: Minecraft Tools
  • 0

    posted a message on MIDICraft: Convert MIDI files to Minecraft Note Blocks
    Final Countdown--that's a good idea! I tried Bohemian Rhapsody but it's got too much going on tempowise to convert very easily, but good luck.

    Thanks for uploading your video! I'm glad you got it to work finally.

    e: Also! For better results, you're best off replacing the pressure plate click sound with silence:

    Quote from Diebold »
    If you want to get rid of the sound files, first find them in the minecraft folder in .minecraft\resources\newsound\random
    find the files click.ogg and wood click.ogg
    Now you need to replace those files with silent versions, so get a sound editor and take out the sound
    Also you need to make sure the files are read only, you can see that under properties
    Note: If you just delete them or replace them with files that are not read only, they will be fixed back to the originals

    Posted in: Minecraft Tools
  • To post a comment, please or register a new account.