Piano to MIDI or Synthesize Piano Roll

78 views
Skip to first unread message

Rafael Valle

unread,
Feb 15, 2017, 12:50:36 AM2/15/17
to comm...@ismir.net, music...@googlegroups.com, Magenta Discuss
Dear lists,

Do you know of any routine to convert from piano roll to MIDI or to synthesize it directly?

Douglas Eck

unread,
Feb 15, 2017, 2:30:07 AM2/15/17
to Rafael Valle, comm...@ismir.net, music...@googlegroups.com, Magenta Discuss
Hi Rafael, 
What do you mean by "piano roll" exactly? There is Magenta code for going to and from piano-roll-like representations to midi and also hooks for synthesis (using mido, pretty-midi, etc). 

On Tue, Feb 14, 2017 at 9:50 PM, Rafael Valle <jrafae...@gmail.com> wrote:
Dear lists,

Do you know of any routine to convert from piano roll to MIDI or to synthesize it directly?

--
Magenta project: magenta.tensorflow.org
To post to this group, send email to magenta...@tensorflow.org
To unsubscribe from this group, send email to magenta-discuss+unsubscribe@tensorflow.org
---
You received this message because you are subscribed to the Google Groups "Magenta Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magenta-discuss+unsubscribe@tensorflow.org.



--
Douglas Eck | Sr. Staff Research Scientist | de...@google.com | 650-336-8433

Rafael Valle

unread,
Feb 15, 2017, 12:33:07 PM2/15/17
to Oriol Nieto, Douglas Eck, comm...@ismir.net, music...@googlegroups.com, Magenta Discuss
Thanks, Ori.
I do know about pretty_midi and it actually has some of my code, however, I don't remember seeing a routine to convert a piano_roll to midi or to synthesize it.
mir_eval has a routine that can synthesize any matrix of shape Timestep by Frequency using a user provided synthesis funcion, e.g. sine.

On Wed, Feb 15, 2017 at 9:27 AM, Oriol Nieto <oriol...@gmail.com> wrote:
Hi Rafael,

I use Colin Raffel's excellent pretty_midi for anything related with MIDI and Python.

Best,
uri

Oriol Nieto | Scientist | Pandora

--
ISMIR 2017 will take place in Suzhou, China, October 23-28, 2017. Website: https://ismir2017.smcnus.org/
--
ISMIR 2018 will take place in Paris, France.
ISMIR 2019 will take place in Delft, The Netherlands.
ISMIR Home -- http://www.ismir.net/
---
You received this message because you are subscribed to the Google Groups "Community Announcements" group.
To unsubscribe from this group and stop receiving emails from it, send an email to community+...@ismir.net.
To post to this group, send email to comm...@ismir.net.
Visit this group at https://groups.google.com/a/ismir.net/group/community/.
To view this discussion on the web visit https://groups.google.com/a/ismir.net/d/msgid/community/CAGjFxY5bUcUw2t5mcs5b7UdF%2BGRQQdjE4Y5qJ3CCQ4%3DF9W86fw%40mail.gmail.com.


Rafael Valle

unread,
Feb 15, 2017, 12:59:02 PM2/15/17
to Oriol Nieto, Douglas Eck, comm...@ismir.net, music...@googlegroups.com, Magenta Discuss
Exactly, I'm asking around before digging in!


On Wed, Feb 15, 2017 at 9:57 AM, Oriol Nieto <oriol...@gmail.com> wrote:
Cool! Maybe it would be a good idea to include such function in pretty_midi? I much prefer fluidsynth (included in pretty_midi) than 2\pi-periodic functions when synthesizing piano.

Best,
uri

Oriol Nieto | Scientist | Pandora

Reply all
Reply to author
Forward
0 new messages