[FUN] - MusicBlock Player 0.1 - Play entire song on 1 NoteBlock [230+]

Discussion in 'WIP and Development Status' started by JoeMaximum, Feb 5, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    JoeMaximum

    MusicBlock Player - Play entire song with multiple instruments with only 1 note block

    Version: v1.0

    Download: <Edit by Moderator: Redacted mediafire url>

    This plugin is designed to let you play a song, previously written, using only 1 note block.

    Features:
    * Write your song in a text file, using the example below as a reference.
    * To help you can turn toggle a feature to show what note to write when you play a note.
    * You can edit your song, change notes, save your song and play it to hear the result.
    * You can also specify delay for each note and instruments (material)
    * Once a song is assigned to a note block, that block will play the song when powered with redstone.

    Usage:
    * First i recommend writing song on your own server, because the file is on your computer.
    * To help you type /displaynote and it will display the note played on a note
    * Once the song is done, save it as <SongNameHere.song> with the .song extention
    * Then look at a note block in game and type /musicbox <SongName>
    * Once done connect redstone and something to trigger the block and voilĂ , your song will play
    * You can also type /play <SongName> while looking at a note block

    File format:
    Here is the first part of the mario song and how i wrote it.

    Code:
    200:F1#
    400:F1#:DIRT
    400:F1#:DIRT
    200:D:DIRT
    400:F1#:DIRT
    800:A2:DIRT
    600:A
    Use ":" as separator

    First number is the delay that will happen after the note has been played.
    Then you have the note to play.
    Then the material, if you dont supply it, DIRT will be used as default.

    You can play multiple instruments using something like this:
    Code:
    0:F1#:WOOD
    200:F1#:DIRT
    0:F1#:WOOD
    400:F1#:DIRT
    0:F1#:WOOD
    400:F1#:DIRT
    0:D:WOOD
    200:D:DIRT
    0:F1#:WOOD
    400:F1#:DIRT
    0:A2:WOOD
    800:A2:DIRT
    0:A:WOOD
    600:A:DIRT
    
    Material can be any but i recommend using :
    * DIRT
    * WOOD
    * GLASS
    * STONE
    * SAND

    because they are short :)

    Download: <Edit by Moderator: Redacted mediafire url>


    Changelog:
    Version 1.0
    * Plugin released

    Future Feature:

    Version 1.1
    * None for now.

    Small video for a brief demo, will post a better video later :



    Post any comments or suggestion :)
     
    Last edited by a moderator: Dec 15, 2016
  2. Offline

    person

    this looks good i will proubly try when u release its always good to have some nice music when wanting to waste some time thanks plz tell me when u release
     
  3. Offline

    ACTruncale

    Awesome! I suggested this awhile back I am glad someone had the same idea I had :)

    Suggestion would be to have the block make different sounds. Or some how tie together several to make a full 'orchestra'
     
  4. Offline

    JoeMaximum

    its possible to specify a delay of 0 (zero) and this will make pretty much instrument play at the same time :)

    its a bit hard to write music and fine tune the delays but i'll surely come up with a better way ... at least i hope :p
     
  5. Offline

    majorcyto

    Sweet i look forward to this, it would also be cool if you could put a sign next to the noteblock with the notes on it and it would play the notes in order :eek:!
     
  6. Offline

    Kane

  7. Offline

    JoeMaximum

    It is going well, i will probably be able to release it soon.
    It can now read entire song from a text file.
    It can play multiple note at the same time.

    For now you look at a note block and type /play <songfilename>

    <songfilename>: is the name of the file to play.
    File extention is .song but you dont need to specify it.

    You can also type /Displaynote and it will give you a message with the note played each time you tune or it a note block.

    In the time i release the plugin, have a look at this new video :)

     
  8. Offline

    majorcyto

    Nice! Cant wait till you release this :D!
    --- merged: Feb 10, 2011 11:51 AM ---
    It says 1.0 you released it but where is the download link? ;[
     
  9. Offline

    JoeMaximum

    Have some problem with bukkit and redstone event ... as soon as its solved i'll put a download link.
    --- merged: Feb 10, 2011 2:13 PM ---
    Download link posted !

    Is it possible to move this to Submission instead, or do i have to make another one there ?
     
  10. Offline

    Socolin

    Great work :)
    I have a question:
    Is this plugin support permission, if yes how change it ?
     
  11. Offline

    Seta

    [​IMG] amazing
     
  12. Offline

    JoeMaximum

    /play : permission="play"
    /musicbox: permssion="musicbox.create"

    Will certainly change the /play to be musicbox.play later.

    But if you set a musicbox somewhere, anyone will be able to play it using redstone.
     
  13. Offline

    majorcyto

    Now i, or someone needs to make a music directory with pre-made files to download and get jammin! :3
    --- merged: Feb 12, 2011 11:18 PM ---
    Is it possible for it to play multiple notes at once? For instance

    200: C A
    or maybe
    200:C,A

    would it be possible to work that in?? Im doing the mortal combat theme song and theres like 4 little parts where i need that <_<
     
  14. Offline

    Socolin

    Thanks
    Btw I'm looking also for displaynote, (permssion="musicbox.displaynote" ?) for allow player to write some song :)
    Also is an online song writing mode will be add ? it can be more easier for making little song like doorbell, and give acces to this for all player
     
  15. Offline

    majorcyto

    I have decided to take on the project of a music directory for this plugin xD So i will let you knoww when i have something usable (who knows if ill get very far, im pretty busy) but ill try to have something and post up some songs. Just finished a terribly rough version of mortal combat o.o..

    Edit - damn do we not have flats? :3 I demand all 8 octaves D:! NVM im stupid there are flats by converting sharps duh..
     
  16. Offline

    JoeMaximum

    Read first post ...

    --- merged: Feb 13, 2011 5:10 AM ---
    Great!
    --- merged: Feb 13, 2011 5:12 AM ---
    permission is : "DisplayNote"
     
  17. Offline

    majorcyto

    I know i can play multiple instruments.. but i mean multiple notes at once on one note block unless the 0: and :200 means they will play at the same time? If so thats a weird set up..

    Edit - Also for playing 2 music boxes at the same time in sync with redstone what do you recommend a repeater i guess? Because you cant start them both off with 1 redstone line/button push sadly.

    I guess it kind of works like double doors?


    Edit 2 - Also you should add a command to remove a song from a music box. o.o
     
  18. Offline

    Kane

  19. Offline

    majorcyto

    This would be cool, it would also be cool if it could read/understand songs from Mabinogi.
     
  20. Offline

    JoeMaximum

    I dont think it will ever be like this ... i dont even know what it is :p

    To play 2 or more instruments at the same time, take a look at this example:
    Code:
    0:F#:GLASS
    0:F#:WOOD
    0:F#:DIRT
    400:F#:SAND
    0:G:GLASS
    0:G:WOOD
    0:G:DIRT
    400:G:SAND
    0:G#:GLASS
    0:G#:WOOD
    0:G#:DIRT
    400:G#:SAND
    0:A:GLASS
    0:A:WOOD
    0:A:DIRT
    400:A:SAND
    
    0:F#:WOOD
    0:F#:GLASS
    0:F#:DIRT
    400:F#:SAND
    0:G:WOOD
    0:G:GLASS
    0:G:DIRT
    400:G:SAND
    0:G#:WOOD
    0:G#:GLASS
    0:G#:DIRT
    400:G#:SAND
    0:A:WOOD
    0:A:GLASS
    0:A:DIRT
    400:A:SAND
    
    0:F#:WOOD
    0:F#:DIRT
    0:F#:GLASS
    400:F#:SAND
    0:G:WOOD
    0:G:DIRT
    0:G:GLASS
    400:G:SAND
    0:G#:WOOD
    0:G#:DIRT
    0:G#:GLASS
    400:G#:SAND
    0:A:WOOD
    0:A:DIRT
    0:A:GLASS
    400:A:SAND
    
    // ENLEVER 0 INSTRUMENT
    0:F#:WOOD
    0:F#:DIRT
    400:F#:SAND
    0:G:WOOD
    0:G:DIRT
    400:G:SAND
    0:G#:WOOD
    0:G#:DIRT
    400:G#:SAND
    0:A:WOOD
    0:A:DIRT
    400:A:SAND
    
    0:F#:WOOD
    0:F#:DIRT
    400:F#:SAND
    0:G:WOOD
    0:G:DIRT
    400:G:SAND
    0:G#:WOOD
    0:G#:DIRT
    400:G#:SAND
    0:A:WOOD
    0:A:DIRT
    400:A:SAND
    
    0:F#:WOOD
    0:F#:DIRT
    400:F#:SAND
    0:G:WOOD
    0:G:DIRT
    400:G:SAND
    0:G#:WOOD
    0:G#:DIRT
    400:G#:SAND
    0:A:WOOD
    0:A:DIRT
    400:A:SAND
    
    // ENLEVER 0 AUTRE INSTRUMENT
    0:F#:DIRT
    400:F#:SAND
    0:G:DIRT
    400:G:SAND
    0:G#:DIRT
    400:G#:SAND
    0:A:DIRT
    400:A:SAND
    
    0:F#:DIRT
    400:F#:SAND
    0:G:DIRT
    400:G:SAND
    0:G#:DIRT
    400:G#:SAND
    0:A:DIRT
    400:A:SAND
    
    0:F#:DIRT
    400:F#:SAND
    0:G:DIRT
    400:G:SAND
    0:G#:DIRT
    400:G#:SAND
    0:A:DIRT
    400:A:SAND
    
    //  0 INSTRUMENT
    400:F#:SAND
    400:G:SAND
    400:G#:SAND
    400:A:SAND
    
    400:F#:SAND
    400:G:SAND
    400:G#:SAND
    400:A:SAND
    
    400:F#:SAND
    400:G:SAND
    400:G#:SAND
    400:A:SAND
    
    --- merged: Feb 14, 2011 11:41 PM ---
    Only the last element have a delay value different from 0 because all those with 0 will be played at the same time then after the last instrument, there is a delay of 400 (in the example above).
    --- merged: Feb 14, 2011 11:43 PM ---
    Maybe i should change it to something like this :

    Code:
    400:G:WOOD:DIRT:GLASS
     
  21. Offline

    majorcyto

    Well what i actually meant was 2 NOTES at the same time not 2 instruments, but either way that answer's my question thanks! :p
     
  22. Offline

    devondog

    I have a problem

    This server is running Craftbukkit version git-Bukkit-0.0.0-409-gcb2bced (MC: 1.2_01)
    MusicBox version 1.0.0 is enabled!
    [JoePlugin] Erreur: Impossible de trouver le ficher "/Users/Me/Minecraftserver/plugins/MusicalBox/MusicBox_BUTTONS.txt"

    No commands work and the download never came with a MusicBox.BUTTONS.txt.
    Tried making a blank txt called that which made the error go away but commands still do not work
     
  23. Offline

    h0us3cat

    So players need acces to a folder on the server to put the songs in they wrote?
    edit: if you break the block while playing a song it duplicates.
     
  24. Offline

    JoeMaximum

    This need the "Permission" plugin with those permissions :
    /play : permission="play"
    /musicbox: permssion="musicbox.create"

    I'll put an update soon with some fixes and uniform permissions.
     
  25. Offline

    devondog

    Thank you for replying. I just assumed since I was admin and had '*' for my permissions that i would have access. I will try adding them manually and see if that works. It's a really neat plugin you made and i hope i can get it working for my server.
     
  26. Offline

    JoeMaximum

    Normally , you should have access if you are an admin.
     
Thread Status:
Not open for further replies.

Share This Page