lrenault / ddsp-piano Goto Github PK
View Code? Open in Web Editor NEWMIDI Piano synthesizer using DDSP.
License: Apache License 2.0
MIDI Piano synthesizer using DDSP.
License: Apache License 2.0
Thank you for your research and sharing. I tried with the main repo and there was no problem, but when I tried with the dev repo I got the error: ModuleNotFoundError: No module named 'priv_ddfx'
I think your repo is missing module priv_ddfx.py?
Thanks for sharing your codes and models! I tried to run 'synthesize_midi_file.py' as you said, but encountered the below error:
(ddsp_test) F:\code\ddsp-piano-dev>python synthesize_midi_file.py "test01.mid" "test01.wav"
Loading midi file...
Traceback (most recent call last):
File "synthesize_midi_file.py", line 63, in
main(process_args())
File "synthesize_midi_file.py", line 32, in main
inputs = load_midi_as_conditioning(args.midi_file, duration=args.duration)
File "F:\code\ddsp-piano-dev\ddsp_piano\utils\io_utils.py", line 102, in load_midi_as_conditioning
conditioning = ensure_sequence_length(conditioning, target_n_frames)
File "F:\code\ddsp-piano-dev\ddsp_piano\utils\io_utils.py", line 61, in ensure_sequence_length
return np.pad(sequence, pad_width=pad_width)
File "<array_function internals>", line 6, in pad
File "F:\Envs\ddsp_test\lib\site-packages\numpy\lib\arraypad.py", line 743, in pad
pad_width = _as_pairs(pad_width, array.ndim, as_index=True)
File "F:\Envs\ddsp_test\lib\site-packages\numpy\lib\arraypad.py", line 518, in _as_pairs
return np.broadcast_to(x, (ndim, 2)).tolist()
File "<array_function internals>", line 6, in broadcast_to
File "F:\Envs\ddsp_test\lib\site-packages\numpy\lib\stride_tricks.py", line 411, in broadcast_to
return _broadcast_to(array, shape, subok=subok, readonly=True)
File "F:\Envs\ddsp_test\lib\site-packages\numpy\lib\stride_tricks.py", line 350, in _broadcast_to
op_flags=['readonly'], itershape=shape, order='C')
ValueError: operands could not be broadcast together with remapped shapes [original->remapped]: (6,) and requested shape (3,2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.