Week of 1/28 - 2/3 daily practice post

piano practice
Keeping track of small practice exercises

Matt Crump


January 28, 2024

Show the code
from diffusers import DiffusionPipeline
from transformers import set_seed
from PIL import Image
import torch
import random
import ssl
import os
ssl._create_default_https_context = ssl._create_unverified_context

#locate library
#model_id = "./stable-diffusion-v1-5"
model_id = "dreamshaper-xl-turbo"

pipeline = DiffusionPipeline.from_pretrained(
    pretrained_model_name_or_path = "../../../../bigFiles/huggingface/dreamshaper-xl-turbo/"

pipeline = pipeline.to("mps")

# Recommended if your computer has < 64 GB of RAM

prompt = "architecture drawing piano. constructing a piano. cartoon. retro 80s. blueprint."

for s in range(30):
  for n in [5,10]:
    seed = s+21
    num_steps = n+1
    image = pipeline(prompt,height = 1024,width = 1024,num_images_per_prompt = 1,num_inference_steps=num_steps)
    image_name = "images/synth_{}_{}.jpeg"
    image_save = image.images[0].save(image_name.format(seed,num_steps))

architecture drawing piano. constructing a piano. cartoon. retro 80s. blueprint. - Dreamshaper v7


I suspect practice this week will be inspired by circle of fifths symmetry (as discussed in some previous posts) and concepts of chords as vectors that go in a direction in chord space.

Sus practice.

  • Drone on a C note
    • add one note from each side of the circle of fifths (F and G)
    • Play the C sus chord in a droney way across the keyboard spattering Cs and Fs and Gs everywhere
  • Drone around the Circle of fifths.
    • transition to the next sus chord going clockwise (start playing G with C and D around it, then start playing D with G and A around it)
    • do the same thing but going anti-clockwise
    • get used to the sus

Rotate the fifth pairs, keep the drone the same

  • Drone on a C note
    • add the F G around the C note
    • keep the C note, but start moving the other notes around the circle of the fifths.
    • F G -> C D -> G A -> D E -> etc.

Keep the fifth pairs the same, rotate the drone

  • Drone on a C, add the F and G.
    • keep playing F and G, but rotate C through the circle of fifths
    • CFG -> FFG -> BbFG -> EbFG -> etc.

Throughout these exercises, try to keep track of what the note relationships are in whichever scale is considered the center.

Practicing 5 note C chords that are constructed from rotations of neighboring 5ths.


I’m still on C from above.

Practicing being able transition between those chords and being able to “clock” how many fifths in the anti-clockwise or clockwise direction there are in a chord.

Also, started playing the first chord from above with all other notes as possible bass notes. It starts getting pretty hairy with A and E as bass notes.