Commit Graph

2251 Commits

Author SHA1 Message Date
Andrzej Rybczak
95c0678792 Implement buffering of visualizer samples read from the fifo 2020-12-17 12:32:25 +01:00
Andrzej Rybczak
f4e032b047 Better amount of samples read for wave visualizers 2020-12-15 12:44:31 +01:00
Andrzej Rybczak
b6a3823e83 Set default visualizer to spectrum if fftw is available 2020-12-14 18:21:49 +01:00
Andrzej Rybczak
970ebe63fd Call InitVisualization() on resize 2020-12-14 18:15:47 +01:00
Andrzej Rybczak
27bd4bff5e Fix look of the ellipse visualizer with high fps 2020-12-14 17:36:27 +01:00
Andrzej Rybczak
b5bea554b6 Fix autoscaler 2020-12-14 17:01:13 +01:00
Andrzej Rybczak
cff792bb7e Improve look for bigger values of dft_size 2020-12-14 14:35:55 +01:00
Andrzej Rybczak
b602b198cd Make fps of the visualizer configurable and set it to 60 by default 2020-12-14 14:19:19 +01:00
Andrzej Rybczak
b8983b93ec Set sizes of samples read properly for stereo visualizers 2020-12-14 13:39:12 +01:00
Andrzej Rybczak
8237bcef27 Don't wrap colors around in sound wave filled and frequency spectrum 2020-12-14 12:39:12 +01:00
Andrzej Rybczak
ee664775a1 Increase range of visualizer_spectrum_dft_size 2020-12-14 08:19:59 +01:00
Andrzej Rybczak
54a0c9a46e Increase fps of the visualizer to 30 2020-12-13 23:58:35 +01:00
Andrzej Rybczak
9b49acba56 Clear samples of the visualizer when playback is stopped 2020-12-13 23:58:24 +01:00
Andrzej Rybczak
261b23266d Add visualizer_spectrum_gain option to a configuration file 2020-12-13 18:04:32 +01:00
Andrzej Rybczak
2f07252ed9 Toggle the fifo output once if synchronization is disabled 2020-12-13 17:13:05 +01:00
Andrzej Rybczak
ecdc77b960 Fix typo 2020-12-13 16:47:52 +01:00
Andrzej Rybczak
21034fdfa7 Pass random_exlude_pattern as reference 2020-12-13 16:43:43 +01:00
Andrzej Rybczak
8575a9132c Disable hacky attempt to sync visualization with audio by default 2020-12-13 16:16:34 +01:00
Andrzej Rybczak
9749e49cfc Squash a few more warnings 2020-12-13 15:55:45 +01:00
Andrzej Rybczak
3b06b7e90e Allow for editing multiple titles in the tag editor 2020-12-13 15:33:27 +01:00
Andrzej Rybczak
2c91694dc4 Fix locating a song in album only view and make it play nice with dates 2020-12-13 15:18:48 +01:00
Andrzej Rybczak
00a614eec2 Use signal instead of sigignore as the latter is deprecated 2020-12-13 14:39:34 +01:00
Andrzej Rybczak
176b9714f3 Fix warnings in visualizer.cpp 2020-12-13 14:38:13 +01:00
Andrzej Rybczak
4873bde0ab More markdown 2020-12-13 14:38:04 +01:00
Andrzej Rybczak
e18903c400 Update CHANGELOG with visualizer changes 2020-12-13 14:28:18 +01:00
Andrzej Rybczak
d1e7c0cbf0 Disable autoscaling for visualizer by default 2020-12-13 14:22:20 +01:00
Andrzej Rybczak
f71edace63 Better defaults for visualization in 256 colors 2020-12-13 14:19:48 +01:00
Andrzej Rybczak
28382a09b9 Fix default value of visualizer_spectrum_dft_size 2020-12-13 14:16:57 +01:00
Andrzej Rybczak
b2ffa001a1 Update CHANGELOG 2020-12-13 14:14:11 +01:00
Evan Chang
47b3baf93c Use log scale for visualizer (#397)
* Visualizer: use log scale

- log scale frequency and gain
- Hamming windowing
- improve reading from fifo

* Fix Visualizer memory leaks

* Visualizer: use Blackman window

* Visualizer: support DFT zero padding

* Visualizer: support fractional height bars, fix fifo read

* Revert "Fix Visualizer memory leaks"

This reverts commit 5c6509d2b8ed985a4928f681217dc8616d053ace.

* Visualizer: fix fifo read again

* Visualizer: add cubic interpolation option

* Visualizer: Expose more config options, add docs for config options

* Visualizer: Use reverse video text for stereo visualizer smooth look

* Visualizer: use FormattedColor to for reverse-video

* Visualizer: change some config options for spectrum

* Fix build fftw disabled

* Visualizer: use [0,5] interval for dft_size config option
2020-12-13 14:13:45 +01:00
Lucas Zacharewicz
750e7ff59d Added option to hide album dates (#417)
* Added option to hide album dates

* Fixed formating typo
2020-12-13 14:02:49 +01:00
Francesco
b72768d168 Update Makefil.am to reflect NEWS-->CHANGELOG.md rename (#430)
(d1fe67b031)
2020-12-13 12:37:13 +01:00
Andrzej Rybczak
99f760bdac Add new actions to sample bindings file and help screen 2020-12-13 09:35:05 +01:00
Andrzej Rybczak
d549df3e69 Update CHANGELOG 2020-12-13 09:26:16 +01:00
arcnmx
430cd92e96 Add an explicit Load action (#409) 2020-12-13 09:25:23 +01:00
Andrzej Rybczak
d1fe67b031 Rename NEWS to CHANGELOG.md and fill in changes for 0.9 2020-12-13 09:20:41 +01:00
Andrzej Rybczak
5b6736b543 Remove Lyricsmania fetcher as it doesn't work 2020-12-13 08:46:32 +01:00
Andrzej Rybczak
ecc2fefa7c Fix Genius and Tekstowo fetchers 2020-12-13 08:44:18 +01:00
Andrzej Rybczak
60b8071eea Remove lyricwiki fetcher as the site closed down 2020-12-10 15:16:23 +01:00
jaredforrest
aa9ca84cb2 Fix delete key in st (#425) 2020-12-10 15:04:12 +01:00
Andrzej Rybczak
7ee6de39a1 Merge pull request #375 from torstehu/master
doc/ncmpcc: fix typo
2020-08-03 15:46:16 +02:00
Andrzej Rybczak
cc6fbddb37 Merge pull request #385 from sbraz/gcc10
Fix build with GCC 10 by adding missing include
2020-05-25 12:13:41 +02:00
Louis Sautier
399e0f4700 Fix build with GCC 10 by adding missing include
Fixes the following error:
./mpdpp.h:438:15: error: ‘runtime_error’ is not a member of ‘std’
2020-05-09 14:31:52 +02:00
Torstein Husebø
95b688f9f0 doc/ncmpcc: fix typo 2020-02-11 19:34:39 +01:00
Andrzej Rybczak
bdec1eb009 Merge pull request #373 from wylfen/master
Stop using deprecated removeField method
2020-01-12 12:35:13 +01:00
Andrzej Rybczak
69ec9aef63 Merge pull request #370 from dankamongmen/master
Curses: don't iterate through unbound COLORS #369
2020-01-12 12:33:03 +01:00
nick black
302bcca99a Curses: don't iterate through unbound COLORS #369
On DirectColor-capable terminals with the proper terminfo
database in use, COLORS is 2^24. Since the color map is
only 64k entries, this resulted in a segfault. I've
introduced NC::colorCount(), which bounds it by the
previously assumed maximum (and usable range) of 256.
2020-01-12 06:06:29 -05:00
Andrzej Rybczak
608c779a4d Merge pull request #374 from arybczak/lyrics-fix
Fix lyrics fetchers
2020-01-12 06:45:04 +01:00
Andrzej Rybczak
d86c965143 Fix lyrics fetchers 2020-01-12 06:43:52 +01:00
Wynn Wolf Arbor
5e54cf2ca3 Stop using deprecated removeField method
taglib deprecated removeField internally in [1], but did not add the
deprecation warning until about four years later. The original bug
report [2] and pull request commit both mention not wanting to change
the original method's behaviour, but this was done anyway (perhaps by
mistake) in [3].

With that change, removeField(type) will not remove all tags of the
given type anymore, as the default for value has changed from
String::null to String().

This commit replaces explicit calls to removeField(type) with
removeFields(type), which has the correct behaviour. In writeXiph,
removeField is removed entirely, as addField(key, value) will replace
the tag by default.

[1] https://github.com/taglib/taglib/pull/681
[2] https://github.com/taglib/taglib/issues/651
[3] c05fa78406
2020-01-11 15:30:08 +01:00