Skip to content

Scripts to aid in the creation of mining cards from visual novels

License

Notifications You must be signed in to change notification settings

na-2n/linux-eroge-mining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux eroge mining

record_to_anki.sh

Records desktop audio and automatically adds it to the last card that was added. Basically a *nix version of this.

By default also normalizes audio to -16LUFS, so you don't get jumpscared while doing anki reps on your laptop.

Requirements

  • Anki (duh) + AnkiConnect addon (2055492159)
  • pipewire
  • libnotify (notify-send)
  • curl
  • jq
  • procps-ng (pgrep, pkill)
  • ffmpeg
  • mpv (can easily be replaced by audio player of your choice if you wish to do so)
  • wl-clipboard (Wayland users)
  • xclip (X11 users)

Usage

Run the script to start recording, run it again to stop, kill the process to abort. Optionally pass -c to copy the anki media string ([sound:xyz.mp3]) to the clipboard instead of adding it to the latest card, -p to play back the recorded audio, and -n to start recording immediately.

Configuration is done within the shell script itself, make sure to do this before running it!

About

Scripts to aid in the creation of mining cards from visual novels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages