Package: ambience
AmbienceAmbient soundscape playerThis is a python cli program that plays audio files, looping them for a specified
duration and fading between them.It reads a directory for.ogg,.wavor.flacfiles. The program comes
with a set of files, but can be used with any files on your computer of the
supported types by using the--pathparameter when invoking.Installation with pippip install ambience

ambience --fetch-libraryManual InstallationRequires python3Requires pygameClone this repository.Runpip3 install --user -r requirements.txtto install pygame if not already installedRecommended: linkambiencein a directory on your path. E.g.ln -s ambience.py ~/bin/ambienceAlternate install for pygame (compile pygame from source)To install pygame from scratch instead of using pip, you can use the following
commands (assuming linux):# Clone source repo
sudo apt install mercurial
hg clone https://bitbucket.org/pygame/pygame
cd pygame

sudo apt install libsdl-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libportmidi-dev libavformat-dev libswscale-dev

python3 setup.py build
sudo python3 setup.py installUsageTo run with the default settings, simply runambience. Use "ctrl-c" to stop.Hello from the pygame community. https://www.pygame.org/contribute.html
usage: ambience [-h] [-d DURATION] [-f] [-i] [-n] [-p PATH] [-q] [-v] [paths ...]

positional arguments:
  paths                 load given sound file(s) or path(s)

options:
  -h, --help            show this help message and exit
  -d DURATION, --duration DURATION
                        set the duration in minutes each sound will play: default=5
  -f, --fetch-library   fetch the sound library from internet
  -i, --noinit          do not pre-initialize all sounds at start
  -n, --noinput         disable the stdin input capture
  -p PATH, --path PATH  set the path where the sound files are
  -q, --quiet           produce no output
  -v, --version         show version and exitIf invoked without the-nparameter, press 'n' to skip to next sound and 'q'
to quit.The default sounds used are in the install directory (wherever you
cloned/downloaded this repo) in the sub-directorysounds.Sound creditsCredit goes to the following for the sound files included in this package:Bruce Baron foralien-contact.oggVann Westfold forambienttraut.oggEro Kia forambient-wave-17.oggMynoise.net forb25-bomber.oggMynoise.net forbinaural-low-complex.oggSclolex forcave.ogg(Water Dripping in a Large Cave)Daniel Simion forcrackling-fireplacemusicbrain fordidgeridu-monk.oggEro Kia forelementary-wave-11.oggBlair Ferrier forhelicopter-mix.oggChris Zabriskie forlong-hallway.ogg(excerpt from "I Am Running Down the Long Hallway of Viewmont Elementary)Creative Commons 3.0György Ligeti forlux-aeterna-excerpt.oggSclolex fornight-sounds.ogg(Sounds on a quiet night)Luftrum forocean-waves.oggchzmn forperfect-storm.oggHargisss Sound forspring-birds.oggTrekcore.com forwarp-core-hum.oggNASA/JPL formars-perseverance.oggMynoise.net forb17-bomber.oggjuskiddink forbonfire.oggAshFox forcoffee-shop.oggunfa forfan.ogginchadney forforest.oggjuskiddink forleaves.oggel mar forlibrary.oggjuskiddink forseaside.oggSDLx fortrain.oggGreim for themachine-planet samplesNASA/JPL formars-ingenuity.oggAdrienPola foramazon-rainforest.oggdobroide forrural-spain.oggMynoise.net forthe-pilgrim.ogganankalisto forresonance-of-the-gods.oggEmanuele Correani fortrain-station.oggInspectorJ formachine-factory.oggGladkiy formetro-outdoors.oggZabuhailo formetro.ogg