Wednesday, December 12, 2007

What is this?


Any idea what this is a picture of?

Ok, so it is a cellular automation, but where did the symmetry come from? Here is the generating snipit of python code.
   def getArray(self):
if self.count == 0:
out = random((self.w + 1, self.h + 1))
else:
out = self.data[:,:]
out[:,0] = 0
out[:,-1] = 0
out[0,:] = 0
out[-1,:] = 0
out[1:-1,1:-1] = (out[2:, 1:-1] +
out[1:-1,2:])/2.
out += .01
i_s, j_s = where(greater(out, 1))
for i, j in zip(i_s, j_s):
out[i, j] = 0
r = out.ravel()
self.count += 1
self.data = out
return out

Saturday, December 01, 2007

Hex Clock




Revolutionary new clock. Forget the binary clock, meet the Hex Clock!

The day is divided into 4096 Binutes, which are sub-divided into 16 tics each. The top three squares display the Binutes Past Midnight (BMP). The bottom square displays 16ths of a Binute, a "tic" which is about 1.3 seconds.

Each side of a square is a bit. The right side is least significant bit, with increasing significance in the counter clockwise direction.

Download

Wednesday, September 19, 2007

Progess



Made a little progress on gnuradio today. At least my input matches my output and I've gotten rid of the intermittent response. The decimation of the input needs to be half of the interpolation in order to avoid shifting the frequency. I still to not understand the phase. I am trying to force a phase shift with a complex multiply but the results always seems to be real until I mess with the tune frequency. Hmmmmm

Friday, September 07, 2007

GnuRadio USRP Puzzle

I think I have a misunderstanding regarding tuning the USRP.

I have connected the TX-A directly to RX-A. I am plotting the FFT of both the transmitted and received signal. I have tuned RX to 0 Hertz so I expect the positive frequencies to look the same up to noise affects.

What I get instead is mostly noise:

Occasionally I get blips of a signal like this:

The GRC graph is also included:

Wednesday, August 22, 2007

Gnuradio and Gnuradio Companion (GRC)


Wow,
I've been struggling with gnuradio for a bit when I came accross the gnuradio companion (GRC) written by Josh Blum. This puts the power of gnuradio at your finger tips. The framework is fully extensible too so if something doesn't exist you can create it. GRC has cut my
project time by 4! (see http://www.joshknows.com/)

Check out this screenshot.

Sunday, December 03, 2006

Stereo Recording


Finally I was able to record in stereo thanks to Audacious, an open source sound mixer! I will be using a Lego Mindstorms NXT to cal the microphone at various angles during the next weeks.

Friday, May 26, 2006

dyndns.biz

Oh man, the sbc is finally back on the web. I lost the dyndns password and had to create a new account.

address wyosbc.dyndns.biz port ??

Sunday, May 21, 2006

Logo!



Andy Duvall of andyduvall.com created the above logo for VisualHearing. After five minutes, I felt like it had been the logo all along!

Sunday, May 14, 2006

Baudline

Had a great conversation with Erik Olsen of SigBlips.com, creator of baudline. Eick expressed an interest in the integration of VisualHearing with baudline. He also pointed out xgl and the Kororaa live cd. The xgl desktop allowes you to set the transperancy on each window. This seems like a great way to overlay different visualizations.

Here is an archetecture that may work with this in mind.


/- Vis1
/-- Vis2
source ---> baudline ---> server < ---Vis3
\-- Vis4
\- Vis5

Tuesday, May 02, 2006

Got date - local too

WyoInnovation

The ntpdate syncs the datetime but it displays in UTC format. To show the local date use

tzconfig
Choose America
Choose New_York

This is the default timezone for the machine. Individual user can customize ther time zone using

TZ='America/Denver'; export TZ

.profile is good place to put the above commands

S

Monday, May 01, 2006

SD card partition, filesystem

Created two ( one to used as DOS, other ext2) partitions
fdisk /dev/sdcard1/disc0/disc

Create ext2 filesystem
mke2fs /dev/sdcard1/disc0/part2

Mount is having problem , giving error
EXT2-fs: blocksize too small for device.

S

It looks like, you can not create ext2 filesystem more than 512 MB on the SD card. Split into two and works

S

1 Gig sd card plugged in.

Shyama got a 1Gig card for the second sd slot. The new card was found on reboot but not mounted. I guess we need an entry in /etc/fstab??

J

Sunday, April 30, 2006

dmesg

After login, the command "dmesg" will cat the console messages to the screen.

Saturday, April 29, 2006

baudline

Found a great program for visualizing sound called Baudline (free as in beer): http://www.baudline.com. Got it installed on linux box and started playing around with it. Really nice graphics.

ntpdate ntp.org

Since we didn't spring for the real time clock as part of the SBC we need correct the date each time we reboot. The command is
$root> ntpdate ntp.org

The startup script /etc/init.d/ntpdate already existed. The links in the directory /etc/rcS.d get started during boot with the "start" command. The scripts are executed in order from S00 to S99. I used S51 so ntpdate will run after the hwclock scripts run (and fail).

root$ ln -s /etc/rcS.d/S51ntpdate.sh /etc/init.d/ntpdate

Sunday, April 23, 2006

mount CF jump drive (Lexar 512MB)

I wanted to mount my flash drive which I use in windows. I inserted the drive in USB it displays
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device
sda: 1014784 512-byte hdwr sectors (520 MB)
/dev/scsi/host0/bus0/target0/lun0: p1 p2


The fdisk -l shows the two partions, I have on the jumpdrive. Tried
mount -f vfat /dev/sda1 /mnt/flash
It did not recognize the vfat filesystem . It looks like the ARM linux does not load the DOS filesystem related modules ( it makes sense not load unncessary modules). To load the modules

insmod fat
insmod vfat
insmod msdos

mount -r -t vfat /dev/sda1 /mnt/flash
#( -r is for read-only - just wanted to be safe )

ls /mnt/flash


That's it!!

To unmount
umount /mnt/flash

SPM

Monday, April 10, 2006

Sunday, April 09, 2006

faster boot-up

disable non-crtical services at startup
update-rc.d -f mysql remove

update-rc.d mysql start 20 3 4 5 . stop 20 0 1 6 . (note the periods)

edit /etc/inetd.conf to disable ftp and telnet ....

eth0 works.

After I figured out that eth1 and eth0 have different MAC addresses eth0 came right up.

Saturday, April 08, 2006

Network is up!

Used ifup to get the network running on eth1. I'll have to see if the same works for eth0 after I finish marveling at my handywork.

Also used "apt-get install python" which installed python 2.3.

Still need to get the x11 working.

---