Go to Vscode or other text editor, open desired folder
git clone https://github.com/Roshang06/SPARCS.git
cd sparcsIf you don't have Python installed, download it from python.org and follow the installation instructions for your operating system.
Verify your installation:
python --versionCreating a virtual environment is recommended to keep your project dependencies isolated. Go to command prompt:
On Windows:
python -m venv venv
venv\Scripts\activateOn macOS/Linux:
python3 -m venv venv
source venv/bin/activateInstall all required dependencies using pip:
pip install -r requirements.txtRequired packages:
pyserial- Serial communication with ESP32numpy- Audio signal processingpyaudio- Real-time audio playback and capture
If you prefer to install manually:
pip install pyserial numpy pyaudioArduino scripts are found in the ArduinoFiles Folder