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
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
..
gizmos [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
icons [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
layers Update clipping_mask.png 2024-05-23 02:57:11 +03:00
misc Implement audio layers (#1149) 2024-12-14 00:30:04 +02:00
palette Implements palette sorting 2023-12-23 19:00:24 +02:00
recorder fixed recorder label not updating when project is changed (#1139) 2024-11-24 14:37:02 +02:00
reference_images Further Reference UI Improvements (#974) 2024-02-14 19:53:35 +02:00
splash_screen [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
tileset QOL improvements to the tileset panel (#1148) 2024-12-13 21:30:03 +02:00
timeline Remove frame tag button & make onion skinning settings into general timeline settings 2024-05-08 01:09:20 +03:00
tools Add a text tool (#1134) 2024-11-19 01:20:34 +02:00
circle_9x9.png Asset renaming (#225) 2020-05-05 03:53:58 +03:00
circle_9x9.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
circle_filled_9x9.png Asset renaming (#225) 2020-05-05 03:53:58 +03:00
circle_filled_9x9.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
cursor.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
cursor.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
dotted_line.png Fixed zoom issues with SymmetryGuide 2020-09-08 00:12:09 +03:00
dotted_line.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
pixel_image.png Asset renaming (#225) 2020-05-05 03:53:58 +03:00
pixel_image.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00
splash.png [ImgBot] Optimize images (#1042) 2024-07-26 17:01:04 +03:00
splash.png.import Port to Godot 4 (#900) 2023-09-04 16:29:06 +03:00