Advertisement
skip420

Violent_Mind_In_Frequency

Sep 12th, 2022 (edited)
1,044
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.33 KB | None | 1 0
  1. # Mind control to control people and their "illusion"
  2. # Here we demonstrate in Hz to control, Best play low sound at 30 minutes
  3. # always remember o be hind BT or other speakers in trial
  4. # We have here to demonstrate people's control of vision ( can be blurred) ,Frontal Lobe, etc
  5. # Long-term exposure to high-level noise may cause tensions and aggression in individuals; even different frequencies may # act differently and cause impairment in cognitive functions,Vision, increase human errors, may cause adverse consequences, and
  6. #  most importantly, increase psychological reactions in social and family settings
  7.  
  8.  
  9. import pyaudio
  10. import numpy as np
  11.  
  12. p = pyaudio.PyAudio()
  13.  
  14. volume = 0.5     # range [0.0, 1.0]
  15. fs = 4400      # sampling rate, Hz, must be integer
  16. duration = 1800.0   # in seconds, may be float
  17. f = 1900       # sine frequency, Hz, may be float
  18.  
  19. # generate samples, note conversion to float32 array
  20. samples = (np.sin(2*np.pi*np.arange(fs*duration)*f/fs)).astype(np.float32)
  21.  
  22. # for paFloat32 sample values must be in range [-1.0, 1.0]
  23. stream = p.open(format=pyaudio.paFloat32,
  24.                 channels=1,
  25.                 rate=fs,
  26.                 output=True)
  27.  
  28. # play. May repeat with different volume values (if done interactively)
  29. stream.write(volume*samples)
  30.  
  31. stream.stop_stream()
  32. stream.close()
  33.  
  34. p.terminate()
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement