I was looking around on the interwebs, and I couldn't find an existing actual jukebox, so I tried making my own.
Basically it's modeled after an old-style jukebox. You have three methods of input: the coin slot, the song selector button, and the GO button.
It's not really complicated redstone-wise. The track selector is just a piston ring counter, and the coin slot/GO button rely on some piston timing and an RS-NOR latch or two.
The part about this machine that I like is how the "records" are actually played: when you put a piece of gravel in the coin slot and push the GO button, a series of pistons push the gravel off an edge, letting it fall to the ground. The records are vertically stacked, and are played by putting a block near the corner of the record, propagating charge to the noteblock sequence.
Moving blocks (such as falling gravel) don't propagate charge, therefore the incorrect records won't play when the gravel falls by. When the falling gravel reaches the correct record, a piston sticks out for a short moment, catching the gravel and letting the charge propagate through it. Then it retracts, letting the gravel fall on top of a redstone torch at the bottom, turning it into a drop.
Feel free to take it apart, make it better, or even change the songs! Yeah, it shouldn't be that hard to change the songs - just make a normal noteblock song, but fit it on the 17x17 record and make sure the start is at the right corner.
The only two improvements I would personally make at this time are making it such that you cannot play two songs at once (shouldn't be that hard, might take up a good chunk of space though) and maybe replace the ring counter with an actual track selector, therefore having four buttons instead of one and an indicator.
Preventing two songs from being played at once could be as simple as having a "song is playing" latch that is checked and set when the play button is pressed and reset when a song ends.
Preventing two songs from being played at once could be as simple as having a "song is playing" latch that is checked and set when the play button is pressed and reset when a song ends.
Yup, exactly what I was thinking. The only reason I didn't put it in before was because I couldn't figure out *where* to put it without taking up a big chunk of space. I think I have a place to put it now, shouldn't be that hard.
I wouldn't mind seeing something like a piston ring counter that displays different colors of wools on a display with each wool corresponding to a song. So you can click back and forward to cycle through the songs and see which song is playing based on what wool is in the middle.
You could probably use that same ring counter for the actual song portion
Hmm, I like that idea. And now that I think about it, if I use separate ring counters for each part (one for selector, one for indicator), it might actually make my design smaller. I'm not sure how to make a bi-directional ring counter though.
Also, I've added the DON'T PLAY MORE THAN ONE SONG AT ONCE thing. Just a simple T-FlipFlop. I'm not sure if I'll add the looper though. Not sure if it fits with the vibe I'm going for, heh.
I was looking around on the interwebs, and I couldn't find an existing actual jukebox, so I tried making my own.
Basically it's modeled after an old-style jukebox. You have three methods of input: the coin slot, the song selector button, and the GO button.
It's not really complicated redstone-wise. The track selector is just a piston ring counter, and the coin slot/GO button rely on some piston timing and an RS-NOR latch or two.
The part about this machine that I like is how the "records" are actually played: when you put a piece of gravel in the coin slot and push the GO button, a series of pistons push the gravel off an edge, letting it fall to the ground. The records are vertically stacked, and are played by putting a block near the corner of the record, propagating charge to the noteblock sequence.
Moving blocks (such as falling gravel) don't propagate charge, therefore the incorrect records won't play when the gravel falls by. When the falling gravel reaches the correct record, a piston sticks out for a short moment, catching the gravel and letting the charge propagate through it. Then it retracts, letting the gravel fall on top of a redstone torch at the bottom, turning it into a drop.
Here's a link to a stripped version, which is basically the machine without the front panel: http://www.mediafire.com/?ecx1xmztwhr5els
Feel free to take it apart, make it better, or even change the songs! Yeah, it shouldn't be that hard to change the songs - just make a normal noteblock song, but fit it on the 17x17 record and make sure the start is at the right corner.
The only two improvements I would personally make at this time are making it such that you cannot play two songs at once (shouldn't be that hard, might take up a good chunk of space though) and maybe replace the ring counter with an actual track selector, therefore having four buttons instead of one and an indicator.
What do you guys think?
Check us out on YouTube!
Yup, exactly what I was thinking. The only reason I didn't put it in before was because I couldn't figure out *where* to put it without taking up a big chunk of space. I think I have a place to put it now, shouldn't be that hard.
Okay, repeat shouldn't be hard if I integrate a DON'T LET PLAYER PLAY MORE THAN ONE SONG feature.
Track selector is good then? Was debating whether a track selector or my current mechanism would be bettor.
Records are basically just noteblock sequences. I just only used piano because I'm a lazy *******, heh.
Check us out on YouTube!
Nice job. ^-^
Hmm, I like that idea. And now that I think about it, if I use separate ring counters for each part (one for selector, one for indicator), it might actually make my design smaller. I'm not sure how to make a bi-directional ring counter though.
Also, I've added the DON'T PLAY MORE THAN ONE SONG AT ONCE thing. Just a simple T-FlipFlop. I'm not sure if I'll add the looper though. Not sure if it fits with the vibe I'm going for, heh.
Check us out on YouTube!
Ooh, that's pretty neat. What exactly do you mean by the rotating schematic though?
Check us out on YouTube!