Giter Club home page Giter Club logo

cavalier's People

Contributors

albanobattistella avatar bordam avatar fsobolev avatar gregorni avatar rene-coty avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cavalier's Issues

i don´t make this please if you from braziliam to be continued with this project

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022 Fyodor Sobolev
# This file is distributed under the same license as the cavalier package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Wagner Costa Gottschald <[email protected]>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: cavalier\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-29 12:46+0300\n"
"PO-Revision-Date: 2023-03-27 20:28-0300\n"
"Last-Translator: Wagner Costa Gottschald <[email protected]>\n"
"Language-Team: Brazilian Portuguese <[email protected]>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"X-Generator: Gtranslator 42.0\n"

#: data/io.github.fsobolev.Cavalier.desktop.in:3
#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:6
msgid "Cavalier"
msgstr "Cavalier"

#: data/io.github.fsobolev.Cavalier.desktop.in:4
msgid "Audio Visualizer"
msgstr "Visualizador de Áudio"

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:7
msgid "Audio visualizer based on CAVA."
msgstr "Visualizador de Áudio baseado no CAVA."

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:9
msgid ""
"Cavalier is an audio visualizer based on CAVA with customizable LibAdwaita "
"interface."
msgstr ""
"Cavalier é um Visualizador de áudio baseado no CAVA com LibAdwaita "
"customizável."

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:11
msgid "4 drawing modes!"
msgstr "4 desenhos de ondas!"

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:12
msgid ""
"Set single color or up to 10 colors gradient for background and foreground."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:13
msgid "Configure smoothing, noise reduction and a few other CAVA settings."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:19 src/main.py:72
#: src/main.py:74
msgid "Fyodor Sobolev"
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:41
msgid "Second release of Cavalier."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:43
msgid "New drawing mode — Particles!"
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:44
msgid ""
"Color profiles! Create as many as you want and change between them "
"instantly. Unfortunately, this new feature required to change how the "
"application saves colors, and because of this your previous colors settings "
"will be lost after installing this update."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:45
msgid "Added keyboard shortcuts to change most of the settings on the fly."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:46
msgid "Added option to show/hide window controls."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:47
msgid "Added option to autohide headerbar when the main window is not focused."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:48
msgid ""
"Added option to change roundness of items in \"levels\" and \"particles\" "
"modes."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:49
msgid "Added option to reverse the order of bars."
msgstr ""

#: data/io.github.fsobolev.Cavalier.metainfo.xml.in:50
msgid "Import/Export Settings"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:5
msgid "Window size"
msgstr "Tamanho da janela"

#: data/io.github.fsobolev.Cavalier.gschema.xml:9
msgid "Window maximized state"
msgstr "Janela no estado maximizado"

#: data/io.github.fsobolev.Cavalier.gschema.xml:10
msgid "Whether main window is maximized or not"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:14
#: src/preferences_window.py:147
msgid "Window controls"
msgstr "Controle de janela"

#: data/io.github.fsobolev.Cavalier.gschema.xml:15
#: src/preferences_window.py:149
msgid "Whether to show window control buttons."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:19
#: src/preferences_window.py:158
msgid "Autohide headerbar"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:20
#: src/preferences_window.py:160
msgid "Whether to hide headerbar when main window is not focused."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:24
msgid "Drawing mode"
msgstr "Ondas"

#: data/io.github.fsobolev.Cavalier.gschema.xml:25
msgid "Defines what the visualizer looks like."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:35 src/preferences_window.py:97
msgid "Drawing area margin"
msgstr "Marge da onda"

#: data/io.github.fsobolev.Cavalier.gschema.xml:36 src/preferences_window.py:99
msgid "Size of gaps around drawing area (in pixels)."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:41
#: src/preferences_window.py:109
msgid "Offset between items"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:42
#: src/preferences_window.py:111
msgid ""
"The size of spaces between elements in \"levels\", \"particles\" and \"bars"
"\" modes (in percent)."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:47
#: src/preferences_window.py:121
msgid "Roundness of items"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:48
msgid "This setting only affects \"levels\" and \"particles\" modes."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:53
msgid "Number of bars"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:54
msgid "Number of bars in CAVA config"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:59
#: src/preferences_window.py:204
msgid "Automatic sensitivity"
msgstr "Sensibilidade automática"

#: data/io.github.fsobolev.Cavalier.gschema.xml:60
#: src/preferences_window.py:206
msgid "Attempt to decrease sensitivity if the bars peak."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:64
#: src/preferences_window.py:214
msgid "Sensitivity"
msgstr "Sensibilidade"

