[Csnd] midi to score webapp

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] midi to score webapp

hlolli
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

Michael Gogins-2
Could you change the order to p4 MIDI key and p5 MIDI velocity to be
compatible with my software and with my examples in the documentation?
Or, at least, provide an option to set the order of pfields?

Thanks for this work,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
>
> Dear csounders,
>
> I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
> Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

hlolli
Hi Michel, and anyone who reads this, I got some feedback of some bugs, which I'll fix quickly. The choosing of which p-field goes where, and be able to choose for example herz instead of midinn (and instrument name and different absolute tempo) is what I'll add later, (I PROMISE :) ).

thanks for the feedback!

On Tue, 13 Nov 2018 at 15:26, Michael Gogins <[hidden email]> wrote:
Could you change the order to p4 MIDI key and p5 MIDI velocity to be
compatible with my software and with my examples in the documentation?
Or, at least, provide an option to set the order of pfields?

Thanks for this work,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
>
> Dear csounders,
>
> I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
> Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

hlolli
I made some bugfixes, the p2 and p3 values should make sense now, and midi standard 1.0 is now supported (as of now it won't show the same amount of commented metadata like midi 2.0).

Also added a clear button by request, but the idea is that you can load many midi files and route the p1 fields etc in the coming future, therefore opening multiple files causes them to stack up together.

On Tue, 13 Nov 2018 at 15:35, Hlöðver Sigurðsson <[hidden email]> wrote:
Hi Michel, and anyone who reads this, I got some feedback of some bugs, which I'll fix quickly. The choosing of which p-field goes where, and be able to choose for example herz instead of midinn (and instrument name and different absolute tempo) is what I'll add later, (I PROMISE :) ).

thanks for the feedback!

On Tue, 13 Nov 2018 at 15:26, Michael Gogins <[hidden email]> wrote:
Could you change the order to p4 MIDI key and p5 MIDI velocity to be
compatible with my software and with my examples in the documentation?
Or, at least, provide an option to set the order of pfields?

Thanks for this work,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
>
> Dear csounders,
>
> I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
> Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

Doctor B
In reply to this post by hlolli
Hlöðver,

Thanks so much for writing and sharing this utility.  It is extremely useful and I look forward to sharing it with my students next week when I introduce Csound and MIDI in class!
So happy that I found it when I did and wanted to thank you.  A couple of suggestions:

1. When you open a multi-channel MIDI file, it does separate the channels and indicates the MIDI instrument on a new channel with a comment naming the instrument;
BUT, it writes "note statements" for ALL instruments playing as "i 1"

;; channel: 4 (French Horn)
3823

3824

i 1 14.220765 0.06493500000000019 49 67

3825

i 1 14.41557 0.06493500000000019 45 67

3826

i


Might it not be more appropriate to number instruments by their MIDI channel - MIDI channel 4 instrument is assigned to "i 4" by default?

