Jump to content




Iron Note Block Music Player + ccTunes + Noteblock Hero


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

#41 ReturnOfPatches

  • New Members
  • 1 posts

Posted 15 July 2013 - 07:37 PM

Added GameOfThrones title theme and The Rains of Castamere to ccTunes, enjoy! :)

#42 reububble

  • Members
  • 72 posts
  • LocationBehind you

Posted 16 July 2013 - 05:05 AM

I love the guitar hero style game :P
have a look at my work on music composition software

#43 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 16 July 2013 - 10:53 AM

View Postreububble, on 16 July 2013 - 05:05 AM, said:

have a look at my work on music composition software <Youtube Video Here>

Nice work.

Also added a link to the first post to allow you to download any song uploaded in your web browser.

#44 Darian Stephens

  • New Members
  • 1 posts

Posted 15 September 2013 - 09:37 PM

How do I upload my converted song? I've made a much better (IMO) version of the Babs Seed song.
EDIT: I think I've figured it out, but how do I change the converter and title at least? The filename is BabsAlt2.

#45 bluefoxy

  • Members
  • 23 posts

Posted 05 November 2013 - 08:32 PM

musicplayer:124: attempt to concatenate string and nill
fix pleas? this seems like an amazing idea :D
(Mindcrack 8.3.2, CC 1.5)

#46 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 05 November 2013 - 09:10 PM

View Postbluefoxy, on 05 November 2013 - 08:32 PM, said:

musicplayer:124: attempt to concatenate string and nill

I am only on my phone atm, but looking at my code it looks like you might just not have anything in your "Music" folder.

#47 basdxz

  • Members
  • 116 posts

Posted 24 November 2013 - 11:30 PM

Works well, could we get support for more note blocks that can be connected using the network cables? Also is is possible to get a music playing visual on a monitor generated from the song? PS: Oh and is there a way to make it dupe the same sound onto 2 note blocks? I would like to have speaker arrays around my base.

Edited by basdxz, 24 November 2013 - 11:37 PM.


#48 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 26 November 2013 - 01:44 PM

I don't know when I can get the time, but the way, I would probably do it is have one computer procsses the file, and send the arrays other computers and them they would play the results.

As far as the visual, that will take a bit more thinking, but I might be able to do something.

Edited by Left4Cake, 27 November 2013 - 09:55 AM.


#49 Crucidal

  • Members
  • 33 posts
  • LocationThe Netherlands

Posted 28 November 2013 - 07:54 PM

I have a small server with max 4 players on it. My pc has 8GB ram and a i5-3570K processor.
I think it should be fast enough but when using your musicplayer there is a lot of lag and the time won't pass normally, it's not running constantly/smoothly making most songs sound bad and out of sync.

Have you got any tips/solutions?

greetings! :)

#50 Cozzimoto

  • Members
  • 221 posts
  • LocationDallas, Tx

Posted 29 November 2013 - 08:38 AM

running a server in home and running a dedicated server are two completely different things, if i were you i would get a proper server instead of using your own computer


EDIT:

Home server uses a heavy OS like windows instead of an actual server based OS (linux)
And your not using a proper CPU, Dedicated servers use Xeon processors for their multi threading and ECC (error correcting code) RAM DIMMS
Xeons run properly for servers and the intel i-3, i-5, i-7 series are for home pcs and not meant to run servers

Edited by Cozzimoto, 29 November 2013 - 08:42 AM.


#51 Crucidal

  • Members
  • 33 posts
  • LocationThe Netherlands

Posted 29 November 2013 - 01:55 PM

View PostCozzimoto, on 29 November 2013 - 08:38 AM, said:

running a server in home and running a dedicated server are two completely different things, if i were you i would get a proper server instead of using your own computer


EDIT:

Home server uses a heavy OS like windows instead of an actual server based OS (linux)
And your not using a proper CPU, Dedicated servers use Xeon processors for their multi threading and ECC (error correcting code) RAM DIMMS
Xeons run properly for servers and the intel i-3, i-5, i-7 series are for home pcs and not meant to run servers

Thanks for your reply!

Obviously I'm not a coder but it seems highly unlikely that running a dedicated server will resolve my problems since neither the assigned memory (which I assume is the 2GB assigned out of 8GB total RAM I have) nor my CPU usage are getting above 60%

Now, 60% seems like much... but, without any further knowledge, logic tells me that it's no problem because theoretically my pc could handle 40% more.

