Jump to content




NoteBlock API & NoteBlock Player

api computer

  • You cannot reply to this topic
40 replies to this topic

#21 killavirus

  • New Members
  • 3 posts

Posted 12 October 2012 - 11:49 AM

ok got the syntax sussed i thought i had tried it already but i guess i had done typo/or something! and was being stooopid !!

local tColors = { [1] = colors.white, [2] = colors.orange, [3] = colors.magenta, [4] = colors.lightBlue, [5] = colors.yellow, [6] = colors.lime, [7] = colors.pink, [8] = colors.gray, [9] = colors.lightGray, [10] = colors.cyan, [11] = colors.purple, [12] = colors.blue, [13] = colors.brown, [14] = colors.green, [15] = colors.red, [16] = colors.black }

^^ that works for me :)/>


Many thanks Your API is awesome.

If anybody else has trouble on this feel free to contact me to take a look at a working version on our server.

#22 killavirus

  • New Members
  • 3 posts

Posted 12 October 2012 - 01:02 PM

View PostCranium, on 12 October 2012 - 04:26 AM, said:

I am trying to set this up on a server, but the server does not have redpower. How would I convert this to be used with regular redstone pulses?
Sorry just having a ponder about this and would suggest going down the route of attaching noteblocks to the computers and leaving redstone out of this.
This would increase the size somewhat and confuse the hell out of you trying to keep track of which computer is doing which instrument & note :)/>
only way i can see you can do it without bundled cables

#23 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 12 October 2012 - 02:02 PM

View Postkillavirus, on 12 October 2012 - 01:02 PM, said:

Sorry just having a ponder about this and would suggest going down the route of attaching noteblocks to the computers and leaving redstone out of this.
This would increase the size somewhat and confuse the hell out of you trying to keep track of which computer is doing which instrument & note :)/>
only way i can see you can do it without bundled cables
Well, I do have that set up so far, with two noteblocks, one on left,, and one on right, I was just wondering how I set up the code?

#24 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 23 October 2012 - 02:13 AM

Now I'm having trouble with the notes. I keep getting errors saying each note is an unknown note..... What did I do wrong?

Edit: I do have RP2 on the server now, and everything should be set up the same way on the example, except for positioning.

Edited by Cranium, 23 October 2012 - 03:36 AM.


#25 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 15 November 2012 - 06:32 AM

Alright. This is the best ever. It is a huge lag machine for some servers, but it still works. My favorite song so far? Ghostbusters. Here is the converted table for those of youwho want to play it:
http://pastebin.com/iVwVHX32
I'll also include most of the songs I converted as well. Enjoy the fruits of my labor!
https://www.dropbox....xsbr/T2ztVkGLip

Edited by Cranium, 15 November 2012 - 06:51 AM.


#26 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 25 November 2012 - 03:09 PM

I have been getting obsessed with this the last few months, and have been converting .nbs songs like mad. However, Noteblock Studio is a very poor means to make Minecraft music. It's always slow, and skips notes. It also does not like converting MIDIs like it should. Would there be a way for you to make a MIDI converter?

#27 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 01 December 2012 - 06:37 PM

Can I have the world download so I don't have to set it up?

#28 omnislash772

  • Members
  • 3 posts

Posted 18 December 2012 - 02:56 AM

i keep getting this every time no matter what i do i have used the pastebin version but no matter what i always get this
it appears to be an issue with the nb api line 74 but i cant code in lua so i have no clue whats going on this is on a server running tekkit i will also attach the file its attempting to play http://pastebin.com/K71BzTb3
Posted Image
can someone please tell me what i am doing wrong?

#29 Yobi

  • New Members
  • 5 posts

Posted 29 December 2012 - 09:17 AM

Is there any way to get this to work with the iron note blocks from RichardG's miscperipherals addon? It would be perfect for this.

#30 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 29 December 2012 - 09:37 AM

View Postomnislash772, on 18 December 2012 - 02:56 AM, said:

i keep getting this every time no matter what i do i have used the pastebin version but no matter what i always get this
it appears to be an issue with the nb api line 74 but i cant code in lua so i have no clue whats going on this is on a server running tekkit i will also attach the file its attempting to play http://pastebin.com/K71BzTb3
Posted Image
can someone please tell me what i am doing wrong?
Try using the converter to convert the files from .nbs format to a CC file, that way it sees the table it needs. If you have already converted it, remove the .nbs extension.

#31 Yobi

  • New Members
  • 5 posts

Posted 30 December 2012 - 08:49 AM

Never mind, I figured out how to.

#32 zenith123138

  • New Members
  • 1 posts

Posted 18 January 2013 - 03:16 PM

when i try to play nbs files i just get no modem detected or somesuch and when i try to converter nbs files to nb files it just tells me how to do it and nothing else. could someone who is totally new to this tell me what to do please.

#33 ManIkWeet

  • Members
  • 5 posts

Posted 27 January 2013 - 03:20 PM

I totally edited this to work with Miscperipheral's iron noteblocks! :)
Only the file that actually plays the notes had to be edited, also the Miscperipheral's instruments have different numbers :(
The program needs 2 iron noteblocks, because they can only play 5 notes/tick.

#34 omnislash772

  • Members
  • 3 posts

Posted 04 February 2013 - 03:36 PM

View PostCranium, on 29 December 2012 - 09:37 AM, said:

View Postomnislash772, on 18 December 2012 - 02:56 AM, said:

i keep getting this every time no matter what i do i have used the pastebin version but no matter what i always get this
it appears to be an issue with the nb api line 74 but i cant code in lua so i have no clue whats going on this is on a server running tekkit i will also attach the file its attempting to play http://pastebin.com/K71BzTb3
Posted Image
can someone please tell me what i am doing wrong?
Try using the converter to convert the files from .nbs format to a CC file, that way it sees the table it needs. If you have already converted it, remove the .nbs extension.
i tried that (several times) but it didn't work

#35 WeaponMaster

  • Members
  • 11 posts

Posted 08 February 2013 - 02:40 AM

View PostManIkWeet, on 27 January 2013 - 03:20 PM, said:

I totally edited this to work with Miscperipheral's iron noteblocks! :)
Only the file that actually plays the notes had to be edited, also the Miscperipheral's instruments have different numbers :(
The program needs 2 iron noteblocks, because they can only play 5 notes/tick.
how? can you post the script? i am a complete idiot in coding :/ but i really want to make this setup. i also can't fully get how to use the OP :(

#36 omnislash772

  • Members
  • 3 posts

Posted 10 February 2013 - 05:49 AM

i wouldnt mind the lua files in a zipped format so i can just throw it into the server to make sure it isnt coppying weird
also yes iron noteblocks version!

#37 Shady1765

  • New Members
  • 1 posts

Posted 10 February 2013 - 05:06 PM

could someone post the scripts for the iron noteblock version? i've tried to edit the files but havnt has much success.

#38 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 15 February 2013 - 04:51 AM

I made a programe that plays the convrted NBS files, with iron note blocks.

http://www.computerc...7058#entry87058

#39 roughy

  • New Members
  • 1 posts

Posted 25 February 2013 - 02:49 AM

after i made the startup program following your tutorial i get waiting for messages when i entered startup in the computer is this supposed to happen because i can't even do anything with that computer anymore right after i reset the computer it prompts again. i am very new to this so some help would be appriciated

#40 Slaughtz

  • New Members
  • 1 posts

Posted 01 June 2013 - 01:59 AM

This is amazing. I plan to do a video tutorial on it when I build it again on a multiplayer server.

However, I was wondering if someone could help explain to me how to split the work between more than 2 players because the melody (grass block notes) are constantly jammed with signals and I want to split the playback between two rows of them so they aren't congested and I can get the full sound.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users