Also, some header defining the p-fields would be nice (it is a little confusing about how you are mapping p4 and p5 at first glance.

Finally, and this is a small point, but MIDI is an acronym and should be all CAPS

These few tweaks would be nice, but as it stands it's already very very useful and helpful - thanks again.

Dr.B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

hlolli
Hi Dr.B,

thanks for your comments, and the honor is mine if you're using it in classes :)

I'm working on improvements as we speak, I'll let you know when you can test again!

Best,
Hlöðver

On Mon, 25 Feb 2019 at 13:28, Dr. Richard Boulanger <[hidden email]> wrote:
Hlöðver,

Thanks so much for writing and sharing this utility.  It is extremely useful and I look forward to sharing it with my students next week when I introduce Csound and MIDI in class!
So happy that I found it when I did and wanted to thank you.  A couple of suggestions:

1. When you open a multi-channel MIDI file, it does separate the channels and indicates the MIDI instrument on a new channel with a comment naming the instrument;
BUT, it writes "note statements" for ALL instruments playing as "i 1"

;; channel: 4 (French Horn)
3823

3824

i 1 14.220765 0.06493500000000019 49 67

3825

i 1 14.41557 0.06493500000000019 45 67

3826

i


Might it not be more appropriate to number instruments by their MIDI channel - MIDI channel 4 instrument is assigned to "i 4" by default?

Also, some header defining the p-fields would be nice (it is a little confusing about how you are mapping p4 and p5 at first glance.

Finally, and this is a small point, but MIDI is an acronym and should be all CAPS

These few tweaks would be nice, but as it stands it's already very very useful and helpful - thanks again.

Dr.B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

hlolli
Hi again Db,

can you look at the https://csound.com/midi2sco/ and test the changes I made? 

And Mike, you asked for the possibility to have midinn in p4 and velocity in p5, now it should be possible.

The tempo setter is maybe misleading, it's just a multiplication factor over the bpm.

For the optional p6 fields, I didn't implement it now, I can, but I can also recommend using emacs where one can do rectangle edit, or use excel spreadsheets :)

hope this helps the students!

Cheers,
Hlödver

On Mon, 25 Feb 2019 at 22:51, Hlöðver Sigurðsson <[hidden email]> wrote:
Hi Dr.B,

thanks for your comments, and the honor is mine if you're using it in classes :)

I'm working on improvements as we speak, I'll let you know when you can test again!

Best,
Hlöðver

On Mon, 25 Feb 2019 at 13:28, Dr. Richard Boulanger <[hidden email]> wrote:
Hlöðver,

Thanks so much for writing and sharing this utility.  It is extremely useful and I look forward to sharing it with my students next week when I introduce Csound and MIDI in class!
So happy that I found it when I did and wanted to thank you.  A couple of suggestions:

1. When you open a multi-channel MIDI file, it does separate the channels and indicates the MIDI instrument on a new channel with a comment naming the instrument;
BUT, it writes "note statements" for ALL instruments playing as "i 1"

;; channel: 4 (French Horn)
3823

3824

i 1 14.220765 0.06493500000000019 49 67

3825

i 1 14.41557 0.06493500000000019 45 67

3826

i


Might it not be more appropriate to number instruments by their MIDI channel - MIDI channel 4 instrument is assigned to "i 4" by default?

Also, some header defining the p-fields would be nice (it is a little confusing about how you are mapping p4 and p5 at first glance.

Finally, and this is a small point, but MIDI is an acronym and should be all CAPS

These few tweaks would be nice, but as it stands it's already very very useful and helpful - thanks again.

Dr.B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

Doctor B
Dear Hlöðver,

WOW.  Super great.  Love all the additions.  The tempo.  The mapping.  The channelization.  The customization.
This will be a huge help to all my students (and to me too!)  I will be sharing it with them in class this coming Tuesday.
They will love it.  As do I !!!!  Thanks for writing it and for the improvements.

Best,

Dr. B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Thu, Feb 28, 2019 at 12:34 PM Hlöðver Sigurðsson <[hidden email]> wrote:
Hi again Db,

can you look at the https://csound.com/midi2sco/ and test the changes I made? 

And Mike, you asked for the possibility to have midinn in p4 and velocity in p5, now it should be possible.

The tempo setter is maybe misleading, it's just a multiplication factor over the bpm.

For the optional p6 fields, I didn't implement it now, I can, but I can also recommend using emacs where one can do rectangle edit, or use excel spreadsheets :)

hope this helps the students!

Cheers,
Hlödver

On Mon, 25 Feb 2019 at 22:51, Hlöðver Sigurðsson <[hidden email]> wrote:
Hi Dr.B,

thanks for your comments, and the honor is mine if you're using it in classes :)

I'm working on improvements as we speak, I'll let you know when you can test again!

Best,
Hlöðver

On Mon, 25 Feb 2019 at 13:28, Dr. Richard Boulanger <[hidden email]> wrote:
Hlöðver,

Thanks so much for writing and sharing this utility.  It is extremely useful and I look forward to sharing it with my students next week when I introduce Csound and MIDI in class!
So happy that I found it when I did and wanted to thank you.  A couple of suggestions:

1. When you open a multi-channel MIDI file, it does separate the channels and indicates the MIDI instrument on a new channel with a comment naming the instrument;
BUT, it writes "note statements" for ALL instruments playing as "i 1"

;; channel: 4 (French Horn)
3823

3824

i 1 14.220765 0.06493500000000019 49 67

3825

i 1 14.41557 0.06493500000000019 45 67

3826

i


Might it not be more appropriate to number instruments by their MIDI channel - MIDI channel 4 instrument is assigned to "i 4" by default?

Also, some header defining the p-fields would be nice (it is a little confusing about how you are mapping p4 and p5 at first glance.

Finally, and this is a small point, but MIDI is an acronym and should be all CAPS

These few tweaks would be nice, but as it stands it's already very very useful and helpful - thanks again.

Dr.B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

Doctor B
Dear Hlöðver,

The other think is.... You need to put your name on the page and links to your site, your music, your git, your soundCloud, etc.
- My student will want to know more about you and your work with Csound - which is inspiring too!

Best,

-dB


_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Thu, Feb 28, 2019 at 1:28 PM Dr. Richard Boulanger <[hidden email]> wrote:
Dear Hlöðver,

WOW.  Super great.  Love all the additions.  The tempo.  The mapping.  The channelization.  The customization.
This will be a huge help to all my students (and to me too!)  I will be sharing it with them in class this coming Tuesday.
They will love it.  As do I !!!!  Thanks for writing it and for the improvements.

Best,

Dr. B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Thu, Feb 28, 2019 at 12:34 PM Hlöðver Sigurðsson <[hidden email]> wrote:
Hi again Db,

can you look at the https://csound.com/midi2sco/ and test the changes I made? 

And Mike, you asked for the possibility to have midinn in p4 and velocity in p5, now it should be possible.

The tempo setter is maybe misleading, it's just a multiplication factor over the bpm.

For the optional p6 fields, I didn't implement it now, I can, but I can also recommend using emacs where one can do rectangle edit, or use excel spreadsheets :)

hope this helps the students!

Cheers,
Hlödver

On Mon, 25 Feb 2019 at 22:51, Hlöðver Sigurðsson <[hidden email]> wrote:
Hi Dr.B,

thanks for your comments, and the honor is mine if you're using it in classes :)

I'm working on improvements as we speak, I'll let you know when you can test again!

Best,
Hlöðver

On Mon, 25 Feb 2019 at 13:28, Dr. Richard Boulanger <[hidden email]> wrote:
Hlöðver,

Thanks so much for writing and sharing this utility.  It is extremely useful and I look forward to sharing it with my students next week when I introduce Csound and MIDI in class!
So happy that I found it when I did and wanted to thank you.  A couple of suggestions:

1. When you open a multi-channel MIDI file, it does separate the channels and indicates the MIDI instrument on a new channel with a comment naming the instrument;
BUT, it writes "note statements" for ALL instruments playing as "i 1"

;; channel: 4 (French Horn)
3823

3824

i 1 14.220765 0.06493500000000019 49 67

3825

i 1 14.41557 0.06493500000000019 45 67

3826

i


Might it not be more appropriate to number instruments by their MIDI channel - MIDI channel 4 instrument is assigned to "i 4" by default?

Also, some header defining the p-fields would be nice (it is a little confusing about how you are mapping p4 and p5 at first glance.

Finally, and this is a small point, but MIDI is an acronym and should be all CAPS

These few tweaks would be nice, but as it stands it's already very very useful and helpful - thanks again.

Dr.B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

Michael Gogins-2
In reply to this post by hlolli
Thanks!

Mike

On Fri, Mar 1, 2019, 06:34 Hlöðver Sigurðsson <[hidden email]> wrote:
Hi again Db,

can you look at the https://csound.com/midi2sco/ and test the changes I made? 

And Mike, you asked for the possibility to have midinn in p4 and velocity in p5, now it should be possible.

The tempo setter is maybe misleading, it's just a multiplication factor over the bpm.

For the optional p6 fields, I didn't implement it now, I can, but I can also recommend using emacs where one can do rectangle edit, or use excel spreadsheets :)

hope this helps the students!

Cheers,
Hlödver

On Mon, 25 Feb 2019 at 22:51, Hlöðver Sigurðsson <[hidden email]> wrote:
Hi Dr.B,

thanks for your comments, and the honor is mine if you're using it in classes :)

I'm working on improvements as we speak, I'll let you know when you can test again!

Best,
Hlöðver

On Mon, 25 Feb 2019 at 13:28, Dr. Richard Boulanger <[hidden email]> wrote:
Hlöðver,

Thanks so much for writing and sharing this utility.  It is extremely useful and I look forward to sharing it with my students next week when I introduce Csound and MIDI in class!
So happy that I found it when I did and wanted to thank you.  A couple of suggestions:

1. When you open a multi-channel MIDI file, it does separate the channels and indicates the MIDI instrument on a new channel with a comment naming the instrument;
BUT, it writes "note statements" for ALL instruments playing as "i 1"

;; channel: 4 (French Horn)
3823

3824

i 1 14.220765 0.06493500000000019 49 67

3825

i 1 14.41557 0.06493500000000019 45 67

3826

i


Might it not be more appropriate to number instruments by their MIDI channel - MIDI channel 4 instrument is assigned to "i 4" by default?

Also, some header defining the p-fields would be nice (it is a little confusing about how you are mapping p4 and p5 at first glance.

Finally, and this is a small point, but MIDI is an acronym and should be all CAPS

These few tweaks would be nice, but as it stands it's already very very useful and helpful - thanks again.

Dr.B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] midi to score webapp

hlolli
Thanks Db, I will add some credit to myself soon :)

On Thu, 28 Feb 2019 at 21:00, Michael Gogins <[hidden email]> wrote:
Thanks!

Mike

On Fri, Mar 1, 2019, 06:34 Hlöðver Sigurðsson <[hidden email]> wrote:
Hi again Db,

can you look at the https://csound.com/midi2sco/ and test the changes I made? 

And Mike, you asked for the possibility to have midinn in p4 and velocity in p5, now it should be possible.

The tempo setter is maybe misleading, it's just a multiplication factor over the bpm.

For the optional p6 fields, I didn't implement it now, I can, but I can also recommend using emacs where one can do rectangle edit, or use excel spreadsheets :)

hope this helps the students!

Cheers,
Hlödver

On Mon, 25 Feb 2019 at 22:51, Hlöðver Sigurðsson <[hidden email]> wrote:
Hi Dr.B,

thanks for your comments, and the honor is mine if you're using it in classes :)

I'm working on improvements as we speak, I'll let you know when you can test again!

Best,
Hlöðver

On Mon, 25 Feb 2019 at 13:28, Dr. Richard Boulanger <[hidden email]> wrote:
Hlöðver,

Thanks so much for writing and sharing this utility.  It is extremely useful and I look forward to sharing it with my students next week when I introduce Csound and MIDI in class!
So happy that I found it when I did and wanted to thank you.  A couple of suggestions:

1. When you open a multi-channel MIDI file, it does separate the channels and indicates the MIDI instrument on a new channel with a comment naming the instrument;
BUT, it writes "note statements" for ALL instruments playing as "i 1"

;; channel: 4 (French Horn)
3823

3824

i 1 14.220765 0.06493500000000019 49 67

3825

i 1 14.41557 0.06493500000000019 45 67

3826

i


Might it not be more appropriate to number instruments by their MIDI channel - MIDI channel 4 instrument is assigned to "i 4" by default?

Also, some header defining the p-fields would be nice (it is a little confusing about how you are mapping p4 and p5 at first glance.

Finally, and this is a small point, but MIDI is an acronym and should be all CAPS

These few tweaks would be nice, but as it stands it's already very very useful and helpful - thanks again.

Dr.B.
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
OFFICE: 1126 Boylston St., Suite 201 (EPD), Suite 208 (Boulanger)
______________________________________________
______________________________________________
email: [hidden email]
facebook: https://www.facebook.com/richard.boulanger.58



On Tue, Nov 13, 2018 at 9:06 AM Hlöðver Sigurðsson <[hidden email]> wrote:
Dear csounders,

I started recently working on https://csound.com/midi2sco/ this webapp. All it does now is take midi files and spit out (instantly) csound score, with p4 as the velocity and p5 as midi note value. In december/january I plan to extend it to customize the output a bit. But for now, it may potentially be useful for some. This is based on nodejs command line app I did and when that gets released, I'll be sure to remember to notify on this list.
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here