1# Derived from https://github.com/universal-ctags/ctags/issues/2978 2# submitted by @gerazov. 3import numpy as np 4from matplotlib import pyplot as plt 5from scipy.io import wavfile 6import os 7 8## generate sound 9f = 12000 10fs = 44100 11t = np.arange(0, 1, 1/fs) 12sound = np.sin(2*np.pi*f * t) 13 14##plot sound 15plt.plot(t, sound) 16 17##play sound 18wavfile.write('sound.wav', fs, np.int16(sound * 2**15)) 19os.system('play sound.wav') 20 21##no prefix 22a=1 23 24### extra sharp chars with space 25b=1 26 27###extra sharp chars without space 28c=1 29 30def f(): 31 ##no space with prefix 32 pass 33 34def g(): 35 ### extra sharp chars with space and prefix 36 pass 37 38def h(): 39 ###extra sharp chars without space with prefix 40 pass 41 42## DONT IGNORE ME 43 44