Jump to content

  • 11 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

MIDICraft: Convert MIDI files to Minecraft Note Blocks

#1 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 24 January 2011 - 12:41 AM

http://www.mediafire...4dvmtx4zzuu1xx2 Download a mostly-working version of MIDICraft! Run 'midicraft.py' as either a GUI (by double-clicking it or running through a command line without any arguments) or a CLI (check 'python midicraft.py --help')


Hi Minecraft forums.

I've been working for the past week on a project I'm calling MIDICraft
5

Register or log in to remove.

#2 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 24 January 2011 - 06:35 AM

I imagine I'll get more response when I actually release the code, but here's a simpler example that someone on YouTube asked for.

cNMoqKZivSI

At least some recommendations on what features would be useful?
0

#3 User is offline

  • Group: Members
  • Posts: 20
  • Joined: 25-September 10

Posted 24 January 2011 - 07:58 AM

I know on SA you had said that there's a gui for this, but would a commandline option be viable? Would be great for those of us running headless linux servers.

Or for that matter, the ability to output as a .schematic file that WorldEdit or MCEdit could import into an existing world would be great too!
0

#4 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 24 January 2011 - 08:14 AM

It would certainly be possible to do a commandline! I imagine it's a lot easier than trying to twist Tkinter's arm into making an ugly dialog window.

As I plugged through the mclevel.py InfDev code I realized that schematics would probably be smarter, but since I don't know how they work I just avoided them. I'll take a look once I'm confident that my code works fine, but it looks like most of the methods are the same.

I apologize that the syncing's so bad on the first video--I don't know if it got worse or if I just didn't notice it while uploading at 5am. I tried refilming in a higher definition but the recorder choked. I promise it's not a hoax, though, and that what you're hearing corresponds to what you're seeing (just not necessarily at the same time).
0

#5 User is offline

  • Group: Members
  • Posts: 3
  • Joined: 10-July 10

Posted 24 January 2011 - 11:08 AM

needs release date :3
got tons of midis <.<
0

#6 User is offline

  • Suo
  • Tree Puncher
  • Group: Members
  • Posts: 13
  • Joined: 20-October 10

Posted 24 January 2011 - 02:00 PM

Tip: You should use inverters instead of pressure plates, and make it so the "thing" doesn't go all the way in front, make it a go on a spiral or something, so we can hear the song without moving (if you use the repeaters idea), because we can only hear note blocks 42/44 blocks away.
Other than that, nice mod, I'm sure I'll use it.
Posted Image

Hey, I'm pretty new in this forums, if you want to meet me or something, don't hesitate to PM =).


You know you're crazy when you scroll down on my sig to read this sentence.
0

#7 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 24 January 2011 - 04:05 PM

I understand that the idea of an automated music box is more attractive, but don't inverters take about a tenth of a second (or is it a fifth?) to send? This is the first work I've done with redstone, but my first experiments with vertical towers using inverters introduced a lot more unpredictability. I want to work on it in the future!

And let's say I'll have some sort of public code by Wednesday night I guess? I can get the GUI work knocked out and sure a commandline as well.
0

#8 User is offline

  • Group: Members
  • Posts: 1560
  • Joined: 23-May 10
  • Location: Big Island

Posted 24 January 2011 - 09:18 PM

demanusflint said:

using inverters introduced a lot more unpredictability.


We see this a lot. This is why the best music boxes use minecarts and wood pressure plates. Here's an example.

viewtopic.php?f=1020&t=144991

Usually the pressure plate sound has been edited out, but you can get around this without edits by putting some distance between listener+noteblocks and the floor plates. This is a little tricky in my mind.

I hope you didn't have a ton of problems with pymclevel. I know I haven't been keeping the "documentation" up to date but if you already know a few things about the level format you should be able to figure it out. Schematic files should be easier to work with since they aren't split into chunks.
MCEdit: Minecraft World Editor
The sun rises in the +X and sets in the -X. Clouds travel -X.
0

#9 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 25 January 2011 - 01:03 AM

