![]() The glass lens fits into the original part extremely snugly and definitely won't be falling loose as I had initially feared. This evening I meticulously cut apart the Moebius plastic lens ring to accomodate the glass replacement lens and it went extremely well but it still needs more sanding. The question is where to place the remote sensor? (In the speaker grill?, hidden inside the lens? We'll see.) Unlike most HAL 9000 builds though, mine would be triggered with a small remote to play the sounds as opposed to a physical button on HAL. I'm currently getting a quote from an Arduino expert on Fiverr who may be building it for me. Regardless of what option I go with, the build will also have sound effects built in. (I have requests for quotes in progress.) Upgrade the kit with a new faceplate AND an aluminum frame, AND custom machined aluminum lens enclosure rings.(I've order a plate and it's enroute to me now.) ![]() Actual metal brushed anodized black aluminum finish.Vinyl wrapped polystyrene in a brushed anodized black aluminum finish (I've ordered and receieved the vinyl and it's " ok".).Upgrade the kit with a new faceplate that is either:.Build the kit as-is (painted plastic) with the replacement lens.I'm still early in my build and moving slowly but my plan is for one of the following options: HAL 9000 Panel (2001:A Space Odyssey) by AP 333. ![]() Related threads I've participated in so far: I looked at what other people had done and then decided that maybe the plastic kit wasn't good enough and maybe I should replace much of the kit with upgraded parts (including metal) Then I discovered other people's HAL 900 builds here on RPF. So I bit the bullet and bought two of the replica lenses off eBay (Now sold out) and two of the Moebius kits off of Amazon. Then I remembered that my best friend is a huge 2001 fan and thought " Hmm this might make a good gift idea for him." which then turned into " I should buy two of each so I can build one for him, and one for myself!" Building a super realistic HAL 9000 suddenly seemed in reach. This all snowballed for me after I accidentally stumbled upon some replica HAL lenses for sale on eBay and then got curious about building a HAL 9000 replica.Īs I weighed the thought of buying the lenses I started to research the Moebius models HAL 9000 kit that I'd never heard of before and were referenced in the lenses product description. There's much more information on the Sun/Oracle website on Java headless mode.I was starting to feel guilty about all my chatter about my own build in other people's threads so I figured I should start my own thread. :) Setting Java headless modeĪs one final note, if you'd rather specify the Java headless mode in your code instead of the command line, just add this line of code to your program: =true PlaySound sound1.wavĪnd I finally had what I wanted, a little program to play a sound file whose name I specify on the command line, with no undesired side-effects. To fix this problem I told the Java JVM to run in "headless" mode, like this: This is when I noticed input focus was moving from my Mac Terminal window to "somewhere else", and sure enough, I saw the Java icon in the Mac Doc. I fixed this error by running my Java command like this, telling the JVM it's okay to look in the current directory for my Java class file: It failed because my classpath wasn't set, as shown in this amazingly nasty-looking exception:Įxception in thread "main" : PlaySoundĬaused by: : PlaySoundĪt $1.run(URLClassLoader.java:202)Īt (Native Method)Īt (URLClassLoader.java:190)Īt (ClassLoader.java:307)Īt $AppClassLoader.loadClass(Launcher.java:301)Īt (ClassLoader.java:248) When I went to run it like this it didn't work: play the audio clip with the audioplayer class create an audiostream from the inputstreamĪudioStream audioStream = new AudioStream(in) InputStream in = new FileInputStream(args) ("I need just one arg, the name of a sound file to play.") * A simple Java sound file example (i.e., Java code to play a sound file). Here's the source code for my simple Java program that reads the name of a sound file as a command line argument, and then plays that sound file: Java sound application and Java headless mode Upon writing my little Java sound application, I was quickly reminded that on Mac OS X running a Java program from the command line creates an icon in the Mac Dock, so I also added the "headless" mode option to my command line arguments, as shown below. So, I wrote a quick little "Java sound" program to read the name of a sound file from the command line, and then play the sound file. But, when you double-click a sound file on Mac OS X, it automatically plays through iTunes, which is good for some things, but bad for what I wanted to do. As part of my ongoing HAL 9000 voice obsession, I downloaded a bunch of "HAL 9000" sound files last night.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |