Implement BPM support
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
This commit is contained in:
@ -170,7 +170,7 @@ protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
Ref<VideoStreamPlayback> instance_playback() override {
|
||||
Ref<VideoStreamPlayback> instantiate_playback() override {
|
||||
Ref<VideoStreamPlaybackTheora> pb = memnew(VideoStreamPlaybackTheora);
|
||||
pb->set_audio_track(audio_track);
|
||||
pb->set_file(file);
|
||||
|
||||
Reference in New Issue
Block a user