pymclevel is pretty great, but I'm not going to argue that it's underdocumented. Tile entities are the trickiest thing, but that's just because they're sort of weirdly implemented in the first place. I also wonder whether a few of the block names are inconsistent with official names with regards to capitalization etc.? I could be wrong on that.

I'm not sure that I agree that the minecart method is "better"
0

#10 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 25 January 2011 - 06:15 AM

89B2_nCykZE

Another video! This is execution of the program in real time (it's hard to tell
0

#11 User is offline

  • Group: Members
  • Posts: 25
  • Joined: 17-June 09

Posted 25 January 2011 - 05:58 PM

What you really need to do now is put it on a multiplayer server and stick pachelbel's canon or there or something similar and have 3 people walk down it at once.

Definitely like this though, It'd be an awesome way to have a fanfare play as people walk into a grand hall or something..

Make disneyland-esque rides with it or something!
0

#12 User is offline

  • Group: Members
  • Posts: 292
  • Joined: 18-January 11
  • Location: Alicante, Spain

Posted 25 January 2011 - 07:07 PM

Where to download?
Posted Image
0

#13 User is offline

  • Group: Members
  • Posts: 56
  • Joined: 09-January 11
  • Location: Illinois

Posted 26 January 2011 - 12:52 AM

Download?
Posted Image
When can Creepers be on your side... Blow up the spawners!!!
Posted Image [SSSS]
0

#14 User is offline

  • Group: Members
  • Posts: 1
  • Joined: 01-January 11

Posted 26 January 2011 - 07:31 AM

Looks a great idea, if I had better coding knowledge i'd try to help but I generally fail at that sort of thing.
To the people above, Demanusflint has said this already so just be patient:
"And let's say I'll have some sort of public code by Wednesday night I guess? I can get the GUI work knocked out and sure a commandline as well."
0

#15 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 26 January 2011 - 10:33 AM

Okay, here we go. Didn't get schematics working (how do you create a new one?) but hopefully the GUI and the commandline are both operational. Someone check this out soon and let me know so I can take it down if it's really not working the right way.

Hopefully I included all the other modules you need. You should be able to double-click midicraft.py or whatever for the GUI or check out "python midicraft.py --help" for the CLI.

Thanks!

e: apologies for the readme, i'm sure it's awful. it's 5:30am though

ee: I forgot to mention that it currently starts at the player position. Not really unexpected but worth mentioning.
0

#16 User is offline

  • Group: Members
  • Posts: 4
  • Joined: 26-January 11

Posted 26 January 2011 - 12:06 PM

don't know if it's just me but i don't understand how to get this working?
0

#17 User is offline

  • Group: Members
  • Posts: 57
  • Joined: 26-January 11
  • Location: Brain
  • Minecraft: fireXtract

Posted 26 January 2011 - 12:37 PM

I dont get it iether is it mac only? because .py files dont run on my computer and i cannot extract anything because you have a double file error!
Posted Image
0

#18 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 26 January 2011 - 03:25 PM

Sorry, this is the side of Python that I have no idea about. (linkremoved) should work better, but I would appreciate anyone who knows what they're doing with packages helping me out with releasing these.

And Python is cross-platform, you just need to make sure you have it installed on your computer.
0

#19 User is offline

  • Group: Members
  • Posts: 4
  • Joined: 26-January 11

Posted 26 January 2011 - 03:46 PM

i think you have assumed we know how to use python? i have no idea what to do sorry.
0

#20 User is offline

  • Group: Members
  • Posts: 58
  • Joined: 24-January 11

Posted 26 January 2011 - 04:27 PM

Download Python 2.6 (haven't tried other versions yet, but they could work. Any input, codewarrior?) from http://sourceforge.n...rojects/numpy/f ... mPy/1.5.1/. You need a version to match your version of Python, so look for numpy-1.5.1-win32-superpack-python2.6.exe (if you're on Windows). Then you should just be able to double-click minecraft.py and the GUI should come up (hopefully it works, too).
0

Share this topic:


  • 11 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users