Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from lukewys/main
Browse files Browse the repository at this point in the history
Fix bug in command-line synthesis and bump the version.
  • Loading branch information
lukewys authored Dec 29, 2021
2 parents aafba78 + c893019 commit 7e8e8dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions midi_ddsp/midi_ddsp_synthesize.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def synthesize_midi(synthesis_generator, expression_generator, midi_file,
'part_synth_by_model': list of part numbers that are synthesized
by MIDI-DDSP,
'midi_control_params': control parameters generated by MIDI-DDSP,
'midi_synth_params': synth parameters generated by MIDI-DDSP,,
'midi_synth_params': synth parameters generated by MIDI-DDSP,
'conditioning_df': note expressions predicted by expression generator
in the format of DataFrame,
"""
Expand Down Expand Up @@ -275,7 +275,8 @@ def main():
output_dir=output_dir,
sf2_path=args.sf2_path,
use_fluidsynth=args.use_fluidsynth,
display_progressbar=False
display_progressbar=False,
skip_existing_files=args.skip_existing_files
)
elif args.midi_path:
synthesize_midi(
Expand All @@ -287,7 +288,8 @@ def main():
output_dir=output_dir,
sf2_path=args.sf2_path,
use_fluidsynth=args.use_fluidsynth,
display_progressbar=True
display_progressbar=True,
skip_existing_files=args.skip_existing_files
)


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name='midi-ddsp',
version='0.1.2',
version='0.1.3',
description='Synthesis of MIDI with DDSP',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 7e8e8dc

Please sign in to comment.