Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-11 Thread D. Michael McIntyre
On 09/10/2013 08:29 PM, Jim Cochrane wrote:

 Well, then, kudos and thanks to both of you. No company would have
 responded anywhere near as quickly to a feature request, unless,
 perhaps, one was willing to pay them an exorbitant fee.

Wait, what? You're not going to pay my exorbitant fee?!

No chicken pot pie for you!
-- 
D. Michael McIntyre

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-10 Thread Jim Cochrane
On Tue, 10 Sep 2013 01:46:14 -0400
D. Michael McIntyre rosegarden.trumpe...@gmail.com wrote:

  Anyone reading this list who would like program-change recording
  added, please speak up.
 
  No need.  The demand is already sufficient to warrant attention.
  I'll look into it later today.
 
 Committed revision 13404.
 
 I knocked together a test sample by putting program changes into a 
 Rosegarden file, exporting it as MIDI, then re-recording it while 
 playing it back with pmidi.  It seems fine.
 
 Please test!

OK - I compiled the new version and ran a short test, sending several
program changes, along with some bank-select CC messages (to make sure
they still work) - recording in rosegarden.  All events sent in the
test were visible in the event-list editor and when I played back from
rosegarden to my synth, all bank-selects and program changes were
received (and acted upon) by the synth.  So at least with this short
test, your changes were successful and correct.

Well done, and thanks for the quick turn-around.


Jim

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-10 Thread Jim Cochrane
On Tue, 10 Sep 2013 09:16:53 -0400
D. Michael McIntyre rosegarden.trumpe...@gmail.com wrote:

 On 09/10/2013 08:57 AM, Jim Cochrane wrote:
 
  Well done, and thanks for the quick turn-around.
 
 Tom did most of the work figuring out where this needed to go.  I
 just shoved some likely looking code in there, and massaged it a
 little until it compiled.  Then it worked.  Any monkey could have
 done that.

Well, then, kudos and thanks to both of you. No company would have
responded anywhere near as quickly to a feature request, unless,
perhaps, one was willing to pay them an exorbitant fee.


Jim

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


[Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-09 Thread Jim Cochrane
I'm using a recent development version of rosegarden that I compiled
around a week ago - according to about rosegarden:

  Version: 13.10  Qt version: 4.8.4
  Build key: 694fcb9aa0

I was surprised to find that rosegarden is not recording program change
events.  Before I describe my setup in detail and what I've tried, I'd
like to first make sure that I'm not expecting something that does not
exist - so, as my subject suggests, my question is: Is the current
version of rosegarden supposed to record program-change messages?

I did some grepping in old rosegarden mailing-list files and found over
200 messages that mentioned 'program change'; a few of those were
relevant to recording PC messages.  Some seemed to suggest that RG does
not record PC messages, but the impression I got was that it was
supposed to - e.g.:

If your keyboard transmits bank/program changes, Rosegarden should
record them, and they should work when played back. ...

[
http://sourceforge.net/mailarchive/forum.php?thread_name=417145.87918.qm%40web38401.mail.mud.yahoo.comforum_name=rosegarden-user
]

This was posted by Michael in Feb 2008.  I suppose the requirements
could have changed since then, but that would surprise me.

Now if RG is not supposed to record program-change events, then there's
nothing else for me to do [except, perhaps, to submit a feature request
:-)]; but if it is supposed to record PCs, then either I've encountered
a bug or I'm doing something wrong - misconfiguration or something.

I should mention that, after seeing mention of unchecking the Bank and
Program check-boxes under instrument parameters and checking
Receive external (which from their description I thought _might_ be
relevant to recording PC events), I tried a few different combinations
(including Bank and Program unchecked, Receive external checked) - all
with Channel: fixed. (I did not try auto.)  Nothing worked.

However, I did see that rosegarden was recording bank-select
control-change messages.  I used Kmidimon - both by directing the MIDI
stream/connection to both rosegarden and Kmidimon (and saw PCs show up
in Kmidimon but no evidence of it in rosegarden); and I played back the
recording in rosegarden connected to Kmidimon so that I could see in
Kmidimon what events RG was sending - again I saw bank-select messages
but no program changes.

I can give more details on what I've tried, if needed, after I've
verified from you guys that RG is supposed to (or not) record PCs.
BTW, I thought it best to post this to the user list, but if I should
send it to the dev list, please let me know.

By the way (this is not really related, but I thought might merit
correcting): when I was grepping through the mailing list I saw that
someone said in 2009:

Currently you can add program changes through the event list editor
but not bank changes.

Either that feature was added later or the poster was wrong - I was
able to add both PC events and bank-select (MSB/LSB - 2 separate
events) in the event list editor with no problem.


Thanks!
Jim

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-09 Thread D. Michael McIntyre
On 09/09/2013 02:22 AM, Jim Cochrane wrote:

 If your keyboard transmits bank/program changes, Rosegarden should
 record them, and they should work when played back. ...

I was probably just mistaken.

My key suspect in any change relating to MIDI is the floating channel 
allocation.  I went back to 11.11.42, which is before that change.

I set up Rosegarden to record a MIDI file that definitely had program 
changes in it, and it did not record any of them.

I tried importing the same file, and the program changes came through. 
We can read them during import, but we apparently do not record them.

I myself have utterly no clue off the top of my head how an incoming 
MIDI event gets recorded and turned into a Rosegarden event.  I've never 
worked on any of that at all.  I can't, therefore, just go glance 
through the code to see if that stuff is there or not.

I'm guessing it isn't.

 Either that feature was added later or the poster was wrong - I was
 able to add both PC events and bank-select (MSB/LSB - 2 separate
 events) in the event list editor with no problem.

I was just misinformed.
-- 
D. Michael McIntyre

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-09 Thread D. Michael McIntyre
On 09/09/2013 01:31 PM, Tom Breton (Tehom) wrote:

 That decision was before my time, but the code suggests no.

That's an interesting legacy.  When that code in what is now 
RosegardenDocument.cpp says got Program Change (unsupported), it ain't 
just whistling Dixie.  It really was totally unsupported when that was 
written.

We have a ProgramChange now, and it's probably pretty trivial to figure 
out how to hook it up here.  Bank changes probably work, since we don't 
have a direct and tidy way to handle them, and they come through as just 
another random generic controller.  Program changes either are special 
or they're set apart as being special (I forget which), hence they would 
have needed special handing that never came into being.

I don't have time to do this just at the moment, being awake some five 
hours past my bedtime, but this would be a good feature request to 
honor.  I can't see how this is controversial or potentially damaging, 
and it shouldn't be terribly difficult to implement either, so it looks 
like a good win can be had here.
-- 
D. Michael McIntyre

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-09 Thread Abrolag
On Mon, 9 Sep 2013 13:31:56 -0400
Tom Breton (Tehom) te...@panix.com wrote:

 
  I was surprised to find that rosegarden is not recording program change
  events.  Before I describe my setup in detail and what I've tried, I'd
  like to first make sure that I'm not expecting something that does not
  exist - so, as my subject suggests, my question is: Is the current
  version of rosegarden supposed to record program-change messages?
 
 That decision was before my time, but the code suggests no.  The relevant
 code is in RosegardenDocument::insertRecordedMidi (RosegardenDocument.cpp
 line 2025).  When we get a program-change, we don't insert it.  We do read
 it, pass it around and play it back if playthru is on.
 
   Tom Breton (Tehom)

Would there be a problem enabling it? It's something I would quite like to
have. Are there any other CC messages that are not recorded?

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-09 Thread Tom Breton (Tehom)

 I was surprised to find that rosegarden is not recording program change
 events.  Before I describe my setup in detail and what I've tried, I'd
 like to first make sure that I'm not expecting something that does not
 exist - so, as my subject suggests, my question is: Is the current
 version of rosegarden supposed to record program-change messages?

That decision was before my time, but the code suggests no.  The relevant
code is in RosegardenDocument::insertRecordedMidi (RosegardenDocument.cpp
line 2025).  When we get a program-change, we don't insert it.  We do read
it, pass it around and play it back if playthru is on.

Tom Breton (Tehom)



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-09 Thread Jim Cochrane
Thanks, Michael and Tom, for looking into this.

On Mon, 09 Sep 2013 14:04:12 -0400
D. Michael McIntyre rosegarden.trumpe...@gmail.com wrote:

 On 09/09/2013 01:31 PM, Tom Breton (Tehom) wrote:
 
  That decision was before my time, but the code suggests no.
 
 That's an interesting legacy.  When that code in what is now 
 RosegardenDocument.cpp says got Program Change (unsupported), it
 ain't just whistling Dixie.  It really was totally unsupported when
 that was written.

Wow - I thought I remembered in the past being able to record program
changes, but it looks like PCs have been ignored for a long time and
probably never were recorded.

 
 We have a ProgramChange now, and it's probably pretty trivial to
 figure out how to hook it up here.  Bank changes probably work, since
 we don't have a direct and tidy way to handle them, and they come
 through as just another random generic controller.  Program changes
 either are special or they're set apart as being special (I forget
 which), hence they would have needed special handing that never came
 into being.
 
 I don't have time to do this just at the moment, being awake some
 five hours past my bedtime, but this would be a good feature request
 to honor.  I can't see how this is controversial or potentially
 damaging, and it shouldn't be terribly difficult to implement either,
 so it looks like a good win can be had here.

That would be excellent if this could be implemented.  Please consider
this my formal request for this feature - with my understanding that
you all have other stuff to do and I'm not a paying customer :-)

Anyone reading this list who would like program-change recording added,
please speak up.  The more demand, the more likely someone will be
inspired to put it in.  Will Godfrey has already spoken up - anyone
else? :-)


Thanks.
Jim


--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Does the current rosegarden record program-change messages?

2013-09-09 Thread D. Michael McIntyre
 Anyone reading this list who would like program-change recording added,
 please speak up.

 No need.  The demand is already sufficient to warrant attention.  I'll
 look into it later today.

Committed revision 13404.

I knocked together a test sample by putting program changes into a 
Rosegarden file, exporting it as MIDI, then re-recording it while 
playing it back with pmidi.  It seems fine.

Please test!
-- 
D. Michael McIntyre

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user