Monday, December 20, 2010

Best Curry Yet.

Start some brown rice with mashed ginger. Chop some yams or sweet potatoes and carrots and roast them halfway. Lightly toast some cumin seeds in a skillet and then grind them in a mortar. Put the half-roasted root vegetables into the skillet with some minced onion and garlic. Add dried basil, cayenne, cinnamon, cardamom, corriander, and cumin. Cook until the onions are translucent and then add to the rice. Mix in siracha, green onions, peanuts, banana chips and raisins. (The peanuts should add enough salt.)

I don't think Indians use cayenne, but instead rely on the combination of other spices and cinnamon to create a heat. Whatever. It was my birthday and I liked it.

White/Pink/Red Noise Generation

This guy uses some scripts and sox to produce different kinds of noise, here.

This guy has some Matlab/Octave code to generate pink noise, here.

The wikipedia article on spectral density is helpful. It is found here.

The scholarpedia (?) article on 1/f noise is here.

A python pink noise generator is here.

A Matlab script for pink noise is here.

Command Line Audio Manipulation

Sound eXchange can be found, here. I think you need to convert ogg -> wav using sox, and then wav -> mp3 using lame.

Soundconverter, a GNU GUI for translating between formats can be found, here. It appears to also have a command-line capability.

Thursday, December 9, 2010

Tutorial Ideas

+ Predator-Prey Modeling
+ Other Dynamic Models
+ Differential Equations
+ Kalmann Filter
+ Using Cyphers
+ Image Processing
+ Color Schemes
+ Random Numbers and Chaos

Handling Images in Python via Matplotlib

This page describes how to use the matplotlib.image module to load and work with images. Here.

Monday, December 6, 2010