tag:blogger.com,1999:blog-2759480248865232582.post3255258767954315775..comments2022-12-05T14:20:09.598+11:00Comments on Chris Mountford: More Cowbell in One Line of GroovyChris Mountfordhttp://www.blogger.com/profile/03560327085364406517noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2759480248865232582.post-14509443339310486212010-03-19T15:20:35.164+11:002010-03-19T15:20:35.164+11:00I knew with was probably the way to make mine bett...I knew with was probably the way to make mine better but I'd never used it because I'm still a groovy noob. :)Chris Mountfordhttps://www.blogger.com/profile/03560327085364406517noreply@blogger.comtag:blogger.com,1999:blog-2759480248865232582.post-31142052763408882662010-03-19T06:57:21.948+11:002010-03-19T06:57:21.948+11:00groovy -e 'javax.sound.midi.MidiSystem.synthes...groovy -e 'javax.sound.midi.MidiSystem.synthesizer.with{open();channels[9].with{noteOn 56,99;sleep 99;noteOff 96};close()}'<br /><br />Consider yourself out-geeked :PLuis Mirandanoreply@blogger.comtag:blogger.com,1999:blog-2759480248865232582.post-75939165630127359192010-03-18T11:28:06.040+11:002010-03-18T11:28:06.040+11:00A new CHAMPION! nicely done sir.A new CHAMPION! nicely done sir.Chris Mountfordhttps://www.blogger.com/profile/03560327085364406517noreply@blogger.comtag:blogger.com,1999:blog-2759480248865232582.post-89799181256309849732010-03-17T17:49:29.958+11:002010-03-17T17:49:29.958+11:00Think this is 2 chars shorter ;-)
groovy -e '...Think this is 2 chars shorter ;-)<br /><br />groovy -e 'javax.sound.midi.MidiSystem.synthesizer.with{open();c=channels[9];c.noteOn 56,99;Thread.sleep 99;c.noteOff 96;close()}'Tim Yatesnoreply@blogger.comtag:blogger.com,1999:blog-2759480248865232582.post-35442360734745192582010-03-09T20:24:08.613+11:002010-03-09T20:24:08.613+11:00Raise an issue it works for me :)Raise an issue it works for me :)Chris Mountfordhttps://www.blogger.com/profile/03560327085364406517noreply@blogger.comtag:blogger.com,1999:blog-2759480248865232582.post-31273471372319651612010-03-09T18:04:48.022+11:002010-03-09T18:04:48.022+11:00It does not seem to work, Chris... :-(It does not seem to work, Chris... :-(Anonymoushttps://www.blogger.com/profile/11568089987006666223noreply@blogger.com