Online Methods: Data Table 1

The following provides detailed records where availalbe on the recordings used in our analysis. The cases in the table are excerpts from doctoral thesis of Hollis Taylor and from her records.

CD ID Track Duration Location Date – Time Recordist Notes
077-Baylis 01 10:28 Great Wall of
China near
Hall’s Creek
WA
03/09/00
04:54
Tony Baylis
Utopia
Road
Brooweena
QLD 4620
This song started pre-dawn and
continued through dawn; bird was
singing from low shrub on
hillside. Bird was not observed
during recording; I saw it as it flew away (two birds present).
Made on Sony MD MZ-R50 with
Sennheiser MKH816 mic, range
c. 40 metres. Some EQ applied.
077-Baylis 02 12:45 Great Wall of
China near
Hall’s Creek
WA
03/09/00
contination of Tr. 1
Tony Baylis Continuation of Tr.1 after moving
mic a few metres. Some EQ
applied.
003-Beasley 09 5:17 Woods near
Cumberdeen
Dam, Pililga
Forest NSW
22/10/01
04:30
Jenny
Beasley
“DA-P1. Still, clear morning.”
HT77 01 30:03
HT77 02 30:04
HT99 01 1:10
050.2-Lumsdaine 02 15.23
052-Powys1 06 6:35 Palm Valley,
Finke Gorge
NP NT, desert,
sparse trees,
near
campground,
sandstone
outcrops and
cliffs, recent
rain – bird
called from
part-way up
stony ridge
03/09/93
05:23
Cool
Vicki
Powys
“One bird calling in full moonlight,
varied phrases (RufSnglk;
HBCuck; BlackDuck).”
085-
JohnsonCS
01 42:23 Indooroopillly,
QLD
23/10/95 Gayle
Johnson
From cassette #25. “Pied
Butcherbird Dawn Song
23.10.05. Times spoken on tape,
starts when quite dark. Best bit of
recording up to when tape width
is 4 mm. Bout continuous with
various interruptions, change of
position, minor interaction with
other birds, until clear dawn song
at approximately 11-12 mm.
Dawn song continues
intermittently after good day song
starts. Recording occupies most
of tape but much repetition of
dawn song and best bits early on.
Indooroopilly – don’t know the
name of the street but it was near
Central Avenue on the east side
of the railway line. Could find you
the name of the street if you
wanted a more precise location.
One bird only.”
050.2-Lumsdaine 02 15.23
095-Fullagar 01 1:01:56 Broome WA 11/10/92 Peter
Fullagar
“5 August 2007 Dear Hollis, Pied
Butcherbird CD posted
yesterday! Only two cuts but one
is a long sequence of the
morning song of an individual. It
is not absolutely all the song as I
was moving in to the bird
occasionally. Time stamp seems
to indicate that there was an
interval of about 2 hours from
start to finish of this recording
session. However, the start was
not really a start because the bird
had been singing intermittently all
night. The breaks will not be
obvious. DAT recorders are
troublesome on this point when
the pause button is used. You
should be able to hear the
change sometimes. The other
recording is, by comparison, very
poor. Not much use I suspect but
it was from another locality.
These are all I have on Pied
Butcherbird. Obviously, I have
not really tried to record them!
Peter”
026-
GG92.1A
01 30:28 9 Magpie Lane,
Gowrie
Junction QLD
4352
From
06/09/92
Gloria
Glass
“4 August 2005: I’m sending off
another batch of tapes. There are
eight altogether.
* 1992 TWO TAPES The first
one seems to have been a music
tape that I’d had from my
husband, as there are some
songs on the end. I guess I just
recorded over the top of the
music! On both sides there is
music at the end. Sorry. The
second tape was better. But in all
of them there are motor vehicle
noises from time to time too.
“Slow start. Side A recorded on
Marantz machine, magpie and
wrens, pbb very good, two
phrases, then faint magpies.”
HT68 03 30:01
032-
GG98.2A
01 60:24 9 Magpie Lane,
Gowrie
Junction QLD
4352
09/29/98

01/10/98
98

01/10/98
Gloria
Glass
“Good three days.”
HT21 01 37:30
HT179 05 30:08
HT127 01 17:01
HT16 03 54:11
040-
GG02.3A
01 45:54 9 Magpie Lane,
Gowrie
Junction QLD
4352
06/10/02 –
?
Gloria
Glass
“Second half of 06/10 pre-dawn
spring call.”
Posted in Uncategorized | Comments Off on Online Methods: Data Table 1

Protected: Online Methods: Step By Step

This content is password protected. To view it please enter your password below:

Posted in Uncategorized | Comments Off on Protected: Online Methods: Step By Step

Online Methods: GUI Tutorial

Files:

getDataMatrixFromMysql.m

insert_at.m

setup.m

Instructions for using the Song Sorting GUI

For more information contact Eathan Janney: eathankeyboards@gmail.com

Getting Started

Start with batch analysis via SAP. After batching the your song data as 1 sample per millisecond raw features tables find the name of the raw features table and use it as the argument in the following command:

[threeDMatrix, features] = getDataMatrixFromMysql(‘rawFeaturesTable’);

You may have to replace ‘localhost’, ‘root’ and ‘sap2011’ in this file with the appropriate directory, username and password.  You will replace items in the following line of the code:

mysql(‘open’, ‘localhost’, ‘root’, ‘sap2011′);

In another line of code you may have to replace ‘sap’ with the name of your mysql database containing raw features:

mysql(‘use sap’);

Now that you have the variables ‘threeDMatrix’ and ‘features’

create a structure, ‘figData’ with the following fields (you literally do this by running the following commands):

figData.array3D = threeDMatrix;

figData.features = features;

Make sure the ‘setup.m’ file is on your path.

Now run the command: setup(figData)

You will immediately be prompted to choose the folder containing the sound files that you batched in sap.  Once you do so the GUI will take a moment to link the files to the GUI.

The GUI will load an image file with your representing your data and you can begin to use it for sorting.

GUI features

Select feature: amplitude | mean_frequency_amp | pitch | mean_frequency | FM | am | goodness | entropy | peak_frequency | continuity_t | continuity_f  

Use any of the 11 features extracted using SAP to view the data.

Listen | ShiftLR | Rearrange 

This drop down menu allows you to choose from three major functions:

Listen: click on a row in your image file. The corresponding sound file will play starting at the point in the sound that corresponds to the horizontal point in the image row that you clicked.

An options menu will appear offering you different percentages of full speed at which to listen: 0.25 | 0.5 | 1.0 | 2.0

Shift LR: When you select this a menu will appear that allows you to turn the “quick align” function on or off.

 

Quick-align on: You are prompted to choose the point in the x-axis that is your alignment point. When you click on a row the point you click horizontally will be shifted to the quick align value.

Quick-align off: Click on a a horizontal point in the row to be moved then click the second point where the first point should shift to.  The row will shift accordingly.

Rearrange: Click the row that you want to move. Then click the row you row where you want it moved.  The first row will move to the new position and the rows in between will shift accordingly.

Buttons: ‘Save’ and ‘Move Group’

Save: Click the save button and a window will open allowing you to browse for the folder you want to save your figure data in. After you choose the folder a dialog box will ask you to name your data. A mat file with your chosen name will be saved in the folder with the same name that contains a ‘figData’ structure.  When you later load this mat file and then run the command setup(figData) your saved figure will be loaded.  You do need to choose a sound files folder again because the sound files were already associated with the data. Note: the saved files will be large because they contain all of your sound data.  This allows for

 

Move Group: This button allows for another method of vertical shifting. It allows you to shift groups of rows. Click “move” and a dialog box will appear. Enter the numbers of the first and last rows of the segment to be moved. Enter the row where you would like the segment ‘inserted.’  Click ‘OK’ and the segment will be inserted. the rows between the segment and the insert point will be shifted accordingly.