#: data/io.github.fsobolev.Cavalier.gschema.xml:65
#: src/preferences_window.py:216
msgid ""
"Manual sensitivity. If automatic sensitivity is enabled, this will only be "
"the initial value."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:70
#: src/preferences_window.py:225
msgid "Channels"
msgstr "Canais"

#: data/io.github.fsobolev.Cavalier.gschema.xml:71
msgid "Mono or stereo"
msgstr "Mono ou stereo"

#: data/io.github.fsobolev.Cavalier.gschema.xml:79
#: src/preferences_window.py:237
msgid "Smoothing"
msgstr "Suavidade na animação"

#: data/io.github.fsobolev.Cavalier.gschema.xml:87
msgid "Noise reduction"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:88
msgid ""
"This factor adjusts the integral and gravity filters to keep the signal "
"smooth. 1 will be very slow and smooth, 0 will be fast but noisy."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:93
#: src/preferences_window.py:255
msgid "Reverse order"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:97
#: src/preferences_window.py:272
msgid "Widgets style"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:98
#: src/preferences_window.py:273
msgid "Style used by Adwaita widgets."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:106
#: src/preferences_window.py:136
msgid "Sharp corners"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:107
#: src/preferences_window.py:138
msgid "Whether the main window corners should be sharp."
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:111
msgid "Color Profiles"
msgstr ""

#: data/io.github.fsobolev.Cavalier.gschema.xml:115
msgid "Index of active color profile"
msgstr ""

#: src/preferences_window.py:59
msgid "Drawing Mode"
msgstr ""

#: src/preferences_window.py:63
msgid "Wave"
msgstr "Onda"

#: src/preferences_window.py:70
msgid "Levels"
msgstr "Níveis"

#: src/preferences_window.py:78
msgid "Particles"
msgstr "Partículas"

#: src/preferences_window.py:86 src/preferences_window.py:193
msgid "Bars"
msgstr ""

#: src/preferences_window.py:123
msgid ""
"This setting only affects \"levels\" and \"particles\" modes.\n"
"0 - square, 1 - round"
msgstr ""

#: src/preferences_window.py:173
msgid "Import"
msgstr "Importar"

#: src/preferences_window.py:178
msgid "Export"
msgstr "Exportar"

#: src/preferences_window.py:231
msgid "Mono"
msgstr "Mono"

#: src/preferences_window.py:233
msgid "Stereo"
msgstr "Stereo"

#: src/preferences_window.py:239
msgid "Off"
msgstr "Desligado"

#: src/preferences_window.py:239
msgid "Monstercat"
msgstr ""

#: src/preferences_window.py:242
msgid "Noise Reduction"
msgstr ""

#: src/preferences_window.py:243
msgid "0 - noisy, 1 - smooth"
msgstr ""

#: src/preferences_window.py:264 src/preferences_window.py:285
#: src/shortcuts_dialog.ui:82
msgid "Colors"
msgstr "Cores"

#: src/preferences_window.py:278
msgid "Light"
msgstr "Claro"

#: src/preferences_window.py:280
msgid "Dark"
msgstr "Escuro"

#: src/preferences_window.py:291
msgid "Profile:"
msgstr "Perfil:"

#: src/preferences_window.py:299
msgid "Add new profile"
msgstr "Adicione um novo perfil"

#: src/preferences_window.py:310
msgid "Type a name for a new profile"
msgstr "Tipos de nome para novos perfis"

#: src/preferences_window.py:312 src/preferences_window.py:508
#: src/preferences_window.py:547
msgid "Add"
msgstr "Adicione"

#: src/preferences_window.py:322
msgid "Remove profile"
msgstr "Remover perfil"

#: src/preferences_window.py:329
msgid "Are you sure you want to remove this profile?"
msgstr "Têm certeza que deseja remover esse perfil"

#: src/preferences_window.py:336
msgid "Remove"
msgstr "Remover"

#: src/preferences_window.py:343 src/preferences_window.py:695
#: src/preferences_window.py:714
msgid "Cancel"
msgstr "Cancelar"

#: src/preferences_window.py:353
msgid "<b>Foreground</b>"
msgstr ""

#: src/preferences_window.py:358
msgid "<b>Background</b>"
msgstr "<b>Fundo</b>"

