This commit is contained in:
Simon 2020-10-02 22:56:16 +01:00
parent f38f3c677a
commit 182645acf8
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ def ident():
_say.append(words[character])
_say.append(words['silence'])
#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)
sleep(1)

View File

@ -66,7 +66,7 @@ class readAMBE:
#Read a single ambe file from the audio directory
def readSingleFile(self,filename):
ambeBytearray = {}
_wordBitarray = bitarray(endian='big')
_wordBitarray = bitarray(endian='little')
_wordBA= []
try:
with open(self.path+filename,'rb') as ambe: