Create CSV file with durations and notes?

Questions and help about Compose!

Moderator: arnold

Create CSV file with durations and notes?

Postby PDN777 » 16 Mar 2015, 17:24

Hi,

So far, I've figured out that integer 60 is midi value C3. Good start, eh? :-)

What I want to do is create two columns of numbers -- the first column
would be read as MIDI note values, and the second as note duration. I've read
that you base note duration on 32nd notes.

So a sample of data would be:

60 4
62 8

This should yield (in a midi file)
C3 with 8th note duration;
D3 with qtr note duration.

I assume it would be:
C3 1/1/000 240
D3 1/1/240 480

Correct?

So the first question is, can I create a CSV file to be read in by Compose!
so that a vector is created? Then I could save it as a MIDI file, and load
the MIDI file into my sequencer.... How would I format the CSV file?

I tried using the duration aspect editor on several of the existing 3D
vectors (Lorenz, etc), and it always says "no vector assigned" and
greys out the X, Y, and Z. Why can't I assign a dimension to duration?

The third question is trickier -- once I get the above going, I'll ask more!

Thanks in advance,

--Prahas
PDN777
 
Posts: 7
Joined: 16 Jun 2012, 15:09

Re: Create CSV file with durations and notes?

Postby PDN777 » 16 Mar 2015, 18:40

Hi -- never mind.... I found a more direct solution for my issue:

http://www.fourmilab.ch/webtools/midicsv/

Thanks for your super program!

--Prahas
PDN777
 
Posts: 7
Joined: 16 Jun 2012, 15:09

Re: Create CSV file with durations and notes?

Postby admin » 16 Mar 2015, 21:17

Hi Prahas,

You made a good start ;-)

> What I want to do is create two columns of numbers -- the first column
> would be read as MIDI note values, and the second as note duration. I've read
> that you base note duration on 32nd notes.

Correct

> So the first question is, can I create a CSV file to be read in by Compose!
> so that a vector is created? Then I could save it as a MIDI file, and load
> the MIDI file into my sequencer.... How would I format the CSV file?

A CSV file is supposed to be a matrix with the columns presenting a vector. Each row mustr be on a line, with numbers separated by spaces. A dialog is presented with the columns found and you may select the vectors you need. A vector is one-dimensional. Keep in mind that you assemble the pitch and duration aspects on the clip. Do not try to create a vector from CSV with more than one dimension.

As a matter of fact I am overhauling the CSV aspect of Compose! by request of another user. If you let me know eactly what you want I might accomodate you. The version I am working with has CSV made easier. It has been somewhat tested. I might release this version if you think you need it.

> I tried using the duration aspect editor on several of the existing 3D
> vectors (Lorenz, etc), and it always says "no vector assigned" and
> greys out the X, Y, and Z. Why can't I assign a dimension to duration?

I am not sure I understand this. Could you describe exactly what you did and *what* you were trying to accomplish?

> The third question is trickier -- once I get the above going, I'll ask more!

You are very welcome :-)

Regards,

Arnold
User avatar
admin
Site Admin
 
Posts: 4
Joined: 18 Oct 2011, 21:32

Re: Create CSV file with durations and notes?

Postby Ben » 14 Apr 2015, 08:48

As a matter of fact I am overhauling the CSV aspect of Compose! by request of another user. If you let me know eactly what you want I might accomodate you. The version I am working with has CSV made easier. It has been somewhat tested. I might release this version if you think you need it.


Hey, nice to hear there is still some development around ... :D
Ben
 
Posts: 9
Joined: 13 Jun 2012, 18:16


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron