# WCCC_Patterns

# SymbolicResidueRelic

For this week's Creative Code challenge by *@sableRaph*: ***“Patterns”,* SymbolicResidueRelic** brings back the 360 glitch perspective that was a recurring pattern in my WCCC Submissions as well as symbolic patterns coded with ***Python, HydraVideoSynth & SonicPi Code.***

## Poem

```javascript
What Occurs in your Mind
when you read these lines
Do words and feelings emerge?
Do thoughts and reason merge?
Unearth what has been submerged?
Patterns of the Past
Patterns of the Present 
Presently presenting numerous contents
Currently being cast
```

## Video

%[https://youtu.be/C_c43ZQR_ok] 

  

## Original Outputs

![](https://cdn.hashnode.com/uploads/covers/61d25a2b0413645f5c7beb00/aa0b82a0-1da1-436a-abde-7320d82929d6.png align="center")

![](https://cdn.hashnode.com/uploads/covers/61d25a2b0413645f5c7beb00/7d2a454b-4920-41ac-b947-e68e45f2aea8.png align="center")

![](https://cdn.hashnode.com/uploads/covers/61d25a2b0413645f5c7beb00/39ccad49-ce94-49d3-8ae8-dea2006c935d.png align="center")

## Code

### Python

```python

import random as rd

def symbolize2():

    seq = ['0','!','|','o',' ','O','D','l','8']

    for i in range(24):

        seqAudio = rd.choices(seq, k=24)

        if i % 4 == 0:
            seqAudio1 = ''.join(seqAudio[0:rd.randrange(1,23)]) #sublist
        elif i % 3 == 0:
            seqAudio1 = ''.join(seqAudio[0:rd.randrange(12,24)]) #sublist
        else:
            seqAudio1 = ''.join(seqAudio)


        print(seqAudio1)
        
symbolize2()
```

### HydraVideo Synth

```javascript

s0.initScreen()

src(s0).diff(src(s0).scale(0.95)).blend(src(s0).scale(0.90).colorama(0.00023)).out()

-----


s0.initScreen()

src(s0).diff(src(s0).scale(0.95).pixelate(50,500)).blend(src(s0).scale(0.90).colorama(1.100023).pixelate(50,50)).out()


---

s0.initScreen()

src(s0).blend(src(s0).scale(0.95).pixelate(50,500).diff(color(0.5,0.3,0.2))).add(src(s0).scale(0.90).colorama(1.70023).pixelate(50,50)).out()
```

### SonicPi

```ruby
def neighboring(naming,looping,timer, timer2)
  
  
  #random 10 list array with a seed, to make sure it is always random
  
  use_random_seed Time.now.to_i / timer
  cells = 25.times.map { Random.rand(0...2)}
  
  
  #allows for cell automata rules to include every variable
  cells1 = cells.push(cells[0],cells[1])
  
  puts cells1
  
  naming = []
  
  #length of array and push every neighbor of 3 into the array
  for i in -2..cells1.length-3 do
    naming.push([cells1[i],cells1[i+1],cells1[i+2]])
  end
  
  
  
  #cellular automata rules
  
  vech = [[0,0,0],[0,1,0],[1,1,1],[0,1,0]]
  elec = [[1,0,0],[0,1,1]]
  drums = [[1,0,1],[1,1,0]]
  
  x = "F:/Sounds/Vechiles/Remastered/Vech (5).wav"
  x1 ="F:/Sounds/Vechiles/Remastered/Vech (6).wav"
  x2 = "F:/Sounds/Vechiles/Remastered/Vech (7).wav"
  x3 = "F:/Sounds/Vechiles/Remastered/Vech (8).wav"
  
  
  live_loop looping do
    
    use_random_seed Time.now.to_i / timer
    
    for i in 0..naming.length do
      if drums.include? naming[i]
        
        with_fx :ixi_techno, mix: [0.1,0.3,0.5,0.25,0.15].tick do
          use_bpm [60,120,30,240].choose
          sample [:drum_bass_hard,:drum_bass_soft,:tabla_ghe2].choose,pitch: dice(5), beat_stretch: [2,3,4].choose
        end
        
        sleep [0.5,1].choose
      else if vech.include? naming[i]
        use_bpm [60,120,30,240,480].choose
        sample [x,x1,x2,x3].choose, rate: [-1,0.5,0.25,2].choose
        sleep [0.5,1].choose
      else
        with_fx :flanger do
          use_bpm [15,30,45,60,120,30,240,480].choose
          sample [:elec_blip,:elec_beep,:elec_soft_kick].choose , rate: [-3, -1,0.5,0.25,-1.75,2,3].choose
        end
        sleep [0.5,1,0.2].choose
      end
    end
    
  end
  
  sleep [0.25,0.5,1].choose
end
end

# initalizing variables to pass through

neighboring(@neighbors1,:pass,2,4)
neighboring(@neighbors2,:pass1,3,5)
neighboring(@neighbors4,:pass2,11,64)
neighboring(@neighbors3,:pass3,13,25)












```

### Other Layered Audio From Previous Submission:

[https://blog.illestpreacha.com/wccchallenge-incompleterelics](https://blog.illestpreacha.com/wccchallenge-incompleterelics)
