denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] MIDI in


From: Richard Shann
Subject: Re: [Denemo-devel] MIDI in
Date: Tue, 13 Mar 2012 09:37:13 +0000

On Mon, 2012-03-12 at 13:21 -0500, Jeremiah Benham wrote:
> what audio options is das using? audio backend? midi backend?
He was reporting on the default, i.e. audio backend via portaudio.
It is not surprising that he can still see this - it vanished for you
before I fixed the play-button-redraw call, so although that will have
caused the strange gtk behaviour I saw, there will be another threading
bug there somewhere.
BTW I have occasionally had Denemo blurt out a heap of music when
starting play again, as if it hadn't sorted out the start time or
cleared the buffers or something. But it seems to be quite rare, as
threading bugs often are I fear.
Richard



> 
> Jeremiah
> 
> Sent from my Samsung smartphone on AT&T
> 
> Richard Shann <address@hidden> wrote:
> 
> >On Mon, 2012-03-12 at 08:52 -0500, Jeremiah Benham wrote:
> >> On 03/12/2012 04:31 AM, Richard Shann wrote:
> >> > There is a problem with MIDI in - even if the user has no MIDI
> >> > controller we connect to the Alsa midi thru, which means that the test
> >> > to decide if the user has a midi controller connected fails.
> >> 
> >> I assume that you are using some sort of test
> >It is all being done inside libraries, in this case portmidi. I have put
> >a check for if the user hasn't set a specific MIDI controller, which
> >will be ok I think.
> >This leaving it up to libraries has a real down-side. The portaudio
> >outrageously exits if you turn off the MIDI controller and try to do
> >something. And to add insult to injury, it waits on stdin first, so you
> >can't even trap the onexit() and cope with the situation. So I have
> >stopped you switching to MIDI with unsaved data in case it does this.
> >BTW das reported that the second-time-no-playback bug is still present.
> >I can't get it to happen, so I can't debug it.
> >Richard
> >
> >
> >
> >>  that checks if the file 
> >> /dev/midi is NULL or not. Is that correct? Maybe we can check that only 
> >> on the case of using OSS midi. Perhaps we can just put a button in 
> >> preferences to check if chosen device file is NULL? What do you think?
> >> 
> >> Jeremiah
> >> 
> >> > At the momement, users have to set a pref (startmidiin) to indicate they
> >> > want to do that.
> >> > I am not sure how to fix this.
> >> > Richard
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Denemo-devel mailing list
> >> > address@hidden
> >> > https://lists.gnu.org/mailman/listinfo/denemo-devel
> >> 
> >> 
> >> _______________________________________________
> >> Denemo-devel mailing list
> >> address@hidden
> >> https://lists.gnu.org/mailman/listinfo/denemo-devel
> >
> >





reply via email to

[Prev in Thread] Current Thread [Next in Thread]