I'm not planning on getting a dedicated server so I'm still hoping to find solutions for my home computer.

The previously mentioned values seem quite stationary. They aren't influenced by whether the musicplayer is actually playing or not.

#52 Cozzimoto

  • Members
  • 221 posts
  • LocationDallas, Tx

Posted 29 November 2013 - 03:36 PM

View PostCrucidal, on 29 November 2013 - 01:55 PM, said:

-snip-
well you not gunna see much because lag does not have to do with how much ram or anything to do with that, you have to understand that servers just run alot of requests at the same time, which is why the more multi threading you have the less lag your going to experience, EX: a Intel Core i5-3570K Ivy Bridge has a power of 3.4 GHz which is fast but not alot of threading, so this can process (4x) in server terms 4 things at a time which is good.
but a low power Xeon E3-1265L which has a power of 2.5 GHz has multi threading so this processor can do (8x) which is twice as fast as a normal desktop CPU

there are other factors as well like power consumption, and being able to error correct any mishaps loaded into memory, because servers are built to last since most of them are on 24/7 @ 99.9% uptime. But i mainly wanted you to know the difference between a desktop CPU and a Server CPU. =D

in conclusion you will see less lag in the Xeon than the i-5 due to the fact the Xeon can process more requests at once

Edited by Cozzimoto, 29 November 2013 - 03:39 PM.


#53 Crucidal

  • Members
  • 33 posts
  • LocationThe Netherlands

Posted 04 December 2013 - 02:10 PM

Thanks Cozzimoto! Its useful information.

The problem with inconsistent ticks sort of solved itself. In one of my backups (which I was forced to turn back to, but that's a different story) I had a batfile with these commands:

java -server -Xmx2G -XX:UseSSE=4 -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+AggressiveOpts -jar FTBserver.jar nogui

I'm experiencing less crashes and the music is playing fine now :D

Honestly, I have no idea what the settings do...and I COULD look it up... but I'd rather play some more at the moment :P

once again: thanks Cozzi

Edited by Crucidal, 04 December 2013 - 05:09 PM.


#54 Cozzimoto

  • Members
  • 221 posts
  • LocationDallas, Tx

Posted 04 December 2013 - 11:23 PM

View PostCrucidal, on 04 December 2013 - 02:10 PM, said:

-snip-
your welcome, i am glad you found a way to get your problem fixed so easily.

#55 flippy134

  • New Members
  • 1 posts

Posted 27 March 2014 - 08:51 PM

Hi guys

i have a problem because if i played a song with bass a other instruments as piano i get the error "musicplayer :69: attempt to call nil" and yeah i dont now how i fix this the nyancat son from Left4Cake doesnt work at 3.2/207.8 Seconds it stops with the error

P.S i m sorry for my english i come from germany :)

#56 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 31 March 2014 - 03:37 AM

View Postflippy134, on 27 March 2014 - 08:51 PM, said:

"musicplayer :69: attempt to call nil"

What side do you have the note blocks on.

ironblock1 = peripheral.wrap("left")
ironblock2 = peripheral.wrap("right")
ironblock3 = peripheral.wrap("back")
ironblock4 = peripheral.wrap("top")
ironblock5 = peripheral.wrap("bottom")

It wraps the peripherals as such so if it has 2 instruments you need one on the left and right, if three you need one on back.. ect.

Edited by Left4Cake, 31 March 2014 - 03:37 AM.


#57 Left4Cake

  • Members
  • 272 posts
  • LocationEarth

Posted 24 May 2015 - 05:42 PM

Fixed a bug where the both Ironnote block Player and Noteblock hero would speed up when given input

Befor
os.startTimer(song["delay"])
evt, arg1, arg2 = os.pullEvent()
input(evt, arg1, arg2)
if evt ~= "timer" then
	os.sleep(song["delay"])
end

After
os.startTimer(song["delay"])
evt, arg1, arg2 = os.pullEvent()
input(evt, arg1, arg2)
if evt ~= "timer" then
	os.pullEvent("timer")
end


#58 Justy

  • Members
  • 210 posts
  • LocationCLGD

Posted 17 October 2015 - 09:26 PM

I know I'm probably gonna get smited for post necro, but I've managed to port this program to command computers by looking at the code for the Iron Note block peripheral in Peripherals++/MoarPeripherals

You can get it here (code: NApHaw5V)

To use it, just run it before using musicplayer, and change any peripheral.wrap(side) in music player to commands.noteblock





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users