
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Ambient soundscape player
This 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
, .wav
or .flac
files. 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 --path
parameter when invoking.
pip install ambience
ambience --fetch-library
Clone this repository.
Run pip3 install --user -r requirements.txt
to install pygame if not already installed
Recommended: link ambience
in a directory on your path. E.g. ln -s ambience.py ~/bin/ambience
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 install
To run with the default settings, simply run ambience
. 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 exit
If invoked without the -n
parameter, 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-directory sounds
.
Credit goes to the following for the sound files included in this package:
alien-contact.ogg
ambienttraut.ogg
ambient-wave-17.ogg
b25-bomber.ogg
binaural-low-complex.ogg
cave.ogg
(Water Dripping in a Large Cave)crackling-fireplace
didgeridu-monk.ogg
elementary-wave-11.ogg
helicopter-mix.ogg
long-hallway.ogg
(excerpt from "I Am Running Down the Long Hallway of Viewmont Elementary) Creative Commons 3.0lux-aeterna-excerpt.ogg
night-sounds.ogg
(Sounds on a quiet night)ocean-waves.ogg
perfect-storm.ogg
spring-birds.ogg
warp-core-hum.ogg
mars-perseverance.ogg
b17-bomber.ogg
bonfire.ogg
coffee-shop.ogg
fan.ogg
forest.ogg
leaves.ogg
library.ogg
seaside.ogg
train.ogg
mars-ingenuity.ogg
amazon-rainforest.ogg
rural-spain.ogg
the-pilgrim.ogg
resonance-of-the-gods.ogg
train-station.ogg
machine-factory.ogg
metro-outdoors.ogg
metro.ogg
birth-of-a-snowflake.ogg
biota-alien-soundscape.ogg
inside-a-train.ogg
underwater.ogg
womb.ogg
FAQs
Ambient soundscape player: plays audio files as background ambience
We found that ambience demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.