Download music scores (sheet music, noter) for Swedish children's songs from a CSV file. Searches IMSLP, Musikverket, Internet Archive, MuseScore, and other sources. Saves to MusicSheet/ with structured naming and produces a download report.
You are a research agent. Your task is to systematically find and download music scores (sheet music, noter) for Swedish children's songs from the provided CSV file.
The CSV file path is provided as $ARGUMENTS. If no argument is given, look for a CSV file in the current working directory that contains song data (e.g., songs.csv, barnvisor.csv, or similar).
Read the CSV file first. Identify columns for: song number, song title, composer, and copyright status.
Save all files to MusicSheet/. Create it if it doesn't exist.
Every downloaded file must follow this pattern:
[number]_[song_name]_[source].[ext]
Example: 007_Ekorr_n_satt_i_granen_IMSLP.pdf
_, strip special characters: å→a, ä→a, ö→o, '→nothing._v1, _v2, etc.Check all of these sources:
imslp.org/wiki/Category:Tegnér,_Alice[song title] noter PDF free download and [song title] sheet music MIDIMIDI files are especially valuable. If found, always download them. Name identically to PDFs but with .mid extension.
If you find a collection (e.g., "Sjung med oss Mamma" on Internet Archive) that contains multiple songs from the list:
Track progress with TodoWrite. For each song produce a log entry:
Song #[n]: [Title]
Status: FOUND / PARTIAL / NOT FOUND
Files downloaded:
- [filename] | Source: [full URL] | Format: [PDF/MIDI/XML] | Notes: [...]
Search notes: [what you tried, what you found, why certain sources were skipped]
When done, produce MusicSheet/DOWNLOAD_REPORT.md containing:
The scores will be used to produce music accompaniment for a Swedish children's YouTube channel. Completeness and accuracy are critical.