#: src/preferences_window.py:489 src/preferences_window.py:512
#: src/preferences_window.py:530 src/preferences_window.py:551
msgid "Select color"
msgstr "Selecione a cor"

#: src/preferences_window.py:496 src/preferences_window.py:537
msgid "Remove color"
msgstr "Remover cor"

#: src/preferences_window.py:517 src/preferences_window.py:556
msgid "Add color"
msgstr "Adicionar cor"

#: src/preferences_window.py:584
msgid "This name is already in use."
msgstr "Este nome já esta em uso"

#: src/preferences_window.py:694
msgid "Import Settings"
msgstr "Importar configurações"

#: src/preferences_window.py:695
msgid "Open"
msgstr "Abrir"

#: src/preferences_window.py:698 src/preferences_window.py:717
msgid "Cavalier Settings File (*.cavalier)"
msgstr "Arquivo de configurações (*cavalier)"

#: src/preferences_window.py:702
msgid "All Files"
msgstr "Todos os arquivos"

#: src/preferences_window.py:713
msgid "Export Settings"
msgstr "Exportar configurações"

#: src/preferences_window.py:714
msgid "Save"
msgstr "Salvar"

#: src/window.py:109
msgid "Preferences"
msgstr "Preferencias"

#: src/window.py:110
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"

#: src/window.py:111
msgid "About"
msgstr "Sobre"

#: src/window.py:112
msgid "Quit"
msgstr "Sair"

#: src/shortcuts_dialog.ui:15
msgid "Change Drawing Mode"
msgstr ""

#: src/shortcuts_dialog.ui:21
msgid "Change Drawing Area Margin"
msgstr ""

#: src/shortcuts_dialog.ui:27
msgid "Change Offset Between Items"
msgstr ""

#: src/shortcuts_dialog.ui:33
msgid "Change Roundness of Items"
msgstr ""

#: src/shortcuts_dialog.ui:39
msgid "Toggle Sharp Corners"
msgstr ""

#: src/shortcuts_dialog.ui:45
msgid "Toggle Window Controls"
msgstr ""

#: src/shortcuts_dialog.ui:51
msgid "Toggle Autohide Headerbar"
msgstr ""

#: src/shortcuts_dialog.ui:62
msgid "Change Number of Bars"
msgstr ""

#: src/shortcuts_dialog.ui:68
msgid "Toggle Channels"
msgstr ""

#: src/shortcuts_dialog.ui:74
msgid "Toggle Reverse Order"
msgstr ""

#: src/shortcuts_dialog.ui:85
msgid "Change Colors Profile"
msgstr "Mudar Cores do perfil"

#: src/shortcuts_dialog.ui:91
msgid "Toggle Widgets Style"
msgstr ""

Weird peaks behavior at maximum smooth/Странное поведение пик при максимальном сглаживании

OS: Ubuntu 22.04
Audio: Pipewire 0.3.66
Package: Flatpak

EN:
When I set smoothing to 1, peaks began to behave strangely. It's like they're glued to the top of the window. This works with every type of music, application, volume level and etc.

RU:
Когда я в программе установил значение сглаживания на единицу, пики начали вести себя очень странно. Они словно приклеились к верхней части окна. Это происходит независимо от программы, стиля музыки, громкости и т.д.

2023-04-10.22-47-50.mp4

More drawing modes!

I don't know if this is possible, but it would be cool to have more drawing modes, like a vibrating line (similar to this) or circle (similar to this).

app starting errors after update gtk4 pkg to vers 4.10 on archlinux

not sure about the main cause but on archlinux after recent GTK4 package update from vers. 4.8.3 to 4.10.0, the app (compiled from git with AUR pkgbuild), doesn't run correctly:

starting app from console following error appears:

$cavalier 
Traceback (most recent call last):
  File "/usr/share/cavalier/cavalier/main.py", line 68, in do_activate
    self.win = CavalierWindow(application=self)
  File "/usr/share/cavalier/cavalier/window.py", line 47, in __init__
    self.build_ui()
  File "/usr/share/cavalier/cavalier/window.py", line 64, in build_ui
    self.apply_colors()
  File "/usr/share/cavalier/cavalier/window.py", line 141, in apply_colors
    self.css_provider.load_from_data(self.css_data)
TypeError: Gtk.CssProvider.load_from_data() takes exactly 3 arguments (2 given)
^C
$

Thanks in advance
Andrea

Export/Render as video

It would be cool if I could import an audio file (say a .ogg or .wav, for example) and have Cavalier render the visualizer as a mp4 or other video file.

Import / Export issue

Hi, trying the app, compiled from git AUR, I noticed an issue with Import/export

  • Import button simply does nothing (no messages starting app from terminal)
  • using Export button this windows appear
    image
    in addition, from terminal this warning appear at the same time :
    $GtkDialog mapped without a transient parent. This is discouraged.

Some further details:

  • Archlinux 64bit
  • Gnome 42.3 on Wayland
  • GTK4 4.8.3
  • libadwaita 1.2.1

Regards
Andrea

Window buttons/header bar

It would be nice to have the Close/Maximize buttons in a header bar at the top of the window. That makes it much easier to perform those actions. The visualization looks nicer without the header bar though, so you could do it the way Apostrophe does and make the header bar disappear when the cursor is inactive.

Increase max line thickness

In the next-branch, the line thickness of Line mode can be set to a maximum of 30 pixels. I've been experimenting a bit, and in maximized window state, 40 pixels still looks good, and 50 looks acceptable. I'm wondering if we should set the max line thickness to 50 px instead of 30, or leave it as is.

Kooha-2023-01-29-11-08-22.trimmed.webm

Change orientation of bars

Possible values:

  • Bottom -> Top (default)
  • Top -> Bottom
  • Left -> Right
  • Right -> Left

This setting will not affect circle modes. But it will affect mirror (#15), so the mirror itself will only have on and off state and its behavior will be controlled by this setting.

Opinion - demo image is better logo than current logo

I would argue that the following image (with the menu removed) would make for a better logo of the app than the current one. If it feels too busy in smaller size, the same idea could be used in a reduced form
logo

IMO it should be replaced

Reverse the default order of bars

Right now, in stereo channel, the middle bars are the bars, the outer bars are the highs.
In mono channel, the bars to the left are bass, the ones to the right are highs.

It should be the other way around by default, especially considering the recently added Spine mode.

Disable window shadow

Can be used for aesthetical purposes.
Also disabling window shadow and making background completely transparent can make Cavalier a good option to use it as desktop widget (it depends on user's compositor and requires additional configuration, not possible in GNOME Wayland).

Merge Line & Wave into one

I'm working on an option to fill in items or not, and I noticed we could implement that for Line & Wave too, so there would only be Wave mode, and if you turn off filling in items, it turns into Line. @fsobolev what do you think of this idea?

Feedback on settings export

There's no way to see if exporting the settings finished correctly. There should be a toast notification or something.

Automatic Sensitivity Increase

When Automatic sensitivity is on, sensitivity can decrease when audio is peaking but doesn't automatically lower when audio volume is reduced for an extended period of time.
This causes problems when changing to tracks or applications which are quieter, and it becomes a pain to get the sensitivity correct.

Mirror

A new "Mirror" setting that can be in one of 3 states:

  • "Off"
  • "Vertical", in this state the drawing area will be split in half vertically, the upper part will contain bars for left channel, the bottom part will contain bars for right channel (similar to cli-visualizer), or if channels are set to mono the bottom part will be an exact mirror of the upper part.
  • "Horizontal", same as previous, but the drawing area will be split horizontally.

This setting will have no effect for the Circle drawing mode (planned for the same release).

Elements get squished in streched window

Kooha-2023-01-30-11-00-07.webm

In Particles and Levels mode, the elements get thinner the wider the window is. After a certain point in wideness, they start reappearing.

Option to have it as a desktop 'widget'

It would be amazing if there was a way to have this show only on the desktop w/ it running on startup, especially if there are going to be more customization options / waves in the future

Ability to change Drawing mode / Preset by keyboard shortcuts

Hey, great app and smooth rendering!

I'd like to be able to swap the drawing mode using shortcut without going to preferences, perhaps with L/R arrow keys.
Might make sense to also have shortcuts for other things - like moving the color hue +/- etc.

Doesn't change drawing modes sometimes

The drawing mode only changes if you select the list items themselves, not if you click on the checkbutton. I got confused when I pressed the checkbutton and the drawing mode didn't change.

Add background image

A new page in preferences window will be added where it will be possible to upload an image, set its scale relative to window size (position will always be centered), and optionally bind image scaling factor to one of bars to get an effect similar to the one shown here.
It will be possible to select multiple images and switch between them similar to color profiles.
An image will always be rendered behind bars.

Save/Import settings

Cavalier should have the ability to save the configuration to a file and use this file to import settings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.