version with 6 leds

This commit is contained in:
Alexander Alber 2022-11-14 17:33:34 +01:00
parent 060324c5a3
commit 1928593710
42 changed files with 49196 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
inventor2/SpantB.ipt Normal file

Binary file not shown.

BIN
inventor2/assembly.iam Normal file

Binary file not shown.

BIN
inventor2/boden.ipt Normal file

Binary file not shown.

BIN
inventor2/boden.stl Normal file

Binary file not shown.

BIN
inventor2/deckel.ipt Normal file

Binary file not shown.

BIN
inventor2/deckel.stl Normal file

Binary file not shown.

46491
inventor2/exports/assembly.stp Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 192 KiB

BIN
inventor2/klaue.stl Normal file

Binary file not shown.

BIN
inventor2/lasercutter.dwg Normal file

Binary file not shown.

BIN
inventor2/lasercutter.pdf Normal file

Binary file not shown.

BIN
inventor2/mutter-halter.stl Normal file

Binary file not shown.

BIN
inventor2/platte3.ipt Normal file

Binary file not shown.

Binary file not shown.

BIN
inventor2/ring_oben.ipt Normal file

Binary file not shown.

BIN
inventor2/ring_unten.ipt Normal file

Binary file not shown.

BIN
inventor2/staender.stl Normal file

Binary file not shown.

BIN
inventor2/vase.ipt Normal file

Binary file not shown.

BIN
inventor2/vase.stl Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,49 @@
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import numpy as np
n_plots = 5
endtime = 4
size = 1000
time = np.linspace(0,endtime,size)
audio = 1023*np.random.random(size=(size))
audio = 512+(audio-512)*(0.2)*np.sin(np.linspace(0,endtime*2*3.14*2, size))+(audio-512)*0.3
fig, axs = plt.subplots(n_plots, 1)
axs[0].plot(time,audio)
audio_norm = audio-512
axs[1].plot(time,audio_norm)
spc = size/endtime
audio_norm = np.array(audio_norm)
audio_squared = np.square(audio_norm)
axs[2].plot(time, audio_squared)
spc = int(size/endtime/40)
chunks = list()
chunktimes = list()
energy = 0
i = 0
for sample, timepoint in zip(audio_squared, time):
energy += sample
i += 1
if i > spc:
i = 0
chunks.append(energy)
chunktimes.append(timepoint)
energy = 0
axs[3].plot(chunktimes, chunks)
plt.show()