A Linux application written using Qt that plays white noise (and other ambient sound) audio files in the background. Supports layering multiple sounds over one another. Sounds automatically loop indefinitely.
Use the latest provided package for your distro, available from the OpenSUSE Build Service. Click the link, select your distro, and follow the instructions for adding the repository and installing manually. Unless you know what you're doing, don't just grab the binary packages, or else you won't get updates.
AppImages are also available from the GitHub releases page. If your distro is not listed on the page at the OpenSUSE build service, this is the best option for using the application. To run the AppImage:
-
Download the latest
.AppImage
file from the GitHub releases page (linked above). -
Open a terminal in the location the file downloaded to (usually your Downloads folder) and run the following:
chmod +x <name_of_file>.AppImage
After this, you should be able to run the program by simply opening the
.AppImage
file. -
(Optional) Add a menu entry for the application using
appimaged
.
-
Ensure you have all the dependencies for the application installed (methods will vary depending upon your distribution of choice, you will need development files in addition to the normal library packages):
-
Qt 5 (including the Core, GUI, Widgets, D-Bus, and Concurrent components)
-
TagLib
-
PortAudio
-
LibSndFile
-
-
Clone the repo and
cd
into it:git clone https://github.com/ryangwsimmons/WhiteNoiseLinux.git cd WhiteNoiseLinux
-
Create a new directory (you can name it whatever you like, I'm naming it "build" here) and
cd
into itmkdir build cd build
-
Run
cmake
. If you've successfully satisfied all the dependencies, the following command shouldn't result in any errors:cmake ..
-
Run
make
to build the application:make
-
Once this process completes, you should have an executable called
WhiteNoiseLinux
in thebuild
directory. From this point, while you should just be able to place this executable anywhere, I would strongly recommend using this executable to create a software package for your specific distro. Details regarding how to do this can be readily found online. If you really insist on not doing this, you can also runsudo make install
to install the application files to the/usr/local
installation prefix.
On first run, the app creates a .whitenoiselinux
directory in your home directory. Inside this directory, there is another directory called sounds
.
Inside this directory, place the sounds you want. These sounds must be 2 channel (stereo) Ogg/Vorbis audio files. If an audio file has a title in its metadata, this title will be used instead of the file name in the interface.
To obtain sounds, I'd recommend the following process:
- Go on YouTube, and search for "white noise".
- Find a few different sounds you like, and download the audio for them with youtube-dl.
- Use Audacity to trim the audio file down to around 2 minutes or so.
- Export this new, trimmed audio as an Ogg file.
- During the export process, you will be given the option to enter a "Track Title" for the file. You can enter the name you would like for the sound in this field.
- Save this audio file in the
~/.whitenoiselinux/sounds
directory.
The following images were used to create the icon for this app:
- Tux-flat.svg by Josef Norlin (Licensed under CC BY-SA 4.0)
- Icon of black headphones by Marek Mazurkiewicz (Licensed under CC0 1.0)
- waveform by Jack Zwanenburg (Licensed under CC BY 3.0 US)
All of these images were modified in order to create the icon.