Remove unused plot
This commit is contained in:
parent
8f35b00bce
commit
a2f902b69a
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue