it lives
This commit is contained in:
parent
f38f3c677a
commit
182645acf8
@ -299,7 +299,7 @@ def ident():
|
|||||||
_say.append(words[character])
|
_say.append(words[character])
|
||||||
_say.append(words['silence'])
|
_say.append(words['silence'])
|
||||||
#test
|
#test
|
||||||
#_say.append(AMBEobj.readSingleFile('connected.ambe'))
|
#_say.append(AMBEobj.readSingleFile('44xx.ambe'))
|
||||||
speech = pkt_gen(bytes_3(16777215), bytes_3(16777215), bytes_4(16777215), 1, _say)
|
speech = pkt_gen(bytes_3(16777215), bytes_3(16777215), bytes_4(16777215), 1, _say)
|
||||||
|
|
||||||
sleep(1)
|
sleep(1)
|
||||||
|
@ -66,7 +66,7 @@ class readAMBE:
|
|||||||
#Read a single ambe file from the audio directory
|
#Read a single ambe file from the audio directory
|
||||||
def readSingleFile(self,filename):
|
def readSingleFile(self,filename):
|
||||||
ambeBytearray = {}
|
ambeBytearray = {}
|
||||||
_wordBitarray = bitarray(endian='big')
|
_wordBitarray = bitarray(endian='little')
|
||||||
_wordBA= []
|
_wordBA= []
|
||||||
try:
|
try:
|
||||||
with open(self.path+filename,'rb') as ambe:
|
with open(self.path+filename,'rb') as ambe:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user