update md
This commit is contained in:
parent
531fff4c10
commit
28bce212d1
@ -1,7 +1,7 @@
|
||||
## connect via SSH
|
||||
|
||||
|
||||
#
|
||||
# Useful commands
|
||||
- see connected usb devices
|
||||
- lsusb
|
||||
- arecord -l
|
||||
@ -24,3 +24,10 @@ pcm.mic {
|
||||
pcm "hw:1,0"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
44200 sampling rate
|
||||
5 secs
|
||||
230000 array length
|
||||
|
||||
|
||||
|
@ -1,15 +1,15 @@
|
||||
from numpy import*
|
||||
from scipy.io.wavfile import read
|
||||
from scipy.io.wavfile import write
|
||||
import matplotlib.pyplot as plt
|
||||
# import matplotlib.pyplot as plt
|
||||
import scipy
|
||||
import sounddevice as sd
|
||||
import time
|
||||
|
||||
a = read("/home/jreinking/Projekte/doorbell/raspberry-pi-projects/res/klingel_aufnahme_microphne_cut.wav")
|
||||
# a = read("/home/jreinking/Projekte/doorbell/raspberry-pi-projects/res/klingel_aufnahme_microphne_cut.wav")
|
||||
# print(a)
|
||||
# print(len(a[1]))
|
||||
a = a[1]
|
||||
# a = a[1]
|
||||
|
||||
def chunks(lst, n):
|
||||
"""Yield successive n-sized chunks from lst."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user