@adrianm99 No, if you look closely it changes the speed a little bit when the tunes are getting higher or lower. The speeds are just relatively close, so you could think its always the same speed.
Hm. The gameboy games store sound in a midi-like way. I wonder if you could tap into the data being fed to the sound chip, run it through a customized script, and have actual live game music playing on a cnc.
@konayasai theres nothing to stop you using stepper motors to generate the sound from the gameboy's midi files, but cnc machines run on a set of instructions, so the frequency of the steppers during each cut (or in this case each note) is predetermined not live.
@skaven2100 Oh, I see. Hm. Is this true for all machines? In theory, a stream is indistinguishable from a file when read sequentially, so provided that you create some kind of buffer you should be able to at least do it semi-live. It would however probably require some hardware modifications, so it'd be cheating :)
@konayasai I assume this guy's using EMC2. If so, the file is interpreted into a buffer from which the real-time machine control module reads. The interpreter stops when it reaches the end of the file; changing this behavior would take a lot of work - for example, the real-time module would freak out if its buffer ran dry. EMC2 is open source, so you're certainly welcome to look into it. :)
@map250r Well, it just feels like it should be easy enough. Just make the real-time module enter a sleep mode or an idle loop if the buffer runs dry. I'd probably have a crack at it if I had the hardware nearby. Perhaps at uni? End-term exams are coming up, though. :P
HOW IT WORKS: Its quite easy. Take the voltage output from the speaker, feed that into a comparator circuit, depending on the voltage amplitude of the song, turn-ON or turn-OFF the stepper motor. What you get is a painfully annoying, yet hilarious piece of boredom-art.
the CNC machine gets a script from the computer that tells it when to rotate which motor how fast for how long. This can be used to make extremely accurate cuts... or to do this kind of stuff :P
brought to you by the Soviet CnC Company.
j00tubesux 3 months ago
It cuts Tetris blocks to this tune.
icemanbx 4 months ago 2
couldn't you put a record in it and attatch a needle?
Jakkinator45 4 months ago
@adrianm99 No, if you look closely it changes the speed a little bit when the tunes are getting higher or lower. The speeds are just relatively close, so you could think its always the same speed.
Klaufmann 1 year ago
Hm. The gameboy games store sound in a midi-like way. I wonder if you could tap into the data being fed to the sound chip, run it through a customized script, and have actual live game music playing on a cnc.
konayasai 1 year ago
@konayasai theres nothing to stop you using stepper motors to generate the sound from the gameboy's midi files, but cnc machines run on a set of instructions, so the frequency of the steppers during each cut (or in this case each note) is predetermined not live.
skaven2100 11 months ago
@skaven2100 Oh, I see. Hm. Is this true for all machines? In theory, a stream is indistinguishable from a file when read sequentially, so provided that you create some kind of buffer you should be able to at least do it semi-live. It would however probably require some hardware modifications, so it'd be cheating :)
konayasai 8 months ago
@konayasai I assume this guy's using EMC2. If so, the file is interpreted into a buffer from which the real-time machine control module reads. The interpreter stops when it reaches the end of the file; changing this behavior would take a lot of work - for example, the real-time module would freak out if its buffer ran dry. EMC2 is open source, so you're certainly welcome to look into it. :)
map250r 8 months ago
@map250r Well, it just feels like it should be easy enough. Just make the real-time module enter a sleep mode or an idle loop if the buffer runs dry. I'd probably have a crack at it if I had the hardware nearby. Perhaps at uni? End-term exams are coming up, though. :P
konayasai 8 months ago
HOW IT WORKS: Its quite easy. Take the voltage output from the speaker, feed that into a comparator circuit, depending on the voltage amplitude of the song, turn-ON or turn-OFF the stepper motor. What you get is a painfully annoying, yet hilarious piece of boredom-art.
rfengr 1 year ago
@rfengr actually you use a midi file to generate g-code that changes the feed rates to make the music.
sawulaa 1 year ago
simply amasing! sounds almost the same as the real thing
20samp 1 year ago
Delightful! 8D
SpiderLuigiMan 2 years ago
uuhmmm... i could be wrong but it doesn´t. watch it carefully!
sciencoking 2 years ago 2
SOVJETSKI!!!!!!!!!!
TheDutchGame 2 years ago 2
HOW DOES IT WORK!!!!!!!!!!!
RoboGeek123 2 years ago
the CNC machine gets a script from the computer that tells it when to rotate which motor how fast for how long. This can be used to make extremely accurate cuts... or to do this kind of stuff :P
sciencoking 2 years ago 11
I wonder what it would do to a piece of wood whilst it was playing a tune??? :)
Uberdum05firealarm 2 years ago 3
Its Russian folk music - "Эх полным - полна коробушка" ... =)))
Thank you! Its very nice!
VitaliyStepnoFF 2 years ago
w000t nice idea :D , share the script^^
FretFlorian 2 years ago
this is super!
digisonic 2 years ago
awesome! it's just awesome!
emmo435 2 years ago
FALLING BLOCKS OF... wood?
linuxlove4004 2 years ago 17