Commit Graph

82 Commits

Author SHA1 Message Date
Andrzej Rybczak
07cc7aa4f3 SampleBuffer: rename move to get 2021-01-11 20:56:43 +01:00
Andrzej Rybczak
dd0eac69f8 Revert suppression of output of all external commands 2021-01-03 17:53:39 +01:00
Andrzej Rybczak
75f1ffaf1a Revert change from previous commit 2020-12-23 16:10:45 +01:00
Andrzej Rybczak
901542ee8e Tiny visualizer improvements 2020-12-23 15:32:58 +01:00
Andrzej Rybczak
7e4f3b1917 Bind Play to Backspace by default 2020-12-23 00:17:50 +01:00
Andrzej Rybczak
e0fe49e3e3 Enable full sorting of items in the local browser if it's not 2020-12-22 23:50:29 +01:00
Andrzej Rybczak
d402df8eeb Reduce CPU usage of the frequency spectrum visualizer 2020-12-22 19:35:51 +01:00
Andrzej Rybczak
f3fe45f3ff Suppress output of all external commands 2020-12-21 19:43:40 +01:00
Andrzej Rybczak
679cc7a2cb Show the Visualizer immediately if it's the initial screen 2020-12-21 13:46:34 +01:00
Andrzej Rybczak
40c40d8c7f Fix crash on startup with Browser as the initial screen 2020-12-21 11:14:26 +01:00
Andrzej Rybczak
3d5d1f4d54 Fix crash on startup with Visualizer as the initial screen 2020-12-21 10:55:46 +01:00
Andrzej Rybczak
27b5bb6d1e Replay song even if the server is not playing 2020-12-20 18:20:25 +01:00
Andrzej Rybczak
21c3ad4fc5 Smoother switching to Browser with Mopidy 2020-12-20 17:36:14 +01:00
Andrzej Rybczak
948d168790 Handle listallinfo failures more gracefully 2020-12-20 16:14:47 +01:00
Andrzej Rybczak
48f64f1aa0 Fix locating songs from Spotify in the Media Library 2020-12-20 15:17:48 +01:00
Andrzej Rybczak
985def83dc Recover from invalid directory in Browser::locateSong 2020-12-20 14:58:41 +01:00
Andrzej Rybczak
b68354a223 Update header information and my email 2020-12-19 17:51:49 +01:00
Andrzej Rybczak
cbc9741e66 Faster loading of playlists from the playlist editor 2020-12-19 16:54:51 +01:00
Andrzej Rybczak
d724e06262 Add type value of browser_sort_mode (set by default) 2020-12-19 16:33:02 +01:00
Andrzej Rybczak
3c7ce95aaa Deprecate 'noop' value of browser_sort_mode in favor of 'none'. 2020-12-19 16:17:45 +01:00
Andrzej Rybczak
17c950cc57 Use fcntl to make a socket non blocking (MacOS fix) 2020-12-18 15:48:35 +01:00
Andrzej Rybczak
4709cc6b6d Deprecate visualizer_sync_interval 2020-12-18 15:15:05 +01:00
Andrzej Rybczak
fb886f6870 Deprecate visualizer_fifo_path in favor of visualizer_data_source 2020-12-17 22:29:37 +01:00
Andrzej Rybczak
519f44e27c Support gstreamer's udpsink as a source of visualizer samples 2020-12-17 21:23:21 +01:00
Andrzej Rybczak
3e6a2af695 Rename fifo related values and functions 2020-12-17 18:33:25 +01:00
Andrzej Rybczak
fbbb5637e7 Discard any lingering data from the source 2020-12-17 13:37:09 +01:00
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
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
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
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
176b9714f3 Fix warnings in visualizer.cpp 2020-12-13 14:38:13 +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
Andrzej Rybczak
99f760bdac Add new actions to sample bindings file and help screen 2020-12-13 09:35:05 +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
Larson Carter
320d8d0ccb Merge pull request #240 from Polochon-street/album-view
Added a fully working 'Album-only' view
2019-09-30 18:19:21 -05:00
Peter Rice
e1e220c975 Escape single quotes in filenames 2019-08-06 21:41:38 -04:00