JessicaGarson / scream.py

A simple tool for creating a .wav file for sampling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scream.py

A simple tool for creating a five second .wav file for sampling. This script is used during Messica Arson performances for recording screams.

Prerequisites

To use this tool, you'll need:

  • A microphone.
  • A method to connect your microphone to your computer.

My current setup includes:

Usage

  1. Install the required packages:
pip install numpy scipy sounddevice
  1. You will need to update the path on line 20 as well.
wav.write('/path/to/your/scream.wav', fs, myrecording)
  1. Ensure that your computer's sound input is configured to use your audio interface or the method through which your microphone is connected to your computer.

  2. Run the file:

python scream.py
  1. Scream!

Contributions

Contributions to improve this tool are welcome! If you have any suggestions, feature requests, or find any issues, please feel free to open an issue or submit a pull request.

About

A simple tool for creating a .wav file for sampling

License:Apache License 2.0


Languages

Language:Python 100.0%