Update music ntoes

This commit is contained in:
Gabriel Arazas 2021-05-16 14:00:38 +08:00
parent de954d9564
commit 7139ee4f17
18 changed files with 130 additions and 7 deletions

View File

@ -3,10 +3,18 @@
:END: :END:
#+title: Anki: 2021 #+title: Anki: 2021
#+date: "2021-05-01 20:20:25 +08:00" #+date: "2021-05-01 20:20:25 +08:00"
#+date_modified: "2021-05-14 01:10:36 +08:00" #+date_modified: "2021-05-16 13:58:36 +08:00"
#+language: en #+language: en
#+property: anki_deck 2021 #+property: anki_deck 2021
#+name: lilypond-paper-config
#+begin_src lilypond :exports none
\paper {
indent=10\mm
oddFooterMarkup=##f
}
#+end_src
My collection of tips and tricks I collected in 2021. My collection of tips and tricks I collected in 2021.
* Finding devices * Finding devices
@ -174,6 +182,7 @@ systemd-analyze calendar *-*-8/4
* Type checking in Bash * Type checking in Bash
:PROPERTIES: :PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards :ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1620959083242
:END: :END:
** Front ** Front
Implement a little bit of type checking in Bash. Implement a little bit of type checking in Bash.
@ -543,7 +552,7 @@ Accepted values include =yes=, =no=, or a relative path to the Org document wher
:ANKI_NOTE_ID: 1620897025800 :ANKI_NOTE_ID: 1620897025800
:END: :END:
** Front ** Front
Is creating dynamic content possible? Is creating dynamic content in Org mode possible?
If so, how? If so, how?
** Back ** Back
Yes! Yes!
@ -575,7 +584,7 @@ You can then pass header arguments by appending in square brackets (=[]=) before
:ANKI_NOTE_ID: 1620897027194 :ANKI_NOTE_ID: 1620897027194
:END: :END:
** Front ** Front
Are callouts possible? Are [[https://docs.asciidoctor.org/asciidoc/latest/verbatim/callouts/][Asciidoctor-style callouts]] possible in Org mode?
If so, how? If so, how?
** Back ** Back
Surprisingly, yes! Surprisingly, yes!
@ -620,7 +629,7 @@ To make creating timestamps easier, execute ~org-time-stamp~ (or whatever keybin
:ANKI_NOTE_ID: 1620897027915 :ANKI_NOTE_ID: 1620897027915
:END: :END:
** Front ** Front
How to make deadlines and schedules? How to make deadlines and schedules in Org mode entries?
** Back ** Back
Just prepend the keywords =DEADLINE= and =SCHEDULED=, respectively. Just prepend the keywords =DEADLINE= and =SCHEDULED=, respectively.
@ -695,8 +704,8 @@ Give various practices for studying effectively.
* Focused and diffused mode * Focused and diffused mode
:PROPERTIES: :PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards :ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1621144711876
:END: :END:
# TODO: Pass this to Anki in 2021-05-14
** Front ** Front
What is focused and diffused mode? What is focused and diffused mode?
When those two modes often found in certain situations? When those two modes often found in certain situations?
@ -711,6 +720,7 @@ This is the reason why we sometimes get a sudden realization (a Eureka! moment).
* Benefits of sleep * Benefits of sleep
:PROPERTIES: :PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards :ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1621144712101
:END: :END:
** Front ** Front
How does sleep help in the learning process? How does sleep help in the learning process?
@ -721,3 +731,100 @@ Sleep has certain processes that helps our brain.
- Eliminating less relevant neural structures in favor of strengthening stronger ones for tomorrow. - Eliminating less relevant neural structures in favor of strengthening stronger ones for tomorrow.
- Thinking of a solution in the background of the thing you worry about. - Thinking of a solution in the background of the thing you worry about.
* Bash conditional with an unset variable
:PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1620959105474
:END:
** Front
In Bash, what does ~${HOME:-"/home/me"}~ means?
** Back
If ~$HOME~ is unset, substitute with the given value (i.e., =/home/me=).
* Bash conditional with a set variable
:PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1620959105702
:END:
** Front
In Bash, what does ~${HOME:+"/home/me"}~ means?
** Back
If ~$HOME~ has a value, then return the given value (i.e., =/home/me=).
* Shell help system
:PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1621089757772
:END:
** Front
Give some ways to make use of the help system in the shell (or most Unix environment).
** Back
- help sections (i.e., =--help= or =-h=)
- manual pages (i.e., ~man~)
- TexInfo (i.e., ~info~)
- [[https://github.com/tldr-pages/tldr][tldr pages]] (i.e., [[https://github.com/tldr-pages/tldr/wiki/tldr-pages-clients][with clients]] like tealdeer)
* Basic music notation reading 1
:PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1621089760711
:END:
** Front
What notes are displayed (in order)?
#+begin_src lilypond :file basic-notation-reading-1.png
<<lilypond-paper-config>>
{
c a' f b
}
#+end_src
#+results:
[[file:assets/2021/basic-notation-reading-1.png]]
** Back
C A F B
* Basic music notation reading 2
:PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1621089763239
:END:
** Front
What notes are displayed (in order)?
#+begin_src lilypond :file basic-notation-reading-2.png
<<lilypond-paper-config>>
{
\chordmode { c1 }
\relative c' { e f a }
}
#+end_src
#+results:
[[file:assets/2021/basic-notation-reading-2.png]]
** Back
A C major triad (i.e., C E G).
Then the notes E, F, and A.
* Basic music notation reading 3
:PROPERTIES:
:ANKI_NOTE_TYPE: Styled cards
:ANKI_NOTE_ID: 1621089765539
:END:
** Front
What notes are displayed (in order)?
#+begin_src lilypond :file basic-notation-reading-3.png
<<lilypond-paper-config>>
{
c''1 d' <c' a'> <e' b'> <f'' g'>
}
#+end_src
#+results:
[[file:assets/2021/basic-notation-reading-3.png]]
** Back
C, D, C-A (a major sixth), E-B (a minor fifth), and G-F (a seventh).

Binary file not shown.

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,2 @@
@image{basic-notation-reading-1-1}
@c eof

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,2 @@
@image{basic-notation-reading-2-1}
@c eof

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,2 @@
@image{basic-notation-reading-3-1}
@c eof

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -3,7 +3,7 @@
:END: :END:
#+title: Fundamentals of music theory #+title: Fundamentals of music theory
#+date: "2021-04-29 18:27:29 +08:00" #+date: "2021-04-29 18:27:29 +08:00"
#+date_modified: "2021-05-10 19:15:02 +08:00" #+date_modified: "2021-05-16 13:57:06 +08:00"
#+language: en #+language: en
#+source: https://www.coursera.org/learn/edinburgh-music-theory/ #+source: https://www.coursera.org/learn/edinburgh-music-theory/
@ -61,6 +61,7 @@ Keep in mind this course mainly deals with western musical concepts and notation
+ different tonics = different pattern of semitones and tones = different quality and flavor = different melodies + different tonics = different pattern of semitones and tones = different quality and flavor = different melodies
+ each of tonics in diatonic scale is called a mode (e.g., A is called Aeolian mode, E is Phrygian) + each of tonics in diatonic scale is called a mode (e.g., A is called Aeolian mode, E is Phrygian)
+ Aeolian mode is a natural minor mode (has a pattern of TSTTSTT) + Aeolian mode is a natural minor mode (has a pattern of TSTTSTT)
+ Ionian mode is a natural major mode (has a pattern of TSTTSTT)
#+begin_src lilypond :file modes.png #+begin_src lilypond :file modes.png
<<lilypond-paper-config>> <<lilypond-paper-config>>
@ -87,12 +88,18 @@ Keep in mind this course mainly deals with western musical concepts and notation
+ perfect fifth + diminished third = diminished triad (Cdim) + perfect fifth + diminished third = diminished triad (Cdim)
+ triads are also named with the lowest notes so a triad of C, E, and G is a C triad + triads are also named with the lowest notes so a triad of C, E, and G is a C triad
+ but it is a C major triad (written as Cmaj) since C and E is a major third and C, E, and G is a perfect fifth + but it is a C major triad (written as Cmaj) since C and E is a major third and C, E, and G is a perfect fifth
+ primary major chords: tonic, dominant, subdominant + primary major chords: tonic, dominant, subdominant — the first, fourth, and fifth chord in the scale, respectively
#+begin_src lilypond :file chords.png #+begin_src lilypond :file chords.png
<<lilypond-paper-config>> <<lilypond-paper-config>>
\chordmode { c1 d e f g a b } \chordmode { c1 d e f g a b }
\addlyrics { I II III IV V VI VII }
#+end_src #+end_src
#+results: #+results:
[[file:assets/2021-04-29-18-27-29/chords.png]] [[file:assets/2021-04-29-18-27-29/chords.png]]
* Week 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB