Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JARVIS

Double-clap to trigger JARVIS. Plays "Should I Stay or Should I Go" on Spotify and greets you like Tony Stark's assistant.

Requirements

  • macOS
  • Python 3
  • Homebrew
  • Spotify installed

Setup

make setup

This installs system and Python dependencies.

Usage

make start

JARVIS will listen via your mic. Double-clap to activate.

Tuning

If JARVIS triggers too easily or misses claps, adjust THRESHOLD in jarvis.py:

  • Lower value → more sensitive
  • Higher value → less sensitive (default: 0.20)

Adjust VOICE_VOLUME in jarvis.py to control TTS volume relative to Spotify (default: 0.6, range: 0.0–1.0).

Adjust CLAP_WINDOW to control how fast you need to clap (default: 0.8 seconds). Lower = must clap faster.

Change GREETING to customize what JARVIS says when triggered.

Change SPOTIFY_URI to play a different song. To get the URI from Spotify:

  1. Right-click any song → Share → Copy Song Link
  2. The link looks like: https://open.spotify.com/track/39shmbIHICJ2Wxnk1fPSdz — the ID is 39shmbIHICJ2Wxnk1fPSdz (everything after the last /)
  3. Format it as: spotify:track:<ID>

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages