Project Guitar and Linux

From JoBaPedia
Revision as of 15:34, 23 February 2022 by Joachim (talk | contribs) (Created page with "= Guitar and Linux = == Chordsplay == Chordsplay is my application to play along my favorite songs with the guitar. It scans a given directory for mp3 files with metadata to search for chords and lyrics of these songs. The list of these songs can be filtered and shuffled to play them while the lyrics and chords are displayed. === Separate Linux and Guitar Amps === Old style: Just play the music with chordsplay over the linux amp and play along with the external amp....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Guitar and Linux

Chordsplay

Chordsplay is my application to play along my favorite songs with the guitar. It scans a given directory for mp3 files with metadata to search for chords and lyrics of these songs. The list of these songs can be filtered and shuffled to play them while the lyrics and chords are displayed.

Separate Linux and Guitar Amps

Old style: Just play the music with chordsplay over the linux amp and play along with the external amp.

  • External Amp and Guitar can be connected wirelessly
  • No earphones because audio mixing happens in the air ;)

Fender Mustang Micro Amp

  • The small amp is plugged into the guitar
  • Connect the amp via bluetooth to linux audio
    • Chordsplay can send the music to the amp via A2DP protocol
pacat -r --latency-msec=1 -d 'alsa_output.usb-0ccd_USB_Audio-00.analog-surround-51.monitor' | \
pacat -p --latency-msec=1 -d 'bluez_sink.84_17_15_15_F0_20.a2dp_sink'
  • Use headphones plugged into the fender amp to hear mixed chordsplay and guitar
  • USB-C out of the amp can be connected to linux for using the linux amp and for recording, e.g. with audacity
    • use pacat to do the connections
pacat -r --latency-msec=1 -d 'alsa_input.usb-FMIC_Fender_Mustang_Micro_396234823131-00.iec958-stereo' | \
pacat -p --latency-msec=1 -d 'alsa_output.usb-0ccd_USB_Audio-00.analog-surround-51'

Unfortunately it is not possible to use normal bluetooth headphones or earpods in this scenario. They have a too long delay. Maybe aptx-ll would be a solution for playing completely wireless?