1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-07 10:59:49 +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
alpha_lock_off.png.import
alpha_lock_on.png
alpha_lock_on.png.import
animate.png [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
animate.png.import
check.png
check.png.import
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
checkbox_unpressed.png.import
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
color_switch.png
color_switch.png.import
dynamics.png
dynamics.png.import
external_link.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
external_link.svg.import
heart.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
heart.svg.import
horizontal_mirror_off.png
horizontal_mirror_off.png.import
horizontal_mirror_on.png
horizontal_mirror_on.png.import
icon_reload.png
icon_reload.png.import
landscape.png
landscape.png.import
lock_aspect.png
lock_aspect.png.import
lock_aspect_2.png
lock_aspect_2.png.import
lock_aspect_guides.png
lock_aspect_guides.png.import
locked_size.png
locked_size.png.import
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
move_down_arrow.svg.import
move_up_arrow.svg [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
move_up_arrow.svg.import
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
pixel_perfect_off.png.import
pixel_perfect_on.png
pixel_perfect_on.png.import
portrait.png
portrait.png.import
radio_unpressed.png
radio_unpressed.png.import
uncheck.png
uncheck.png.import
unlocked_size.png
unlocked_size.png.import
value_arrow.svg
value_arrow.svg.import
value_arrow_hover.svg
value_arrow_hover.svg.import
value_arrow_press.svg
value_arrow_press.svg.import
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
value_slider.png
value_slider.png.import
vertical_mirror_off.png
vertical_mirror_off.png.import
vertical_mirror_on.png
vertical_mirror_on.png.import
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