Skip to content

Commit

Permalink
vfp: lock sample rate to 44100
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Jan 8, 2025
1 parent 4b56be8 commit f98d09b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libresvip/plugins/vfp/vox_factory_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def generate_tracks(
source_audio_data_key = f"{self.prefix}-au{i}{audio_path.suffix}"
self.audio_paths[source_audio_data_key] = audio_path
audio_data_bank[source_audio_data_key] = VOXFactoryAudioData(
sample_rate=track_info.sampling_rate,
sample_length=int(track_info.duration * track_info.sampling_rate / 1000),
sample_rate=44100,
sample_length=int(track_info.duration * 44100 / 1000),
number_of_channels=track_info.channel_s,
)
clip_bank = {
Expand Down

0 comments on commit f98d09b

Please sign in to comment.