Friday, March 5, 2010

Adult Stores Orange County

beat detection and analysis of sound

script that analyzes the volume stored in the wav file written in Python. Average value is calculated in a window of length N. The next window is k, k + N-1, 2 * k 2 * k + N-1, ... Where k
__author__ = "daniel"

__date__ = "2010-03-04 0:21:00 $ $"



scipy.io import from wavfile

import matplotlib.pyplot as pyplot



if __name__ == "__main__": <= length:

# load file
< srednia[-1]):
fs, data = wavfile.read ("/ home / daniel / Music / labedzie.wav)

# combining two channels into one

data = data [:, 0] / 2.0 + data [:, 1] / 2.0

# normalization

data = data / max (data)



# of samples will be enough to jump at the analysis

k = fs / 10

# length window analysis Hosted by imgur.com N = 2 ** 13 < N to okna się nakładają. Na końcu z pomocą biblioteki matplotlib rysowany jest wykres głośności.
 # number of samples in the file 

length, = dane.shape

average = []



while i * k + N
srednia.append (abs (data [i * k i * k + N-1]. mean ()))
i + = 1

pyplot.plot (average)
pyplot.title ("volume graph")
pyplot . show ()




Monday, March 1, 2010

White Kendall Cross Wrestling Shoes

Compiling kernel 2.6.9 on RedHat 8.0

installed RedHat 8.0 with 5 CD's of which at the time of installation are required unless only the first 2.
pozaznaczałem During installation, I want to have installed the developer tools (among others. Kernel development).

After downloading and unpacking the kernel in turn handed the command:

make mrproper
make menuconfig (here you have to remember that the Service was ext3fs built into the kernel, not as a module, because the boot partition is in ext3)

make dep make clean make bzImage


make modules make modules_install (as root, and do not "make module_install "!!!)

/ sbin / mkinitrd / boot/initrd-2.6.9 2.6.9

arch/i386/boot/bzImage cp / cp System.map boot/vmlinuz-2.6.9
/ boot/System.map-2.6.9
ln-s / boot / System.map / boot/System.map-2.6.9

In the file / boot / grub / grub.conf add the entry:

title Red Hat Linux (2.6.9)
root (hd0, 0)
kernel / vmlinuz-2.6.9 ro root = LABEL = /
initrd / initrd-2.6.9.img

Errors:
>> depmod can not open / for writing lib/modules/2.4.18-14/modules.dep < length:
>> Warning: May you have to install module-init-tools
solution is like a warning - to install the module- init-tools. This will guide you through this guide: http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/How_to_Compile_2_6_kernel_for_RedHat_9_8 in steps of 2:4.

Grub: can not find the file, error 15th Are you sure you copied the bzImage and System.map? The path should begin with / rather than / boot / - see NOTICE in grub.conf.
Error "pivotroot: pivot_root (/ sysroot, / sysroot / initrd) failed" means that ext3fs support is not built into the kernel. You must add it with "y" in step with make menuconfig.

now is to restart and use the new kernel. I jumped out of the system while standing only a matter of concern to me information about some problems with the eth0, but the project will not likely need it to me so far is not worried.