Remove unused plot

This commit is contained in:
Christophe Jacquet 2014-04-06 17:38:00 +02:00
parent 8f35b00bce
commit a2f902b69a
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] out = shapedSamples[528-288:528+288] #[offset:offset+l*count]
plt.plot(sf) #plt.plot(sf)
plt.plot(out) #plt.plot(out)
plt.show() #plt.show()
iout = (out * 20000./max(abs(out)) ).astype(numpy.dtype('>i2')) iout = (out * 20000./max(abs(out)) ).astype(numpy.dtype('>i2'))
wavfile.write(u"waveform_{}.wav".format(name), sample_rate, iout) wavfile.write(u"waveform_{}.wav".format(name), sample_rate, iout)