All Projects → yui0 → aplay-

yui0 / aplay-

Licence: other
a simple BitPerfect player

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to aplay-

loudgain
ReplayGain 2.0 loudness normalizer based on the EBU R128/ITU BS.1770 standard (-18 LUFS, FLAC, Ogg, MP2, MP3, MP4, M4A, AAC, ALAC, Opus, ASF, WMA, WAV, AIFF, WavPack, APE)
Stars: ✭ 127 (+452.17%)
Mutual labels:  mp4, mp3, aac, flac, m4a
slibs
Single file libraries for C/C++
Stars: ✭ 80 (+247.83%)
Mutual labels:  mp4, mp3, aac, flac, m4a
audio-metadata
A library for reading and, in the future, writing audio metadata. https://audio-metadata.readthedocs.io/
Stars: ✭ 41 (+78.26%)
Mutual labels:  mp4, mp3, flac, m4a
Mediafile
A unified reader of metadata from audio & video files.
Stars: ✭ 138 (+500%)
Mutual labels:  mp4, mp3, aac, flac
Gogglesmm
Goggles Music Manager
Stars: ✭ 41 (+78.26%)
Mutual labels:  mp4, mp3, aac, flac
libwinmedia
[Archived] A cross-platform simple media playback library for C/C++.
Stars: ✭ 35 (+52.17%)
Mutual labels:  mp3, aac, flac, m4a
Symphonia
Pure Rust multimedia format demuxing, tag reading, and audio decoding library
Stars: ✭ 191 (+730.43%)
Mutual labels:  mp4, mp3, aac, flac
Atldotnet
Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
Stars: ✭ 180 (+682.61%)
Mutual labels:  mp4, mp3, aac, flac
Av Converter
[av-converter.com] Audio and Video Converter, and YouTube downloader. Convert to MP3, MP4, AAC, FLAC, AC3, WAV, etc.
Stars: ✭ 97 (+321.74%)
Mutual labels:  mp4, mp3, aac, flac
Audioplayer
Audio Player for Nextcloud and ownCloud
Stars: ✭ 179 (+678.26%)
Mutual labels:  player, mp4, mp3, flac
Axiom
An FFmpeg GUI for Windows
Stars: ✭ 560 (+2334.78%)
Mutual labels:  mp4, mp3, flac
Music Metadata
Stream and file based music metadata parser for node. Supporting a wide range of audio and tag formats.
Stars: ✭ 455 (+1878.26%)
Mutual labels:  mp4, mp3, flac
Tag
ID3, MP4 and OGG/FLAC metadata parsing in Go
Stars: ✭ 314 (+1265.22%)
Mutual labels:  mp4, mp3, flac
Youtube-DL-GUI
Graphical User Interace built around youtube-dl CLI
Stars: ✭ 38 (+65.22%)
Mutual labels:  mp3, aac, flac
uos
United Open-libraries of Sound. United procedures for open-source audio libraries. For FPC/Lazarus/fpGUI/MSEgui.
Stars: ✭ 112 (+386.96%)
Mutual labels:  player, mp3, flac
Flacon
Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks.
Stars: ✭ 252 (+995.65%)
Mutual labels:  mp3, aac, flac
Mutagen
Python module for handling audio metadata
Stars: ✭ 760 (+3204.35%)
Mutual labels:  mp4, mp3, flac
nipper
🌶 💽 Nipper - Youtube playlist (& video) ripper
Stars: ✭ 23 (+0%)
Mutual labels:  mp4, mp3, aac
Tageditor
A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska
Stars: ✭ 229 (+895.65%)
Mutual labels:  mp4, aac, flac
Ni Media
NI Media is a C++ library for reading and writing audio streams.
Stars: ✭ 158 (+586.96%)
Mutual labels:  mp4, mp3, flac

aplay+

a simple BitPerfect player

Supported file formats

  • FLAC (Free Lossless Audio Codec)
  • WAV (RIFF waveform Audio Format)
  • MP3 (MPEG-1 Audio Layer-3)
  • Ogg Vorbis
  • AAC (mp4/m4a)

How to build

# dnf install alsa-lib-devel
$ make

How to use

$ make
$ ./aplay+ -h
Usage: ./aplay+ [options] dir

Options:
-h                 Print this message
-d <device name>   ALSA device name [default hw:0,0 plughw:0,0...]
-f                 Use 32bit floating
-r                 Recursively search for directory
-x                 Random play
-s <regexp>        Search files
-t <ext type>      File type [flac mp3 wma...]

$ ./aplay+ -rx .
$ ./aplay+ -rx -d hw:7,0 /Music/ -s ZARD
$ ./aplay+ -rfx -d hw:7,0 /Music/ -s '^(?!.*nstrumental).*$'

Tuning for Linux platforms

  • Disk I/O
vm.dirty_ratio = 40
vm.dirty_background_ratio = 10
vm.dirty_expire_centisecs = 3000
vm.dirty_writeback_centisecs = 500

#dev.hpet.max-user-freq = 3072

vm.overcommit_memory = 1

sysctl -p

#!/bin/sh
#cat /sys/block/sd*/queue/scheduler
for FILE in /sys/block/sd*/queue/scheduler
do
	[ -f $FILE ] || continue
	echo -n none > $FILE
done
# scheduler for non rotational, SSD
ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="none"
# scheduler for rotational, HDD
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"

fstrim -v /

  • Setting CPU clock to performance
#!/bin/sh
#cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
do
	[ -f $CPUFREQ ] || continue
	echo -n performance > $CPUFREQ
done
  • Timer
#cat /sys/devices/system/clocksource/clocksource0/current_clocksource
echo tsc > /sys/devices/system/clocksource/clocksource0/current_clocksource

ulimit -a

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].