>7,k=b ..." />
SthephanShi
Level 12 Signalist
 
bytebeat 1k
2nd/8

 
heart magic 
122nd Σ5.009

 
brain tech 
43rd Σ5.415

 
bleep plan 
68th Σ5.313

 
tweak tact 
55th Σ5.359

 
our winter pants 
148th Σ4.755

 
Dark forest
 
  78th/324   Σ25.852   Jan 9th 2023 4:31pm
 
 
"You are walking in the dark through a winter forest among huge frozen trees. It seems that someone is watching you from the darkness..."

Here the code (262 bytes):

T=t/5E3,b=T>>7,k=b+2&4?8:4,S=(s,p,d=0)=>(t*2**(p+'037'[(T-d)/s%3|0]/12+((1-(T>>5&3))%2+1)/4)&128)/3,N=p=>1E5*sin(T*p|0)&64,S(2,0)+S(2,0,3)/2+(b&&S(0,-2))+(b>1&&S(.25,1)*(1-T%16/20))+(b>2&&.4*N(1E6)*(1-(T+k/2)%k/k))+(b>3&&(64/(T%k)&64)+(T&k&&.6*N(330)*(1-T%k/k)))

Play in bytebeat player


Sample rate: 44100Hz

Initially my challenge was to write the code that would fit in 255 characters (bytebeat256). The challenge has been completed, here 248 bytes version
. But then I decided to add some variety so that the drums tempo would change over time.

The code generates chrods progressions from the initial pattern '037'. We can generate another harmonies by changing coefficients, for example:

'Chase in the Forest'
version
'Foggy Forest'
version

The code uses a square wave generator that generates various arpeggios, an echo and decay effects are applied to them. Also made a noise generator for drums, without using random()
101
13
35
5
26
 


previous entry
damifortune - not here


nextious entry
Jimmyoshi - Emerge and see
 
166683
Level 12 Signalist
SthephanShi
 
 
post #166683 :: 2023.02.04 2:39pm :: edit 2023.02.04 3:19pm
  
  cabbage drop and Webriprob liēkd this
More harmonies (made by 'Chasyxx'
on reddit):

'027'
- sus2 (exploring)
'057'
- sus4 (spaaaace!)
0,4,7,11
- major 7th (even more explorative!)
 
 
166973
Level 24 Chipist
th4 D34D
 
 
 
post #166973 :: 2023.02.10 3:03am
  
  cabbage drop and SthephanShi liēkd this
This is just so sick. Really nice demo sounding tune.
 
 
168281
Level 30 Chipist
Warlord
 
 
 
post #168281 :: 2023.03.04 4:54am
  
  cabbage drop and SthephanShi liēkd this
excellent work
 
 
169135
Level 21 Chipist
birdrun
 
 
 
post #169135 :: 2023.03.26 12:54am
  
  SthephanShi liēkd this
My GODS. What? How? In 256 bytes? What black magick is this!?
 
 
171768
Level 14 Chipist
Max Chaplin
 
 
post #171768 :: 2023.06.08 12:37pm
  
  SthephanShi liēkd this
Really great.
With 047 it sounds like The Prodigy.
 
 

LOGIN or REGISTER to add your own comments!