Music for Geeks and Nerds

By Pedro Kroger

Are you curious about studying extra approximately song yet have chanced on so much fabric condescending or to provide issues magically rather than logically? the excellent news is that a lot of tune may be understood with programming and math, issues you are already solid at! during this ebook you are going to examine a few components of song from a programmer's point of view. you are going to find out about the primitives of track equivalent to notes and period, the technique of combining these primitives into factors and chords, operations corresponding to transposition, retrograde, and inversion, and the technique of abstraction (phrases and shape) utilizing Python and a few simple math. each proposal during this publication is defined in English with a corresponding implementation in Python, utilizing the Pyknon tune library.

Show description

Quick preview of Music for Geeks and Nerds PDF

Best Music books

Sweet Soul Music: Rhythm and Blues and the Southern Dream of Freedom

Strains the background of soul song from the Nineteen Fifties whilst rhythm and blues singers started to undertake the sound of gospel and in the course of the subsequent 10 years started to succeed in an unprecedentedly broad viewers. the writer additionally wrote "Feel Like Going domestic" and "Lost High".

The Penguin Jazz Guide: The History of the Music in the 1001 Best Albums

Richard prepare dinner and Brian Morton's Penguin Jazz consultant: The heritage of the tune in 1001 top Albums is an indispensible consultant to the recordings that each fan may still understand. Richard prepare dinner and Brian Morton's Penguin advisor to Jazz Recordings is firmly verified because the world's best advisor to the song.

The Musician's Way: A Guide to Practice, Performance, and Wellness

Within the Musician's method, veteran performer and educator Gerald Klickstein combines the most recent learn together with his 30 years event to supply aspiring musicians with a roadmap to creative excellence. half I, crafty perform, describes innovations to interpret and memorize compositions, gasoline motivation, collaborate, and extra.

Lost Sounds: Blacks and the Birth of the Recording Industry, 1890-1919 (Music in American Life)

An in-depth historical past of the involvement of African-Americans within the early recording undefined, this article examines the 1st 3 many years of sound recording within the usa, charting the full of life and sundry roles black artists performed within the interval prime as much as the Jazz Age.

Additional resources for Music for Geeks and Nerds

Show sample text content

Write(”midi/abstraction. mid”) ultimately, discover how we mix those motifs to shape higher parts. We mix a, a1, a2, and a3 to shape A (line 7). A2 is simply a transposition of A, and C is a host of c components jointly. through abstracting compound parts, we will be able to identify them (for example, A) and manage as an unit (for instance, A2). workout sixteen. examine the code to appreciate how the excerpt was once shaped. Make small alterations and spot the way it sounds. workout 17. locate the 2 improper notes within the sheet tune. should you did workout sixteen you've gotten spotted that notes within the sheet track don’t fit the notes generated via the code. e cause is that I ac71 Music for Geeks and Nerds tually wrote the track excerpt first, making the operations in my head. i made a decision to go away those error simply because i admire them higher, and to teach that typically composers will make small deviations or mutations from the unique plan, both by way of mistake or guided by means of their musical ear. within the comparable method that throwing code in a category won’t unavoidably take advantage of necessary and readable code, a tune composition won’t inevitably sound stable simply because we're utilizing operations on song fabric. e tune excerpt above sounds strong (or not less than first rate if you’re hypercritical ;-) simply because it’s in line with an identical fabric (coherence), has a few repetition (A and A2), version (A and C), and the melody has a focus (the Ab in degree five) and a different form. 7. 1 instance: Sergei Rachmaninoff, Vocalize workout 18. e following instance is the 1912 composition Vocalize via Sergei Rachmaninoff. take heed to it and check out to acknowledge the repetitions and the way the piece is equipped in sections. additionally detect how he primarily makes use of just one or musical principles within the entire piece and some operations we’ve noticeable up to now. I won’t exhibit a code implementation for this track since it makes use of issues we haven’t noticeable (tonal transformations), and it’d be extra complicated. yet be happy to aim to enforce the code to explain its compositional approach. 7. 1. instance: Sergei Rachmaninoff, Vocalize seventy two Music for Geeks and Nerds 2 four five nine 12 2 four 15 7. 2 end during this bankruptcy we have now basically scratched the outside of abstracting compound components. is is a posh topic and the center of a tune composition path. yet optimistically you could have visible how the tune components we observed within the past chapters could be mixed to make song. try out our assets web site to determine e-book innovations. tune engraving via LilyPond 2. 14. 2—www. lilypond. org 7. 2. end seventy three CHAPTER eight end and subsequent Steps during this ebook we've got used programming to benefit extra approximately song. We observed the primitives of song and the way to symbolize them with Python, how one can mix primitives into better devices with operations, and the way those primitives truly paintings from the interior. It’s difficult to suggest issues if I don’t comprehend your real curiosity, yet I’ll attempt. cost this book’s assets web site for extra feedback and hyperlinks: • while you are attracted to enjoying an software, attempt to comprise this knowlegde on your device perform.

Download PDF sample

Rated 4.12 of 5 – based on 30 votes