Jun 23rd 2011 resampling wavefiles

I needed to resample some wavefiles for a project. In first instance, I used Audacity (1.3.13-beta) running in a MacBook Pro. After finding many aliasing errors I went back to analyze the results of the resampling. Here some pics:

The results with  Audacity ® 1.3.13-beta (Unicode) and Matlab are much noisier than those obtained with Praat.

No Comments » Posted by julovi / Bitacora

Apr 18th 2011 Some anthropometrics

Related to music and sound:

one syllabe \approx 150-250 ms (Schegloff, 2000)
between-speaker silence 200 ms (Walker & Triboli, 1982)
fastest a human can react to some stimulus with a vocal response under maximally conditions \approx. 200 ms (Fry,1975; Izdebski & Shipp, 1978; Shipp & al., 1984)

mm Hz MIDI
forefinger breadth (mm) 17 20235.29 135.28
thumb breadth (mm) 21 16380.95 131.62
hand breadth without thumb (mm) 85 4047.06 107.42
foot breadth (mm) 97 3546.39 105.13
head breadth (mm) 148 2324.32 97.81
thigh clearance (mm) 154 2233.77 97.13
chin-crown height (mm) 194 1773.20 93.13
hand length (mm) 195 1764.10 93.04
abdominal depth (mm) 244 1409.84 89.16
elbow height sitting (mm) 250 1376.00 88.74
foot length (mm) 256 1343.75 88.33
elbow-grip length (mm) 344 1000.00 83.21
hip breadth (mm) 392 877.55 80.95
shoulder breadth (bi-deltoid) (mm) 447 769.57 78.68
popliteal height (mm) 462 744.59 78.11
breadth over the elbows (mm) 466 738.20 77.96
elbow-finger tip length (mm) 466 738.20 77.96
buttock-popliteal depth (mm) 511 673.19 76.36
shoulder height sitting (mm) 612 562.09 73.24
buttock-knee depth (mm) 625 550.40 72.88
reach depth (mm) 785 438.22 68.93
eye height sitting (mm) 808 425.74 68.43
fist height standing (mm) 878 391.80 66.99
hip height (mm) 924 372.29 66.11
sitting height (mm) 926 371.49 66.07
elbow height (mm) 1133 303.62 62.58
shoulder height (mm) 1444 238.23 58.38
eye height (standing) (mm) 1652 208.23 56.05
stature (mm) 1770 194.35 54.8

Source: http://dined.io.tudelft.nl/dined/# (Dutch (18-30 y) mixed 2003)

No Comments » Posted by julovi / Bitacora

Feb 23rd 2011 Amphibian charms

Under my rough amphibian skin, I’m still a prince. Sure I can give many kisses, but only a princess will break my spell.

1 Comment » Posted by julovi / Cambrayans

Dec 3rd 2010 sweet face

con una cara tan dulce que la devoraban las hormigas

No Comments » Posted by julovi / Cambrayans

Oct 4th 2010 losing it

and all that sweat, tears, blood, guts, prayers, music, kisses and hugs, resilience, long-distance calls, one more times, late nights, early mornings, being nice to people, running, loving, hating, running again, tripping, getting high, getting drunk, getting blue, getting aboard, wishing to die, being alive, never look back, turn around, stand up again, all that shit, what was it for? I just can’t fucking remember…

No Comments » Posted by julovi / Cambrayans

Mar 9th 2010 invictus

Out of the night that covers me,
Black as the pit from pole to pole,
I thank whatever gods may be
For my unconquerable soul.

In the fell clutch of circumstance
I have not winced nor cried aloud.
Under the bludgeonings of chance
My head is bloody, but unbowed.

Beyond this place of wrath and tears
Looms but the Horror of the shade,
And yet the menace of the years
Finds and shall find me unafraid.

It matters not how strait the gate,
How charged with punishments the scroll,
I am the master of my fate:
I am the captain of my soul.

No Comments » Posted by julovi / Salt and pepper

Feb 17th 2010 Change the size of small-caps in Latex

I found very little the small caps (\sc, \scshape, etc.) I was using in a document. I solved adding to the preamble this  line:
\usepackage[scaled=.9]{helvet}

Change the ‘.9′ value according to your needs

No Comments » Posted by julovi / Salt and pepper

Dec 3rd 2009 publication list bibtex style (bst)

I needed to create a publication list for my dissertation. I wanted it to include the abstracts and be sorted descendant by publication date.

There is already an abstract.bst file that outputs the bibliography items with abstract, but it sort them by author. So that messed up my file, because I wasn’t the first author in all these publications. There is also a plainyr-rev.bst that sort the bibitems by year. So I combined them both to have a descendant-by-year-abstract-included output. This is the Bibtex Style File for Publication Lists with Abstract (descYrWithAbst.bst).

I use BibDesk to mantain my bibtex database. I created a Smart group that contains all the entries where I am an author. I have the tex view in the bottom panel, and in the BibDesk’s Preferences, I modify the Tex template like this:

\documentclass[a4paper,11pt]{article}
\usepackage{url, gensymb} % include packages according to your needs
\pagestyle{empty}
\title{Publication List}
\author{Juli\'an Villegas}
\date{}
\begin{document}
\nocite{<<CiteKeys>>}
\bibliography{<<File>>}
\bibliographystyle{./descYrWithAbst}
\end{document}


This method is convenient because it can be used to generate an well-formed HTML file without all the curly braces and such those the BibDesk includes. I’m using SimpleTeX4ht to generate the HTML file. The ‘Publications‘ page of this website was generated that way.

Hope it helps!

1 Comment » Posted by julovi / Salt and pepper

Oct 13th 2009 Mac Os X Snow Leopard and MySQL

I upgraded Mac Os X to the version 10.6.1 and I found that my mysql database stopped working, This is how I fix it:
Open a Terminal and type
sudo ln -s /usr/local/mysql-5.0.51b-osx10.5-x86/* /usr/local/mysql

Then, look for the MySQL icon in the System Preference panel and click it. Let it reopen (as the message says), and that’s it. Mysql is running as it was before upgrading the operative system.

Hope it helps.

1 Comment » Posted by julovi / Salt and pepper

Sep 27th 2009 roughness and pitch

No Comments » Posted by julovi / Bitacora

Next »