Merge branch 'master' of github.com:ChristopheJacquet/PiFmRds

This commit is contained in:
Christophe Jacquet 2014-04-06 17:39:03 +02:00
commit 202af335d2
1 changed files with 3 additions and 3 deletions

View File

@ -61,9 +61,9 @@ def generate_bit(name):
out = shapedSamples[528-288:528+288] #[offset:offset+l*count]
plt.plot(sf)
plt.plot(out)
plt.show()
#plt.plot(sf)
#plt.plot(out)
#plt.show()
iout = (out * 20000./max(abs(out)) ).astype(numpy.dtype('>i2'))
wavfile.write(u"waveform_{}.wav".format(name), sample_rate, iout)