mccarthy-m-g / musicians-compendium Goto Github PK
View Code? Open in Web Editor NEWThe Musician's Compendium: a book
Home Page: https://musicianscompendium.netlify.com
License: Other
The Musician's Compendium: a book
Home Page: https://musicianscompendium.netlify.com
License: Other
One of the main reasons I'm writing this book is to create a user-friendly, open-access resource of useful scales, chords, voicings, rhythms, etc. Although these exist in other places, they are often behind a paywall or are less thorough than they could be. An easy way to help with this book is to populate the resources section with these references.
Some ideas for resource pages include, but are not limited to:
Ideally the resource pages will match up with the sections and topics in the book.
If you'd like to start a new resource page, create a new resource-topic.Rmd
file (e.g., resource-scales.Rmd
) for it in the root directory.
At the moment, some of these will be limited to guitar (e.g., chord voicings) because that is the instrument I have the most expertise with and because r tabr
can output chord charts and guitar tablature. tabr
has support for other stringed instruments too, so mandolin, banjo, etc. are also on the table. You can learn how to use tabr
here.
I'd also like to do piano, but will have to decide how to go about it (sheet music is sufficient for voicings, but a keyboard diagram would be more beginner friendly. I don't think a keyboard diagram R package exists though).
If there end up being instrument-specific resource pages then the resource page files should take the following form: resource-topic-instrument.Rmd
.
LilyPond needs to be installed in order to use tabr
's engraving functions. Otherwise the build won't work.
It should be installed during the Github Actions build in the .github/workflows/build-book.yaml
file. Something like this should work:
- name: Install LilyPond
run: |
brew cask install LilyPond
But it does not work because lilypond is 32-bit, which is now unsupported in OSX Catalina.
Run brew cask install lilypond
==> Downloading http://lilypond.org/downloads/binaries/darwin-x86/lilypond-2.20.0-1.darwin-x86.tar.bz2
##[error]Error: This cask does not run on macOS versions newer than Mojave.
==> Verifying SHA-256 checksum for Cask 'lilypond'.
##[error]Process completed with exit code 1.
Solutions:
port install lilypond-devel
Displaying sharps, flats, and other music symbols in-text is an important feature for this book. Although I could write sharps with # and flats with b, this is less accurate and attractive than using the ♯ and ♭ music symbols. So far I have found two options for rendering these music symbols in bookdown:
Both methods support some of the symbols I need, however, I've encountered problems implementing them (see below). Any help or alternate suggestions would be appreciated.
$\flat$3
does not work in the body of my document, it renders like $$3
.$\flat 3$
).$\sf 3$
, however this doesn't support boldface.I could use different renderers for HTML and PDF if the best solutions are HTML or PDF specific. If I have to go this route there is the musicography package for LaTex I could use (assuming it can be installed in my GitHub actions build; I'd have to figure that out).
The GitHub actions runner currently uses the most recent releases of the R packages I'm using to write the book. However, my local machine is using earlier versions as I update infrequently. This leads to discrepancies in output between my computer and the GitHub actions runner. I should decide whether to restrict what package versions can be used by the GitHub actions runner, or whether to update my computer's R packages more frequently.
I noticed this with my most recent push, as now Fig 1.1 in the preface is messed up in the web build.
Add google analytics html script and include it in the head of the output file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.