Re: [Rosegarden-user] New version?

2012-11-29 Thread Michael J. Wilson
Hello all,

I apologize in advance for not being able to provide more details right
now.  I'm not near the machine where I did this on.

I found a hack to allow MIDI export to work.  In one of the modules there
are note off events removed, with a comment something to the effect of
"remove any previous note off events for this note" (heavily paraphrased).
 It traverses a datastructure and removes some note off events.  This is
in a function, underneath another line or two of code that does something
else with note-off events.

If you disable the lower section of code which removes note off events in
this single function then MIDI export appears to work correctly.  At the
very least, there are no more stuck notes.  I was working with an SVN
version from about a month ago.

This is almost assuredly not the right way to fix the problem, as the code
to remove note offs looks like it was put there on purpose.  But it may
give a hint towards a proper fix to someone with more Rosegarden knowledge
than me.

Again, sorry for the lack of specifics.  If there is interest I can look
up exactly what I did in a couple of days and report back to the list.  Or
maybe it is already fixed correctly, which would be the best case.  I'm
not able to update from SVN right now so I can't check.

-Michael J. Wilson

D. Michael McIntyre wrote:
> On 11/29/2012 01:12 PM, Brett McCoy wrote:
>> Is the export fixed in svn version, I wonder? I haven't updated svn in
>> a looong time
> Somebody grabbing SVN and testing that would be very helpful, really.  I
> know a lot of bugs have been fixed, and I know there's at least one
> relatively new report I haven't had a chance to investigate yet.
> The next version will be 12.12.  It was due to release in December, but
> January sounds more realistic at this time.  Work should be very slow by
> January, and I'll have more time.
> --
> D. Michael McIntyre
> --
> Keep yourself connected to Go Parallel:
> VERIFY Test and improve your parallel project with help from experts
> and peers. http://goparallel.sourceforge.net
> ___
> Rosegarden-user mailing list
> Rosegarden-user@lists.sourceforge.net - use the link below to
unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-user




--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
___
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] auto channel takes over and re-activates automatically

2012-10-22 Thread Michael J. Wilson
On 10/22/2012 07:31 PM, D. Michael McIntyre wrote:
> Test case:
>
> 1. New doc with track 1 set to "fixed" per default
> 2. Draw segment A
> 3. Draw segment B, overlapping about halfway
> 4. Put some random notes in segment A
> 5. Set top level Instrument Parameters volume to 0
> 6. Put some volume controllers in segment B, volume rising slowly from 0
> 7. Hit play
>
> Result is I hear nothing (top level volume in effect) until segment B
> kicks in, then the notes ascend in volume.
>
> Conclusion:  If a default volume of 100 were being sent, the volume
> would jump, then fall off and creep back up.  I'm hearing it start low
> and rise, per the controllers.

As I understand it, this test wouldn't show the problem I'm 
experiencing.  The following modification will show it:

1. New doc with track 1 set to "fixed" per default
2. Draw segment A
3. Draw segment B, overlapping about halfway
4. Put some random notes in segment A
5. Set top level Instrument Parameters volume to 100
6. Put a single volume controller in segment A at 50, somewhere before 
the start of segment B
7. Put any CC in segment B besides volume (it seems like if there are no 
events in segment B it is skipped)
8. Hit play

Expected outcome:
Volume starts loud (100), then gets softer (50) and does not change again.

Actual outcome (12.04):
Volume starts loud (100), then gets softer (50), then gets loud again 
(100) at the start of segment B.


The reason the test you described wouldn't show the issue is because the 
top-level value and the first value in segment B are the same.  There 
are actually two issues:

1) The top-level value is sent at the start of every segment if the 
controller is not hidden, instead of just the start of playback (this 
may make sense in auto mode but I don't think it makes sense in fixed mode).

2) If the volume or pan controllers are hidden, then the .rg file saved 
and reloaded, they are re-enabled somehow.  I haven't looked into this 
as much.

For my purposes, fixing 1) would make 2) not important to fix.  I was 
only hiding these controllers to try to work around 1).


> Nobody has packaged 12.12.  It's not December 2012 yet, and it hasn't
> been released yet.  We're working on it now.

Ah, now I understand the version numbering.


> This is a good time to get set up to build the development source and
> try it out.

This is definitely on my list of things to do.  I am in the middle of a 
big move so it will probably be a couple of weeks before I get a chance 
to play with the development version.  I will report back here when I do.

I know you are extremely busy and I appreciate you taking the time to 
look into this.

-Michael J. Wilson

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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] auto channel takes over and re-activates automatically

2012-10-18 Thread Michael J. Wilson
I'd like to add that, at least in 12.04, an "all controllers reset" as 
well as any visible controllers in the Instrument Parameters box are 
sent at the start of each segment.  I have some compositions that use 
separate overlapping segments in the same track for control data and 
notes, and the result is that in recent versions of Rosegarden the 
volume and panning get reset to their default values every time a new 
segment starts, sometimes during the middle of another segment on the 
same track.

I tried to work around this by removing all the controllers from the 
Instrument Parameters pane via the Manage MIDI Devices dialog.  But it 
seems like if the Volume and Pan controllers are hidden in this way then 
they are silently added back when the .rg file is saved, Rosegarden is 
closed, and then Rosegarden is launched again and the file re-opened. 
If I import a saved .rgd file with all controllers hidden every time I 
open the project then it seems to behave the way I want it to; that is, 
individual controller default values are no longer sent.  The "all 
controllers reset" message is still always sent, however.

Maybe in "fixed" mode the default values and all controllers reset 
should not be sent at the start of each segment, but just at the start 
of playback?  This would maintain legacy behavior for people using fixed 
mode, although it may have implications for drum tracks which I think 
currently default to fixed.  It makes sense to send the controllers for 
each segment in "auto" mode, because the new MIDI channel is probably 
not initialized for that track yet.

I understand that I may not be using segments the way they are intended 
to be used, but I appreciated the ability to do this in previous versions!

Thank you, and sorry to go off on a tangent (also apologies if this has 
already been fixed; my distro hasn't packaged 12.12 yet).

-Michael J. Wilson

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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] Jack error message

2012-08-22 Thread Michael J. Wilson
On 08/21/2012 11:28 AM, jott27 wrote:
>
> When starting Jack an error message is shown:
> "Cannot lock down 82241434 byte memory area (Cannot allocate memory"
> What does this mean and what can I do to correct this?
>

You probably do not have the necessary permissions to lock memory.  Try 
adding yourself to the "audio" group; I believe you are using Ubuntu so 
try this:

sudo usermod -a -G audio username

You might find the following links helpful:

https://help.ubuntu.com/community/HowToJACKConfiguration

https://help.ubuntu.com/community/UbuntuStudioPreparation

-Michael J. Wilson

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Get sound working with Realtek sound card

2012-08-22 Thread Michael J. Wilson
On 08/21/2012 12:16 PM, D. Michael McIntyre wrote:
> On Tuesday, August 21, 2012, John wrote:
>
>> I would like to thank all you respondents who tried to help me..I have
>> Jack,  Qsynth, Timidity installed.  But I am at a loss how I can tie all
>> these pieces together to produce any sound. How to "plug in" any of these
>> pieces?
>
> I'm going to defer these basic, common questions to the rest of the community.

I'll take a shot at describing how to use Qsynth as an external 
application.  This works for me with Rosegarden 12.04 and Qsynth 0.3.6 
on Fedora 17.

1) Close any other programs you might be running

2) Start Rosegarden

3) Start Qsynth

4) In Qsynth, click on "Setup" and make sure "Enable MIDI Input" is 
checked in the MIDI tab, that "jack" is selected as the Audio Driver in 
the Audio tab, that "Auto Connect JACK Outputs" is checked in the Audio 
tab, and that a soundfont is listed in the Soundfonts tab.  If you have 
to change any of this you might have to close and restart both programs 
before going on.

5) In Rosegarden, load the project you want to work on.  Click on Studio 
-> Manage MIDI Devices.  In the dialog that pops up, in the top-left box 
("MIDI Playback") there should be something that says "General MIDI 
Device" - click on this.  To the right of this there should be something 
that says something like "Synth input port" - this is the Qsynth MIDI 
input.  Click on it.  Click the "Close" button.

6) Now the MIDI data from Rosegarden should be sent to Qsynth when you 
hit play in Rosegarden, and Qsynth should play sound through your soundcard.

What should be happening if you follow these steps is when you launch 
Rosegarden, it will start the Jack audio server.  Then when you launch 
Qsynth it should connect to the physical outputs on your soundcard via 
the already-launched Jack server.  Rosegarden will handle making the 
correct MIDI connections through its studio manager.  Soundfonts are 
loaded in Qsynth, and other work on your piece is done in Rosegarden.

I would recommend installing qjackctl and using it to manage your audio 
and MIDI connections between different applications.  You can also use 
it to start the Jack audio server with different parameters (do this 
before launching either Rosegarden or Qsynth).

You can also host fluidsynth-dssi directly in Rosegarden.  In my 
experience, sometimes the editors will not launch for DSSI plugins 
unless you modify some network settings (this is not an issue with 
Rosegarden) and I don't remember what I had to do last time I had it 
working.  You will need to be able to launch the editor to select a 
soundfont.

If you want to try this, select a track in Rosegarden by clicking on the 
name of the track.  In the "Special Parameters" box, under "Track 
Parameters" click the "Device" drop-down and select "Synth Plugin" to 
make that track use a plugin.  Then, under "Instrument Parameters" click 
the button that says "" and, in the dialog that pops up, click 
in the "Plugin" drop-down and select FluidSynth DSSI Plugin (or another 
plugin if you wish).  I believe Rosegarden will automatically connect 
the audio outputs, but you can use qjackctl to verify this.

Good luck!

-Michael J. Wilson

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user