Posted in Uncategorized | Comments Off on Online Methods: GUI Tutorial

Installing django on bluehost in 2013

http://devget.net/blog/installing-django-1-5-1-with-python-2-7-4-on-bluehost/

Posted in Uncategorized | Comments Off on Installing django on bluehost in 2013

Random numbers in Python

In order to generate a random number in python I had to import the random library.

import random
  random.random()

This gives a random float between 0.0 and 1.0

I need a list of random numbers.  Here was a suggestion for javascript:

int myarray[] = new int [10];

 for (int i = 0 ; i < 10 ; i++)
 {
 myarray [i] = (int) (Math.random () * 10);
 }

In order to use pi in python you must import the math module.

import math

 the_constant_pi = math.pi

I needed to iterate over two lists in parallel (link):

for f, b in zip(foo, bar): print(f, b)

But of course, that doesn’t work in the template!  The following does not work! :(

{% for (each, r) in zip(tree, randoms) %}

When number variables are passed to the template, they need to be converted to from strings to numbers.  In processing.js this is achieved by prefixing a plus sign.  The code below adds the second element of an list called “randoms” to ten and then displays at the coordinates x = 50, y = 50.

text(+"{{ randoms.1 }}"+10, 50, 50)
Posted in Uncategorized | Comments Off on Random numbers in Python

Django template variables with Processing.js

I am trying to integrate processing.js within a site I have created using django. The reason I am integrating the two is because I made an app using processing (not processing.js) that I am hoping to develop further. I want to place on the web for any user to interact with and I want to allow the app to interact with a database.

The original app accepted text input from a user. The words were plugged into a tree structure visualization. The data from inputting words was never stored and the user needed to start with a blank visualization whenever the app was reopened.

With django I have created a database that stores any previously entered text entered by a user. The problem is that I am having trouble accessing the database items in an efficient way. Django has template tags which allow me to pass variables from the database (using views.py) into the webpage (an html template stored in the templates folder). But within the html page the variables do not behave the way I want them to.

def assembleTree(firstWord, x):
    set = firstWord.word_set.all()
    lenSet = len(set)
    x.append(firstWord)  

    if lenSet > 0:
        for each in set:
            assembleTree(each, x)
    return x

Here are some things that I want to do in the html but I can’t:

{{ len(x.word_set.all()) }}

I cant use the len command within the html template.

I searched “html template django len” and visited this site, which seemed to give a hint that length can be accessed in a different way.  It can!  This is the proper syntax:

{{ x.word_set.all|length }}

Notice also that even though the dot syntax can be used just like in views.py, the .all() method loses it’s parentheses.

Also by searching “html template django indexing” and through this site I found out that django templates also support indexing!  Which I did not know before.  Again, the syntax is unexpected.

I would expect to use

{{ x.word_set.all[1]}

but instead it is

{{ x.word_set.all.1 }}

More text

 

Posted in Uncategorized | Comments Off on Django template variables with Processing.js

Creativity Interviews: Proof of Concept Prototype Videos

Below are two videos recently produced as part of this project. The first interview with Anthony Ptak, theraminist, artist, and educator. The second is an interview with Samwell Freeman, physicist, programmer and artist. In each video, we explore the definition of creativity, how to move past creative blocks and we perform a creative exercise.

Posted in Uncategorized | Comments Off on Creativity Interviews: Proof of Concept Prototype Videos

Creativity and Mental Illness.

http://www.livescience.com/6468-link-creativity-mental-illness-revealed.html

Posted in Uncategorized | Comments Off on Creativity and Mental Illness.

Poem.

Click and drag inside this box. Press ‘c’ for clear, ‘s’ for save.

Posted in Uncategorized | Comments Off on Poem.

Word Pen.

Click and drag inside this box.

Posted in Uncategorized | Comments Off on Word Pen.