1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/assets/graphics/misc
Emmanouil Papadeas 18e9e2ec56
Implement audio layers (#1149)
* Initial work on audio layers

* Load ogg audio files

* Fix playback position

* Support mp3 files

* Play audio at the appropriate position when the animation runs, and stop when the pause button is pressed

* Change audio cel textures for the cels where audio is playing

* Fix audio not playing at the appropriate position

* Don't play audio is layer is invisible

* Set the audio layer names to be the imported audio file names

* Import audio from videos

* Export videos with audio

Only works with mp3 for now

* Remove support for ogg audio files as they cannot be saved

At least until I find a way to save them. Wav files will be supported with Godot 4.4

* Fix adding/removing in-between frames breaking the visual indication of audio cels

* Minor code improvements

* Export audio in videos with custom delay

* Support frame delay

* Change the frame where the audio plays at

* Fix crashes when the audio layer has no track

* Remove unneeded cel properties for audio cels

* Pxo loading/saving

* Load audio files from the audio layer properties

* Change the audio driver to Dummy from the Preferences for performance reasons

* Clone audio layers, disable layer merge and FX buttons when an audio layer is selected

* Easily change the playback frame of an audio layer from the right click menu of cel buttons

* Update Translations.pot

* Some code improvements and documentation

* Stop audio from playing when looping, and the audio does not play at the first frame

* Update audio cel buttons when changing the audio of the layer

* Mute audio layer when hiding it mid-play

* Only plays the portion of the sound that corresponds to the specific frame so maybe we should do that as well

When the animation is not running. If it is running, play the sound properly.

* Some code changes to allow for potential negative frames placement for audio

This woud allow audio to be placed in negative frames, which essentially means that audio would start before the first frame. This is not yet supported, however, because I don't know how to make it work with FFMPEG.
2024-12-14 00:30:04 +02:00
..
alpha_lock_off.png Implement alpha lock as a global tool option 2024-03-09 02:47:13 +02:00
alpha_lock_off.png.import Implement alpha lock as a global tool option 2024-03-09 02:47:13 +02:00
alpha_lock_on.png Implement alpha lock as a global tool option 2024-03-09 02:47:13 +02:00
alpha_lock_on.png.import Implement alpha lock as a global tool option 2024-03-09 02:47:13 +02:00
animate.png [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
animate.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
check.png Some improvements to the dynamics (#826) 2023-02-20 21:51:26 +02:00
check.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
check_plain.png Add UI buttons for confirming and cancelling a transformation 2024-10-31 23:49:58 +02:00
check_plain.png.import Add UI buttons for confirming and cancelling a transformation 2024-10-31 23:49:58 +02:00
checkbox_unpressed.png Change the unpressed textures for checkbox & radio buttons to be like they used to in Godot 3.x 2023-12-07 00:21:39 +02:00
checkbox_unpressed.png.import Change the unpressed textures for checkbox & radio buttons to be like they used to in Godot 3.x 2023-12-07 00:21:39 +02:00
close.png Add UI buttons for confirming and cancelling a transformation 2024-10-31 23:49:58 +02:00
close.png.import Add UI buttons for confirming and cancelling a transformation 2024-10-31 23:49:58 +02:00
close.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
close.svg.import Implement layer effects (#940) 2023-11-22 01:06:25 +02:00
color_switch.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
color_switch.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
dynamics.png Some improvements to the dynamics (#826) 2023-02-20 21:51:26 +02:00
dynamics.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
external_link.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
external_link.svg.import Add icons to some Help menu items, add a new "Support Pixelorama's Development" item and remove "Donate" from the About dialog 2024-01-10 00:30:27 +02:00
heart.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
heart.svg.import Add icons to some Help menu items, add a new "Support Pixelorama's Development" item and remove "Donate" from the About dialog 2024-01-10 00:30:27 +02:00
horizontal_mirror_off.png Change global tool option textures 2022-04-01 13:45:24 +03:00
horizontal_mirror_off.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
horizontal_mirror_on.png Change global tool option textures 2022-04-01 13:45:24 +03:00
horizontal_mirror_on.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
icon_reload.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
icon_reload.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
landscape.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
landscape.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
lock_aspect.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
lock_aspect.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
lock_aspect_2.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
lock_aspect_2.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
lock_aspect_guides.png Disable ValueSliderV2's ratio button when set to not editable 2023-03-20 01:59:15 +02:00
lock_aspect_guides.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
locked_size.png Crop Tool (#830) 2023-03-16 19:50:45 +02:00
locked_size.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
mirror_x.svg Implement tilemap layers (#1146) 2024-12-05 03:57:44 +02:00
mirror_x.svg.import Implement tilemap layers (#1146) 2024-12-05 03:57:44 +02:00
mirror_y.svg Implement tilemap layers (#1146) 2024-12-05 03:57:44 +02:00
mirror_y.svg.import Implement tilemap layers (#1146) 2024-12-05 03:57:44 +02:00
move_down_arrow.svg Implement layer effects (#940) 2023-11-22 01:06:25 +02:00
move_down_arrow.svg.import Implement layer effects (#940) 2023-11-22 01:06:25 +02:00
move_up_arrow.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
move_up_arrow.svg.import Implement layer effects (#940) 2023-11-22 01:06:25 +02:00
musical_note.png Implement audio layers (#1149) 2024-12-14 00:30:04 +02:00
musical_note.png.import Implement audio layers (#1149) 2024-12-14 00:30:04 +02:00
pixel_perfect_off.png Change global tool option textures 2022-04-01 13:45:24 +03:00
pixel_perfect_off.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
pixel_perfect_on.png Change global tool option textures 2022-04-01 13:45:24 +03:00
pixel_perfect_on.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
portrait.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
portrait.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
radio_unpressed.png Change the unpressed textures for checkbox & radio buttons to be like they used to in Godot 3.x 2023-12-07 00:21:39 +02:00
radio_unpressed.png.import Change the unpressed textures for checkbox & radio buttons to be like they used to in Godot 3.x 2023-12-07 00:21:39 +02:00
uncheck.png Further improvements to Dynamics (#828) 2023-02-28 17:07:48 +02:00
uncheck.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
unlocked_size.png Crop Tool (#830) 2023-03-16 19:50:45 +02:00
unlocked_size.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
value_arrow.svg [ImgBot] Optimize images (#827) 2023-02-21 02:24:31 +02:00
value_arrow.svg.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
value_arrow_hover.svg [ImgBot] Optimize images (#827) 2023-02-21 02:24:31 +02:00
value_arrow_hover.svg.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
value_arrow_press.svg [ImgBot] Optimize images (#827) 2023-02-21 02:24:31 +02:00
value_arrow_press.svg.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
value_arrow_right.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
value_arrow_right.svg.import Change the color picker panel's expand button to be bigger and have text 2024-05-08 16:32:51 +03:00
value_arrow_up.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
value_arrow_up.svg.import Make the color picker be always visible in the UI instead of a popup (#953) 2023-12-05 00:10:42 +02:00
value_slider.png Add a custom ValueSlider node made by @mrtripie 2022-09-30 00:07:56 +03:00
value_slider.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
vertical_mirror_off.png Change global tool option textures 2022-04-01 13:45:24 +03:00
vertical_mirror_off.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
vertical_mirror_on.png Change global tool option textures 2022-04-01 13:45:24 +03:00
vertical_mirror_on.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
x_minus_y_mirror_off.png Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00
x_minus_y_mirror_off.png.import Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00
x_minus_y_mirror_on.png Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00
x_minus_y_mirror_on.png.import Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00
xy_mirror_off.png Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00
xy_mirror_off.png.import Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00
xy_mirror_on.png Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00
xy_mirror_on.png.import Add backend for diagonal mirror buttons 2024-11-21 12:48:52 +02:00