Beide Seiten der vorigen Revision
Vorhergehende Überarbeitung
Nächste Überarbeitung
|
Vorhergehende Überarbeitung
|
en:basics1 [2022/01/03 09:48] martin [Tutorial 2: Statistical queries of musical characteristics] |
en:basics1 [2022/08/22 10:16] martin [Tutorial 1: Visalisation of sheet music] |
===== Module Basics: Sheet Music Analysis with music21 ===== | ===== Module Basics: Sheet Music Analysis with music21 ===== |
| |
* Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.ipynb|Jupyter_SheetMusic_Basics_Introduction_music21]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.html|html]] version) | * Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.ipynb|Jupyter_SheetMusic_Basics_Introduction_music21]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.html|html]] preview) |
* Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.ipynb|Jupyter_SheetMusic_Basics_Part1_Visualisation]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.html|html]] version) | * Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.ipynb|Jupyter_SheetMusic_Basics_Part1_Visualisation]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.html|html]] preview) |
* Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part2_Statistics.ipynb|Jupyter_SheetMusic_Basics_Part2_Statistics]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part2_Statistics.html|html]] version) | * Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part2_Statistics.ipynb|Jupyter_SheetMusic_Basics_Part2_Statistics]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part2_Statistics.html|html]] preview) |
| |
This page provides basic information for the module //Basics Sheet Music Analysis with music 21//. Various examples introduces into working with //music21// and //Jupyter Notebooks//, visualizing of music scores and statistical queries. | This page provides basic information for the module //Basics Sheet Music Analysis with music 21//. Various examples introduces into working with //music21// and //Jupyter Notebooks//, visualizing of music scores and statistical queries. |
| |
This will be helped by the | This will be helped by the |
* Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.ipynb|Jupyter_SheetMusic_Basics_Introduction_music21]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.html|html]] version) | * Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.ipynb|Jupyter_SheetMusic_Basics_Introduction_music21]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Introduction_music21.html|html]] preview) |
| |
| //A quick and uncomplicated introduction to the possibilities of computer-aided music analysis with //music21// is offered by the [[en:Interaktive Musikanalyse| Interactive Music Analysis]]. Here you can get to know the various statistical queries by selecting options, without having to get involved in the command syntax of //music21// and how the //Jupyter notebooks// work. (The installation of //Anaconda// or //Miniconda// as well as [[installation#musescore|MuseScore]].)is required).//| | | //A quick and uncomplicated introduction to the possibilities of computer-aided music analysis with //music21// is offered by the [[en:Interaktive Musikanalyse| Interactive Music Analysis]]. Here you can get to know the various statistical queries by selecting options, without having to get involved in the command syntax of //music21// and how the //Jupyter notebooks// work. (The installation of //Anaconda// or //Miniconda// as well as [[installation#musescore|MuseScore]].)is required).//| |
Following the Basics module, you can turn to the tutorials in the [[en:advanced1|Advanced Notes]] module: | Following the Basics module, you can turn to the tutorials in the [[en:advanced1|Advanced Notes]] module: |
| |
* Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part1_Josquin.ipynb|Jupyter_SheetMusic_Advanced_Part1_Josquin]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part1_Josquin.html|html]] version) | * Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part1_Josquin.ipynb|Jupyter_SheetMusic_Advanced_Part1_Josquin]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part1_Josquin.html|html]] preview) |
* Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part2_Beethoven.ipynb|Jupyter_SheetMusic_Advanced_Part2_Beethoven]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part2_Beethoven.html|html]] version) | * Tutorial [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part2_Beethoven.ipynb|Jupyter_SheetMusic_Advanced_Part2_Beethoven]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Advanced_Part2_Beethoven.html|html]] preview) |
| |
| |
==== Tutorial 1: Visalisation of sheet music ==== | ==== Tutorial 1: Visualisation of sheet music ==== |
| |
[[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.ipynb|Jupyter_SheetMusic_Basics_Part1_Visualisation]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.html|html]] version | [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.ipynb|Jupyter_SheetMusic_Basics_Part1_Visualisation]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.html|html]] preview) |
| |
Usually, music notation on which musical analysis is usually based on are playing instructions for the musicians. This is called //prescriptive// notation. In contrast, musical structures which are to be described in the analysis - and as far as possible as they are sounded. | Usually, music notation on which musical analysis is usually based on are playing instructions for the musicians. This is called //prescriptive// notation. In contrast, musical structures which are to be described in the analysis - and as far as possible as they are sounded. |
{{ :pianoroll.png?800 |}} | {{ :pianoroll.png?800 |}} |
| |
| **Note**: You can display piano rolls very clearly in the [[https://analyse.hfm-weimar.de/doku.php?id=en:installation#sonic_visualiser|Sonic Visualiser]] and listen to them with MIDI sounds at the same time. A number of piano rolls are listed in the [[en:notenauswahl|subcorpus of the sheet music database]] and can be downloaded there. Detailed instructions on how to proceed and how you could generate piano rolls from score files can be found [[en:sv-pianoroll|hier]]. | | | **Note**: You can display piano rolls very clearly in the [[https://analyse.hfm-weimar.de/doku.php?id=en:installation#sonic_visualiser|Sonic Visualiser]] and listen to them with MIDI sounds at the same time. A number of piano rolls are listed in the [[en:notenauswahl|subcorpus of the sheet music database]] and can be downloaded there. Detailed instructions on how to proceed and how you could generate piano rolls from score files can be found [[en:sv-pianoroll|here]]. | |
| |
//Music21// also offers the possibility to automatically generate piano reductions of music scores (//chordify//-command). This facilitates for example harmonic analysis. | //Music21// also offers the possibility to automatically generate piano reductions of music scores (//chordify//-command). This facilitates for example harmonic analysis. |
| |
==== Tutorial 2: Statistical queries of musical characteristics ==== | ==== Tutorial 2: Statistical queries of musical characteristics ==== |
[[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.ipynb|Jupyter_SheetMusic_Basics_Part1_Visualisation]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.html|html]] version | [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.ipynb|Jupyter_SheetMusic_Basics_Part1_Visualisation]] (Jupyter-Notebook; [[https://analyse.hfm-weimar.de/jupyter/Jupyter_SheetMusic_Basics_Part1_Visualisation.html|html]] preview) |
| |
The //music21// commands presented in the Jupyter notebooks can first be used to query the number of notes (total or per voice), measures, and information about ambitus (total and per voice). | The //music21// commands presented in the Jupyter notebooks can first be used to query the number of notes (total or per voice), measures, and information about ambitus (total and per voice). |