Sunday, August 7, 2011

java processing minim

The purpose of this blog is to document the processing programming language which is on top of java, especially what I found out about minim, the sound package.

Links
  • java API
  • javaSound API
  • processing_kirby (Alex can edit and add, everyone can view and copy)
    processing (Everyone can view and copy)
  • http://www.developerfusion.com/article/84314/wired-for-sound/
  • write() Write an AudioInputStream to a Java File or OutputStream
  • http://hyperphysics.phy-astr.gsu.edu/hbase/music/saxw.html for harmonics
  • http://tomscarff.110mb.com/midi_analyser/midi_note_frequency.htm
Projects
  • Sounds
- check the use of midi in java to create instruments
- having trouble playing a note for a limited time. I cannot just give one statement to do it. I have to put in a delay, which means I cannot do anything else (unless I fork).
- I have not figured out how to do my own cureve. minim AudioSignal has Ocillator, PinkNoise, PulseWave, SawWave, SignalChain, SineWave, SquareWave, TriangleWave, WhiteNoise
Tree ddf.minim.signals

  • Pong
  • Tower Defense
Notes
  • algorithm for wavetable instruments search
    http://zynaddsubfx.sourceforge.net/doc_0.html
    http://zynaddsubfx.sourceforge.net/doc/PADsynth/PADsynth.htm algorith
Not included in the wave form are vibratto, tremollo,reverb.
Harmonics, sample rate, and timber are part of the wave form.
Harmonics is the same as overtones.
Peter Sonnek suggested the AudioSource java class (minim uses javaSound). Either I have the name wrong or this is the same thing. Minim has an audioSource class.

Sunday, July 3, 2011

Trip to St. Thomas

The Dulcan family (Nancy[39], Matt [21], Alex[18], and Alvin[39]) took a trip to St. Thomas, US Virgin Islands from June 19-19, 2011. We stayed in a fabulous Villa on Flag Hill, just east of Charlotte Amalie, the largest town. We found out about Villa Sunset on VRBO, http://www.vrbo.com/256143.

We picked up a Dodge SUV at the airport and followed the Property manager, Ron. It wasn't so hard to drive on the left, when we were following him. But it was strange that the steering wheel was on the left. The whole week Alvin was saying to Nancy, "Is it clear on the left?" Nancy would say "Go now!"

Barefoot Buddha

They do not have their own web site, but a google search, Barefoot Buddha USVI, reveals the reviews. This was our restaurant away from home. We ate their 4 times in the 10 days, and it was a relief to go there when we were tired and hungry. We parked across the street, near the grocery store (Gourmet something,our second favorite) between the Havensight Mall and Point of Sale Mall, just before you get to the K-Mart turn-off if you are going clockwise. We did not know about bialys before we walked in, but they were great, and the bagel sandwiches, too. Nancy bought a beautiful dress there (although we found it later in the open market for half of the price).

Kayak Trip

Sailboat to Swim with the Turtles

Saturday, July 2, 2011

linux hints

On ubuntu 10.4 machine called x: in /home/alvin/twit
for ((i=5;i<175;i++)) do wget http://twit.tv/floss$i ; done