NaPoWriMo x NaPoGenMo 2024 Day 19: Code to Spoken

NaPoWriMo x NaPoGenMo 2024 Day 19: Code to Spoken

Spoken Word Through Code

RhymeSchemePuddle

For the 11th day of NaPoWriMo/NaPoGenMo 2024, I decided to remake the rhyme scheme generator for a shorter poem, coded in Python.

RhymeSchemeMuddle

For the 19th day of NaPoWriMo/NaPoGenMo 2024, I decided to use the rhyme scheme generator and speak out the poem through SonicPi. Then edited a bit after to aid the muddle effect.

Audio

IllestPreacha · RhymeSchemeMuddle

Rhyme Schemes

baacddaa 
adabdcaa

Poem

Indigo in the background
Blending in with the Coral
The palette is needed turquoise to blend in the floral
With a hint of maroon
Filling in with the tension in the oven
As if there is a need for a baker’s dozen
With a group that is more than the plural
As definitions are sometimes informal

Nothing can be considered Normal
Under the Sun
Entering a portal
That goes round and round
Like bites from a muffin
That left crumbs in the room
Rather than crumbs, it is a morsel
But definitions are sometimes informal

SonicPi Code

live_loop :blah do
  use_random_seed Time.now.to_i
  with_fx :echo, mix: [0.5,0.3,0.1,0.7].choose  do
    with_fx :vowel, voice: dice(3), mix: 0.15 do
      with_fx :wobble, seed: dice(49) + 1 do
        with_fx :flanger, decay: [7,15,15,3].choose, depth: [2,3,1].tick do
          with_fx :whammy, mix: [0.34,0.15,0.67].choose do
            with_fx :distortion, mix: [0.75,0.25,0.15,0.35].choose do
              live_audio :dynamic do
              end

            end
          end

        end
      end
    end
  end
  sleep 5
end

Previous Code

#This is a rhyme scheme generator

#importing the random & string libraries
import random as rd
import string as st

#getting new arrrays of alphabet (one lower case & one upper case)
letters_1 = 'abcd'
letters_2 = 'dbca'


def rhymescheme2():

    #getting the amount of random letters to be chosen
    rand_letters = rd.choices(letters_1,k=4)
    rand_letters2 = rd.choices(letters_2,k=4)

    #syncing the uppercase and lowercase string of letters
    rand_words = rand_letters + rand_letters2


    #setting shuffles of the the same  in 3s
    rand_duo = ''.join(rd.sample(rand_words,len(rand_words))) + ' ' + ''.join(rd.sample(rand_words,len(rand_words)))

    # 6 versions of the same word per line and then another list of 5
    print(rand_duo)