Générateur de fichier .wav à partir d'un fichier .k7 pour Thomson TO7/70.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
290 B

#!/usr/bin/env python
#Program 4
## Renato Fabbri
## renato (dot) fabbri (at) gmail (dot) com
## http://estudiolivre.org/el-user.php?view_user=gk
import wave, struct, math, binascii
def bstr(n):
return ''.join([str(n >> x & 1) for x in (0,1,2,3,4,5,6,7)])
a = bstr(0x45)
print a