22 Followers
57 Following
49 Posts
Rogue Mage
GemaTreeAC 2=0https://jpts.aprx.io
self portrait

ps(samplerate = 100.0, length = 100, amplitude=32, frequency=1)

(produces one cycle in 100 samples)

ps(samplerate = 50.0, length = 100, amplitude=32, frequency=0.5)

(produces the same output)

from math import sin, pi

def ps(length, samplerate, amplitude, frequency, bias=1.0):
xarray = range(length)
print (xarray)
yarray = []
for i in xarray:
yarray+=[sin(2.0*pi*((float(frequency)*float(i))/float(samplerate)))+bias]
print (yarray)
for i in yarray:
print(int(round(i*amplitude))*"*")

return

ofcourse... the length parameter is actually the sample rate! so the frequency should be relative to it. It's been a while since my last dsp class...

from math import sin

def ps(length, amplitude, frequency, bias=1.0):
xarray = range(length)
print (xarray)
yarray = []
for i in xarray:
yarray+=[sin(float(xarray[i])*frequency)+bias]
print (yarray)
for i in yarray:
print(int(round(i*amplitude))*"*")

return

#an ASCII sine wave graphic with python.

A friend and I had a discussion about 4D experience. I said that in the transition 3D->4D time transforms from a straight into a plane, my friend said the transition is about place. He thought 4D reality has no place. I thought it had no linear time. We did not come to an understanding at the time. I started to think about distances. Time = distance *velocity. So time and place are connected this way. Maybe they both are affected by 3D->4D transition. #4D #sentience #pathworking #magick #occult

A List of Things People Blamed on Jazz

🧵

GemaTreeAC 2=0 Gematria Calculator

Gematria and Numerology Based Word Classification Algorithm

In the column stands the smiley face.