[Csnd] midi to sco help
Date | 2018-03-15 02:41 |
From | "Joe ." |
Subject | [Csnd] midi to sco help |
Attachments | midi.csd moveupal.mid |
Hey y'all. These are the files I'm working with, the file it writes out contains GB of information and crashes the system. Can't seem to find the bug. Help is appreciated. Thanks-
Csound mailing list
Csound@listserv.heanet.ie
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
/* Joe */ |
Date | 2018-03-15 14:17 |
From | Victor Lazzarini |
Subject | Re: [Csnd] midi to sco help |
I think the problem is ktim. You need to set the itime parameter to 0. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 15 Mar 2018, at 02:41, Joe . |
Date | 2018-03-15 14:52 |
From | "Joe ." |
Subject | Re: [Csnd] midi to sco help |
I took this from the fprintks demonstration page btw. What do you mean set itime to 0? /* Joe */ On Thu, Mar 15, 2018 at 9:17 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: I think the problem is ktim. You need to set the itime parameter to 0. |
Date | 2018-03-15 15:08 |
From | Victor Lazzarini |
Subject | Re: [Csnd] midi to sco help |
yep, to 0. The if … then controls the printing so, the itime parameter should be 0 ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 15 Mar 2018, at 14:52, Joe . |
Date | 2018-03-16 03:38 |
From | "Joe ." |
Subject | Re: [Csnd] midi to sco help |
forgive me, but where is the itime parameter? /* Joe */ On Thu, Mar 15, 2018 at 10:08 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: yep, to 0. The if … then controls the printing so, the itime parameter should be 0 |
Date | 2018-03-16 08:30 |
From | Victor Lazzarini |
Subject | Re: [Csnd] midi to sco help |
Sorry I was thinking of printks. Actually this code works fine for me: |
Date | 2018-03-16 08:34 |
From | Victor Lazzarini |
Subject | Re: [Csnd] midi to sco help |
and to note: I’d changed massign and pgmassign. That makes it do what you want it to do (I think), not triggering any events, so everything is parsed by midiin instead. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 16 Mar 2018, at 08:30, Victor Lazzarini |
Date | 2018-03-16 16:34 |
From | "Joe ." |
Subject | Re: [Csnd] midi to sco help |
Is there a way I can get it to output the actual duration into p3, instead of reading note on note off signals? I am trying to convert it to score, basically. Thanks. /* Joe */ On Fri, Mar 16, 2018 at 3:34 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: and to note: I’d changed massign and pgmassign. That makes it do what you want it to do (I think), not triggering |
Date | 2018-03-16 16:50 |
From | Victor Lazzarini |
Subject | Re: [Csnd] midi to sco help |
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2018-03-16 16:58 |
From | "Joe ." |
Subject | Re: [Csnd] midi to sco help |
sorry Victor, the last message you sent was blank. /* Joe */ On Fri, Mar 16, 2018 at 11:50 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2018-03-16 17:02 |
From | Victor Lazzarini |
Subject | Re: [Csnd] midi to sco help |
If you only care about note on and off, then
place a timeinsts count,
and check for release (release opcode)
writing to file only once when release is reached to get the correct note duration.
You will probably need to set xtratim 1/kr
Use only one instrument and don’t use massigm or pgassign.
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|