Jump to content




Play a ComputerCraft Music in a Multiplayer Server


10 replies to this topic

#1 Hipermahp

  • New Members
  • 2 posts

Posted 11 December 2016 - 09:00 AM

I would like to know if there is way to convert music files on the computer, into a text format so that it could pastebinned (/pastebin) into a computercraft computer on a multiplayer server. So then could play this text using a program from a computer attached to 5 Note Blocks, via cable.

#2 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

Posted 11 December 2016 - 04:52 PM

not that i know of.
but you could invent a format

#3 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 11 December 2016 - 06:53 PM

Music disks don't contain files.

They are references to .ogg files included with minecraft. CC is able to ask Minecrart to play them, but does not interact with the actual file AFAIK.

#4 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 11 December 2016 - 06:58 PM

If you are able to use Iron Noteblocks there is this program.

I once used it on the glorious (OG) LuaLand server, but that's history now...

#5 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 11 December 2016 - 07:01 PM

 H4X0RZ, on 11 December 2016 - 06:58 PM, said:

If you are able to use Iron Noteblocks there is this program.
To expand on this, Note by BombBloke and TheOriginalBit is capable of playing Note Block Studio files. Whilst I don't think NBS can import standard mp3 files, it can handle MIDIs: you can generally find a midi conversion of most popular tunes.

#6 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 11 December 2016 - 11:06 PM

Assuming you are talking about NBS files, Package can upload / download them (or most any file type, really).

#7 Hipermahp

  • New Members
  • 2 posts

Posted 13 December 2016 - 12:50 AM

I don't have Iron Note Blocks, just regular ones. If it's impossible will try other thing. :/

 H4X0RZ, on 11 December 2016 - 06:58 PM, said:

If you are able to use Iron Noteblocks there is this program.

I once used it on the glorious (OG) LuaLand server, but that's history now...

Do you know any for normal Note Blocks?

#8 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 13 December 2016 - 06:06 AM

 Hipermahp, on 13 December 2016 - 12:50 AM, said:

I don't have Iron Note Blocks, just regular ones. If it's impossible will try other thing. :/

 H4X0RZ, on 11 December 2016 - 06:58 PM, said:

If you are able to use Iron Noteblocks there is this program.

I once used it on the glorious (OG) LuaLand server, but that's history now...

Do you know any for normal Note Blocks?

It's impossible to make such complex music using just regular noteblocks AFAIK because you can't get as much instruments and keep up with the speed.

#9 CrazedProgrammer

  • Members
  • 495 posts
  • LocationWageningen, The Netherlands

Posted 13 December 2016 - 01:14 PM

 H4X0RZ, on 13 December 2016 - 06:06 AM, said:

 Hipermahp, on 13 December 2016 - 12:50 AM, said:

I don't have Iron Note Blocks, just regular ones. If it's impossible will try other thing. :/

 H4X0RZ, on 11 December 2016 - 06:58 PM, said:

If you are able to use Iron Noteblocks there is this program.

I once used it on the glorious (OG) LuaLand server, but that's history now...

Do you know any for normal Note Blocks?

It's impossible to make such complex music using just regular noteblocks AFAIK because you can't get as much instruments and keep up with the speed.
Yep, it's pretty impossible to play complex music with normal note blocks.
Command computers do have the ability though.

With iron note blocks/command computers the limits are:
- 5 instruments
- f#3-f#5 range
- No attack, sustain, decay

#10 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 13 December 2016 - 04:13 PM

 CrazedProgrammer, on 13 December 2016 - 01:14 PM, said:

 H4X0RZ, on 13 December 2016 - 06:06 AM, said:

 Hipermahp, on 13 December 2016 - 12:50 AM, said:

I don't have Iron Note Blocks, just regular ones. If it's impossible will try other thing. :/

 H4X0RZ, on 11 December 2016 - 06:58 PM, said:

If you are able to use Iron Noteblocks there is this program.

I once used it on the glorious (OG) LuaLand server, but that's history now...

Do you know any for normal Note Blocks?

It's impossible to make such complex music using just regular noteblocks AFAIK because you can't get as much instruments and keep up with the speed.
Yep, it's pretty impossible to play complex music with normal note blocks.
Command computers do have the ability though.

With iron note blocks/command computers the limits are:
- 5 instruments
- f#3-f#5 range
- No attack, sustain, decay

So you could build a dummy peripheral which would play sound through commands and then use it with the existing programs?

#11 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 14 December 2016 - 12:22 AM

I think someone already produced a script that plays via commands (there are a few NBS players around and I'm sure I saw a command-based one somewhere). I've edited the functionality into an unreleased version of Note, and while it works perfectly, there's a bit of a downside in what it does to the server logs...

The "dummy peripheral" thing is do-able, but each player tends to want a specific type of peripheral anyway... there are quite a few different "note blocks" available by now, and they don't all use the same call syntax.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users