[INACTIVE]

Discussion in 'Inactive/Unsupported Plugins' started by Protected, Mar 10, 2011.

  1. Offline

    Protected

    DISCONTINUED
     
    Nox13last, Noppoly, zeeZ and 4 others like this.
  2. Offline

    jfmherokiller

    can you add support for subdirectories so that i can organize my midi collection
     
  3. Offline

    chibirubara

    Any possibility of having the tracks auto assigned to the best fitting block underneath? like how ahMIDI had it? Not a huge issue, just a nice option to have. =P
     
  4. Offline

    Protected

    herokiller: Never expected that request ^^ I'll consider it for the next version.

    chibi: I don't think I will add that feature. By the way, another midi plugin? I had no idea so many people were working on something like this. It only took me a couple of days to implement from scratch...
     
  5. Offline

    jfmherokiller

    just noticed this on the latest revision
    do you think you could fix it
     
  6. Offline

    Protected

    You must use CraftBukkit 538 or later.
     
  7. Offline

    chibirubara

    Your plugin is probably the fourth i've seen dealing with music, since note blocks came out. I like your In-Line noteblock concept, with the single sign, probably the easiest setup overall. "ahMIDI" had a sign infront of every noteblock tied together with redstone and a lever, you could pick and choose which track went to which noteblock, and it would (like i mentioned earlier) change the block below the noteblock to whatever was best fitting for the track, but it was a slow setup process, obviously. "MusicBlock Player" required the songs to be written note for note in a text file, and would then play on a single noteblock. "MusicCraft" requires the songs to be written on signs ingame, (didn't actually test that one, unlike all the others).

    So technically, yours might be the second, if your strictly talking MIDI's. Far as I can tell though, ahMIDI hasn't been updated lately, and might of been dropped, so you popping up with this is much appreciated. =P

    Oh, and its cool about not adding it. Just thought i'd see if you'd be interested in it.
     
  8. Offline

    jfmherokiller

    thanks for the info i just switched to craftbukkit build 550 and no errors any more.
    by the way the issue with music block player was that it required the songs to be in a custom format instead of using a format that has a converter like abc notation.
     
  9. Offline

    Protected

    chibi: As soon as I found out about ahmidi I had a chat with ahmeni and apologized about hijacking his idea (whose existence I had no idea of), I'm sure if he wants to continue in the future we can work something out.

    In fact my plugin supports a setup exactly like ahmidi's in theory, although right now it's still missing redstone (it's in the to-do list). To accomplish it you put in each sign, from left to right: T1C, T2C, T3C, ... You can also ommit the C to split by track AND by channel which creates a 2d 'matrix' of noteblocks, providing the best instrumental control if you really need it.
     
  10. Offline

    chibirubara

    Interesting.. i'll have to try out what you described. Thanks for the feedback.
     
  11. Offline

    Protected

    Version 1.2 is out. Added redstone, support for subdirectories and some other small things. Read the first post for more information.

    PAY ATTENTION TO THE CRAFTBUKKIT BUILD TAG! YOU NEED 552 NOW.
    Using MidiBanks v1.2 with an older build will probably cause infinite recursion errors and crashes in your server.
     
  12. Offline

    Hakaslak

    It's odd, the plugin worked for a bit, and now every midi file spits out "NOT A MIDI."

    I did update to 552
     
  13. Offline

    KazukiMutou

    Sir, you are a hero. I absolutely love the work you have done. I was looking frantically for a plugin that could do this - and here it is. You just made my day! :D
     
  14. Offline

    majorcyto

    Im getting non stop "NOT A MIDI" as well, im on the LATEST build for bukkit. And i have it in the MidiBanks directory im using the example midi's YOU provided. And its STILL telling me "NOT A MIDI" =[[[

    EDIT - I tried a random midi i found on the inter-webz and it worked perfect. Just the demo midi's your provided do not work. Other ones do..
     
  15. Offline

    Protected

  16. Offline

    KevinHouse

    Can you add older versions to the download to?
    Preferable those working with the latest recommended CB build, CB 531 atm.
     
  17. Offline

    Protected

    No, you have to be a daredevil and use those nasty new builds. They're required because the older ones have issues that prevent the proper and safe running of the plugin. If you're not happy about it just sit on your ass for a few more days until a newer build becomes the recommended one :) Time is on my side after all.

    From the link in my previous post:

    Might as well clarify: Your recommended build's version doesn't have midi bank unloading and is in fact unable to have such a thing without performing an exhaustive check of every single block in every chunk you unload, which will slow down your server like hell. There are also a number of redstone issues that will cause infinite recursions/cycles. These were bugs in CraftBukkit which are now fixed. It doesn't make sense for me or you to accomodate old, bugged versions regardless of recommended status.
     
  18. Offline

    Edras

    Last edited by a moderator: May 11, 2016
  19. Offline

    Protected

    Thanks, that's fixed. About the video example... No? ;) I'm no good with that sort of thing, and I lag. I can try to ask the players in my server if anyone wants to do one. In the meanwhile why don't you drop by? minecraft.myshelter.net (There aren't always people around.)
     
  20. Offline

    Kaseki

    This is a cool plugin.

    An idea:

    Courtesy of the limitations Minecraft imposes, the results of most midi files (ones that have multiple notes triggered at the same time in the same channel) are incoherent. You have to specially craft most MIDI files to work well with it. This could be alleviated by allowing placement of several note blocks wide in the channel bank row, rather than just 1. When a note is specified to be played simultaneously with another one on the same channel, it would trigger both notes but on different note blocks.
     
  21. Offline

    Protected

    I don't think any midi triggers multiple notes at the exact same time in the same channel - It's probably not even allowed by the standard. That's the whole point of channels. However midis save notes using series of note on and note off events scheduled with microsecond precision (and the periods of time when notes are on can and do often overlap). To do what you suggest I'd have to add a lot of cumbersome maths to the timer, and since it runs every 0.02s and has to process events from all track instances currently running, I believe the net result would actually be a decrease in performance and therefore a decrease in sequencing quality.

    Now, if you're in default (collapsed) track mode, it may happen that multiple tracks are fighting for your note blocks; Just split your tracks across multiple banks by using T1, T2, T3, etc. and then link all the signs to a lever using a redstone wire.
     
  22. Offline

    Kaseki

    Got it :)
     
  23. Offline

    TheMap

    NVM i found it
     
  24. Offline

    beachbum1212

    I already like you :)
     
  25. Offline

    TheMap

    CB 552 with groupmanager gives me this when I right click my sign.

    Code:
    [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to MidiBanks
    java.lang.NullPointerException
            at net.myshelter.minecraft.MidiBanks.learnMusic(MidiBanks.java:144)
            at net.myshelter.minecraft.MidiBanksBlockListener.onBlockRightClick(MidiBanksBlockListener.java:89)
            at org.bukkit.plugin.java.JavaPluginLoader$20.execute(JavaPluginLoader.java:259)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:493)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  26. Offline

    Protected

    That's very strange, it shouldn't possible for that to be null.
    Code:
                    try {
                        while (true) {
                            File thisdir = dirs.pop();
                            midiFile = new File(thisdir + "/" + midiSign.getLine(2) + ".mid");
                            if (midiFile.exists()) break;
                            for (File dircontent : thisdir.listFiles())   <-----------------
                                if (dircontent.isDirectory())
                                    dirs.push(dircontent);
                        }
                    } catch (EmptyStackException ese) {}
    Soo... Perhaps you mistyped the name of the data folder? It should be in plugins/MidiBanks, note that it's case sensitive in linux at least. If you didn't, how's the folder structure inside it? What are the reading and writing permissions? What filesystem are you using? What JVM version are you using?
     
  27. Offline

    TheMap

    I got it working, some file changing.
     
  28. Offline

    majorcyto

    I made some videos for examples that it does work, it may not be the best because its a little flustered in some areas of the song. But im to lazy to edit the actual MML to make it more clean.


     
  29. Offline

    Protected

    Your expectations must have been truly unrealistic if you think those are bad results, dummy. They're both excellent, *I* wouldn't have thought you could play such fast midis without hellish lag but clearly your internet connection and/or server are pretty good.

    Which channels are used depends on the midi itself. If it sends all notes to channel 0 the plugin isn't going to just grab them and stick them in a random different channel ;) In this case you can remove the others, or if it uses few channels you can compress the bank (= or C). If there are multiple tracks you can split by track, read a few posts above or just read the options section of the top post more carefully (lots of them to play around with).
     
  30. Offline

    inphinitii

    Not the best quality, but I decided to take a video of one of the midi files that I found worked almost flawlessy. I did have to take the second channel out, though. It was making some unwanted noise.



    Sorry for the pause mid-way through. It did that and I didn't realize it (Was doing something else) but you can still hear it playing.
     
  31. Offline

    Sp4rc0

    Indiana Jones :D


    Really great plugin, very good work!
     

Share This Page