User:Sevgi/Special Issue 25: Difference between revisions

From XPUB & Lens-Based wiki
 
(4 intermediate revisions by the same user not shown)
Line 105: Line 105:


=== '''Protocols for Defining Words from Lidia's Class''' ===
=== '''Protocols for Defining Words from Lidia's Class''' ===
== <span style="font-size:.9em;font-family:'Helvetica';">Week 4 <span style="color: blue;font-size:.7em;">30-04 Oct</span>==
===Search Engine===
    Michael's secret notes:
   
<<nowiki>https://aporee.org/maps/?loc=53029&m=satellite</nowiki>>
collaboration with [archive.org](<nowiki>https://aporee.org/maps/info/</nowiki>)
<<nowiki>https://archive.org/</nowiki>>
<<nowiki>https://archive.org/details/radio-aporee-maps</nowiki>>
though seems not still automatically pushing to archive.org
<<nowiki>https://archive.org/details/aporee_53029_60598</nowiki>>
If you click on [field recording](<nowiki>https://archive.org/search?query=subject%3A%22field+recording%22</nowiki>)
Note the URL (can unpack it).
Try [advanced search](<nowiki>https://archive.org/advancedsearch.php</nowiki>)
Read end of page, note that it uses [Lucene search syntax](<nowiki>https://lucene.apache.org/core/2_9_4/queryparsersyntax.html</nowiki>)
example from advanced form, adding subject:"field recording" with fields title, year, and subject.
selected HTML table as output format.
<<nowiki>https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&callback=callback&save=yes&output=tables</nowiki>>
let's add more fields
<<nowiki>https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=call_number&fl%5B%5D=external-identifier&fl%5B%5D=format&fl%5B%5D=identifier&fl%5B%5D=licenseurl&fl%5B%5D=mediatype&fl%5B%5D=name&fl%5B%5D=rights&fl%5B%5D=source&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=type&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&callback=callback&save=yes&output=tables</nowiki>>
In archive.org the identifier is important ... it's the key to getting more information about an item (and the URL to do so with).
NB: Subject seems to have a list of multiple possible values...
How to list multiple values / in combination?
<<nowiki>https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=call_number&fl%5B%5D=external-identifier&fl%5B%5D=format&fl%5B%5D=identifier&fl%5B%5D=licenseurl&fl%5B%5D=mediatype&fl%5B%5D=name&fl%5B%5D=rights&fl%5B%5D=source&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=type&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&output=json&callback=callback&save=yes</nowiki>>
<<nowiki>https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=call_number&fl%5B%5D=external-identifier&fl%5B%5D=format&fl%5B%5D=identifier&fl%5B%5D=licenseurl&fl%5B%5D=mediatype&fl%5B%5D=name&fl%5B%5D=rights&fl%5B%5D=source&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=type&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&output=json&save=yes</nowiki>>
"aporee_54679_62534" => <<nowiki>https://archive.org/details/aporee_54679_62534</nowiki>>
USE INSPECTOR TO CUT AND PASTE THE FORM FROM archive.org page.
PASTE IN YOUR OWN PAGE AND VIEW IT...
(NEED: either ability to run local server, or to edit comfortably directly on cereal box)
NB submit changes (local) URL but does nothing... we need to add
action="<nowiki>https://archive.org/advancedsearch.php</nowiki>"
to form
   tidy -w0 -m archive_radio.html
   tidy -i -w0 -m archive_radio.html
With FORMS, you may need to SHIFT-RELOAD (Firefox) to make sure that form values (like selected on an option) are refreshed to their saved values. (It's a feature that a form is "sticky" when you are working on one, so it prefers the values the user has set in the browser).
input type="checkbox"
just one should be *checked*
set mediatype to audio.
query:
   subject:"field recording" AND subject:"city" AND mediatype:"audio"
MANY ATTRIBUTES OF INPUT ELEMENTS CAN BE REMOVED: id, class, style
In terms of form operation, only the name and value and attributes like checked or selected are significant.
HIDE THE FIELDS, replace with multiple:
<input type="hidden" name="fl[]" value="">
NB: the *name attribute* is fl followed by square brackets. There is not special meaning of the square brackets as far as HTML is concerned. However, it's a convention that the designers of archive.org have followed as a reminder that the field values with name "fl" are multiple, [] being associated with lists in several languages (like javascript and python). Even if you just have one value, the name needs to stay "fl[]".
Single item:
<<nowiki>https://archive.org/details/reed-warbler</nowiki>>
<<nowiki>https://help.archive.org/help/search-a-basic-guide/</nowiki>>
<<nowiki>https://archive.org/about/</nowiki>>
<<nowiki>https://archive.org/developers/</nowiki>>
finally!
Note that the metadata for an item never contains the information of the actual (multiple) files. Sounds in archive.org typically have multiple versions of the same audio in different formats. An item (like a CD) might also have multiple different sound files (the different tracks of an album). Posts from apogee tend to have just the one audio source in multiple formats.
CLICK ON THE IDENTIFIER to see the "item" page...
Find the "raw audio url" of the audio that plays from archive.org... you could look at the network inspector when you play the file... or (simpler in this case because the files are downloadable), check out the download interface.
THIS IS A VERY GOOD PAGE:
<<nowiki>https://archive.org/developers/metadata-schema/index.html</nowiki>>
> All metadata for archive.org items are stored in <identifier>_meta.xml and <identifier>_files.xml. The meta.xml file contains all of the item-level metadata for an item (e.g. title, description, creator, etc.). The files.xml file contains all of the file-level metadata (e.g. track title, checksums, etc.). While these two files are the canonical sources of metadata for archive.org items, most users will interact with an item’s metadata via the metadata API. For example, nasa_meta.xml correlates to /metadata/nasa/metadata and nasa_files.xml to /metadata/nasa/files.
>
>
actually this was confusing....
<<nowiki>https://archive.org/metadata/reed-warbler</nowiki>>
surprise!
LOOK at the results...
```html
<!DOCTYPE html>
<html>
<head>
   
</head>
<body>
<script>
   let id = "reed-warbler";
   fetch(`<nowiki>https://archive.org/metadata/${id}`</nowiki>)
       .then(resp => resp.json())
       .then(data => {
           console.log("data", data);
       });
</script>
</body>
</html>
```
Find the RAW audio URL from before...
   <nowiki>https://ia801409.us.archive.org/10/items/reed-warbler/Reed%20warbler.mp3</nowiki>
You need to construct this url from the information you get from the metadata. (The metadata doesn't have the full file urls, but all the information you need is there (hint, look for the "dir").
```javascript
let id = "reed-warbler";
fetch(`<nowiki>https://archive.org/metadata/${id}`</nowiki>)
   .then(resp => resp.json())
   .then(data => {
       console.log("data", data);
       let mp3 = data.files.filter(d => d.format == "VBR MP3");
       console.log("mp3", mp3);
       let mp3_url = `<nowiki>https://${data.d1}${data.dir}/${encodeURI(mp3</nowiki>[0].name)}`;
       console.log("mp3_url", mp3_url);
   });
```
====to do====
archive.org custom search page  > audio selection
audio selection > audio for the browser synth
audio browser synth + soundboard.html > play

Latest revision as of 17:14, 30 September 2024

Week 1 09-13 Sept

ALL PROBLEMS OF NOTATION WILL BE SOLVED BY THE

Week 2 16-20 Sept

Field recording from Goynuk Kanyonu

Doga harikası Goynuk Kanyonu!











Metadata




Memory


Song

Youtube link to Fanny Dog


Permissions

  • Recording - Yes
  • Meta - Yes
  • Memory - Yes
  • Song - Yes

Ashkim Hours #4

Input for the Reader

Content for the Reader: The Zottarella

En B Zottarella Ball PS Basilikum 01.png













Links from Steve's class: Fabulous Loop de Loop

  • 18.09 @ Amare Den Haag Nieuwe Kerk > Bach & Beyond - SoundWave Collective en Geerten van de Wetering

I heard panfluit being played at this concert and it was mesmerising, the notation included different sounds made with the roof of the mouth as well as the notes.







  • Research Catalogue of the Royal Conservatoire : [1]

[2]

Panfluit notation example
Panfluit notation example

[flute source]

Protocols from Steve's Class

Week 3 23-27 Sept

Radio Show #1 23.09.2024

Notes on sounds:

  • sevgi'
    map - Antalya, Turkey / bird sounds, nature, morning, dreamy
    memory - Heaven
    song - Fanny Dog - a lil funky, about Fanny the dog, 'knows what her name is'
  • alexandria
    map - IJmuiden, Netherlands / industrial, road, car, exhaust, smoke
    memory - Warhammer, google maps, bike ride, bike partner, games, gamecube, kanker, cancer,
    song - Uskallan · Paavoharju - folk, Turku, yoresel, local, lo-fi, - pop-rock
  • fred
    map - Glasgow, Scotland - station , pre-recorded message, ACCENT, 'next train
    memory - high pitch, Brexit, automated passport scanners, nationalism, pride of [...], home, na/belonging
    song - Rich (Homeless), Thanksgiving - dreamy, lo-fi, humming, tiny little mouse, cute
  • eleni
    map - Athens, Greece - station, metro, inside the cart,
    memory - native language (greek)
    song - Sweet Life - Frank Ocean, rnb
  • feline
    map - Kiel, Germany - seagulls, harbor, seaside, conversation, shore, water
    memory - x
    song - Otis Redding - Sitting on the dock of the bay
  • chrissy
    map - Kassel, Germany - drum circle? dreamy, laundry, drops, water, toilet, plumbing,
    memory - native language (German), Corona, summer, auepark, paths, mapping
    song - Smokies · Barefoot Jerry - 60s, happy, beatles In The Summertime · Mungo Jerry - hit, 60s, happy, easy
  • charlie
  • map - Luxembourg / church bells, square, town
    memory - echo, nostalgic, church bells, traffic, noise, comforting, home, ding dong
    song - x
  • kim
    map - Brandenburg, Germany - night, bugs, nature, fresh air, songs in the distance, comforting (to me), sleepy
    memory - childhood, home, summer, roadtrip, smell, forest, water, family
    song - brandenburg rainald Grebe, Live, piano, 2000s, gag
  • kiara
    map - Toulouse, France - traffic, birds, wind, metro station
    memory - native language(French), childhood
    song Le Premier jour du reste de ta vie- 90s dreamy, keyboard, nostalgic French, I hate this one, glimmer bytes
  • zuhui
    map - Seoul, South Korea - bells, temple, crackle, talking,
    memory - childhood, birthday, spring
    song - Ganadaramabasa 70s, spring, guitar, dreamy, kinda amazing, 10/10 Clap! Clap! - "Kuj Yato - bells, ding dong, police siren, 10/10, absolutely slaps, so good, folk, yoresel,
  • Joe Hisaishi - Summer, summer, spring, happy, instrumental, piano,
  • melisa
    map - Damascus, Syria - road, cars, traffic, busy, phone ring, horns horns horns, war zone
    memory - No permish
    song - Saalouny El Nas - kivir salla habibi, 10/10 love this one
  • claudio
    map - Castellanza, Italy - static, water, shore, subtle, beautiful?
  • memory - native language (Italian)
    song Permanent Vacation - Hendiadyoin - ambient, cool, piano, ok
  • Tessa
    map - Lausanne, Switzerland - bells, square, talking, ambulance, lullaby, children, puppet show, weronik
    memory - native language (french)
    song - Jesper Munk – Shakespeare & Heartbreak - 2012
  • imre
    map - Istanbul, Turkey - istiklal, street, talking, saz, street musician,
    memory
    song Üsküdar'a gider iken
  • martina
    map - Had Dingli, Malta - beat, street, quarry, digging, machinery, automation,
    memory - native language (maltese)
    song dreams Kelsey lu - violin, intro almost bell like, high pitch, instrumental, eerie, echo,
  • wyn
    map - Hongkong, China - beeping, beat, traffic, metro?, station,
    memory - native language(Chinese)
    song - made with the beeping from the station <3, beat, echo, 43 mins
  • imina
    map - Las Vegas Strip, NV, USA - casino, britney, cash machine,
    memory money, family,
  • memory 2- radio?
    song beautiful dirty, rich - lady gaga/ iconic

Show Notation

Error creating thumbnail: File with dimensions greater than 12.5 MP

Protocols for Defining Words from Lidia's Class

Week 4 30-04 Oct

Search Engine

    Michael's secret notes:

   

<https://aporee.org/maps/?loc=53029&m=satellite>

collaboration with [archive.org](https://aporee.org/maps/info/)

<https://archive.org/>

<https://archive.org/details/radio-aporee-maps>

though seems not still automatically pushing to archive.org

<https://archive.org/details/aporee_53029_60598>

If you click on [field recording](https://archive.org/search?query=subject%3A%22field+recording%22)

Note the URL (can unpack it).

Try [advanced search](https://archive.org/advancedsearch.php)

Read end of page, note that it uses [Lucene search syntax](https://lucene.apache.org/core/2_9_4/queryparsersyntax.html)

example from advanced form, adding subject:"field recording" with fields title, year, and subject.

selected HTML table as output format.

<https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&callback=callback&save=yes&output=tables>

let's add more fields

<https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=call_number&fl%5B%5D=external-identifier&fl%5B%5D=format&fl%5B%5D=identifier&fl%5B%5D=licenseurl&fl%5B%5D=mediatype&fl%5B%5D=name&fl%5B%5D=rights&fl%5B%5D=source&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=type&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&callback=callback&save=yes&output=tables>

In archive.org the identifier is important ... it's the key to getting more information about an item (and the URL to do so with).

NB: Subject seems to have a list of multiple possible values...

How to list multiple values / in combination?

<https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=call_number&fl%5B%5D=external-identifier&fl%5B%5D=format&fl%5B%5D=identifier&fl%5B%5D=licenseurl&fl%5B%5D=mediatype&fl%5B%5D=name&fl%5B%5D=rights&fl%5B%5D=source&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=type&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&output=json&callback=callback&save=yes>

<https://archive.org/advancedsearch.php?q=subject%3A%22field+recording%22&fl%5B%5D=call_number&fl%5B%5D=external-identifier&fl%5B%5D=format&fl%5B%5D=identifier&fl%5B%5D=licenseurl&fl%5B%5D=mediatype&fl%5B%5D=name&fl%5B%5D=rights&fl%5B%5D=source&fl%5B%5D=subject&fl%5B%5D=title&fl%5B%5D=type&fl%5B%5D=year&sort%5B%5D=&sort%5B%5D=&sort%5B%5D=&rows=50&page=1&output=json&save=yes>

"aporee_54679_62534" => <https://archive.org/details/aporee_54679_62534>

USE INSPECTOR TO CUT AND PASTE THE FORM FROM archive.org page.

PASTE IN YOUR OWN PAGE AND VIEW IT...

(NEED: either ability to run local server, or to edit comfortably directly on cereal box)

NB submit changes (local) URL but does nothing... we need to add

action="https://archive.org/advancedsearch.php"

to form

   tidy -w0 -m archive_radio.html

   tidy -i -w0 -m archive_radio.html

With FORMS, you may need to SHIFT-RELOAD (Firefox) to make sure that form values (like selected on an option) are refreshed to their saved values. (It's a feature that a form is "sticky" when you are working on one, so it prefers the values the user has set in the browser).

input type="checkbox"

just one should be *checked*

set mediatype to audio.

query:

   subject:"field recording" AND subject:"city" AND mediatype:"audio"

MANY ATTRIBUTES OF INPUT ELEMENTS CAN BE REMOVED: id, class, style

In terms of form operation, only the name and value and attributes like checked or selected are significant.

HIDE THE FIELDS, replace with multiple:

<input type="hidden" name="fl[]" value="">

NB: the *name attribute* is fl followed by square brackets. There is not special meaning of the square brackets as far as HTML is concerned. However, it's a convention that the designers of archive.org have followed as a reminder that the field values with name "fl" are multiple, [] being associated with lists in several languages (like javascript and python). Even if you just have one value, the name needs to stay "fl[]".

Single item:

<https://archive.org/details/reed-warbler>

<https://help.archive.org/help/search-a-basic-guide/>

<https://archive.org/about/>

<https://archive.org/developers/>

finally!

Note that the metadata for an item never contains the information of the actual (multiple) files. Sounds in archive.org typically have multiple versions of the same audio in different formats. An item (like a CD) might also have multiple different sound files (the different tracks of an album). Posts from apogee tend to have just the one audio source in multiple formats.

CLICK ON THE IDENTIFIER to see the "item" page...

Find the "raw audio url" of the audio that plays from archive.org... you could look at the network inspector when you play the file... or (simpler in this case because the files are downloadable), check out the download interface.

THIS IS A VERY GOOD PAGE:

<https://archive.org/developers/metadata-schema/index.html>

> All metadata for archive.org items are stored in <identifier>_meta.xml and <identifier>_files.xml. The meta.xml file contains all of the item-level metadata for an item (e.g. title, description, creator, etc.). The files.xml file contains all of the file-level metadata (e.g. track title, checksums, etc.). While these two files are the canonical sources of metadata for archive.org items, most users will interact with an item’s metadata via the metadata API. For example, nasa_meta.xml correlates to /metadata/nasa/metadata and nasa_files.xml to /metadata/nasa/files.

>

>

actually this was confusing....

<https://archive.org/metadata/reed-warbler>

surprise!

LOOK at the results...

```html

<!DOCTYPE html>

<html>

<head>

   

</head>

<body>

<script>

   let id = "reed-warbler";

   fetch(`https://archive.org/metadata/${id}`)

       .then(resp => resp.json())

       .then(data => {

           console.log("data", data);

       });

</script>

</body>

</html>

```

Find the RAW audio URL from before...

   https://ia801409.us.archive.org/10/items/reed-warbler/Reed%20warbler.mp3

You need to construct this url from the information you get from the metadata. (The metadata doesn't have the full file urls, but all the information you need is there (hint, look for the "dir").

```javascript

let id = "reed-warbler";

fetch(`https://archive.org/metadata/${id}`)

   .then(resp => resp.json())

   .then(data => {

       console.log("data", data);

       let mp3 = data.files.filter(d => d.format == "VBR MP3");

       console.log("mp3", mp3);

       let mp3_url = `https://${data.d1}${data.dir}/${encodeURI(mp3[0].name)}`;

       console.log("mp3_url", mp3_url);

   });

```

to do

archive.org custom search page > audio selection audio selection > audio for the browser synth audio browser synth + soundboard.html > play