denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] portaudio + fluidsynth


From: Jeremiah Benham
Subject: Re: [Denemo-devel] portaudio + fluidsynth
Date: Thu, 16 Feb 2012 15:47:20 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Feb 16, 2012 at 06:16:54PM +0000, Richard Shann wrote:
> On Thu, 2012-02-16 at 12:18 -0500, Jeremiah Benham wrote:
> > On Thu, Feb 16, 2012 at 09:22:51AM +0000, Richard Shann wrote:
> > > This is now not hogging the cpu, but I hear quite rough audio sometimes.
> > > Can you check the quality of the audio output on your systems for this
> > > configuration (which is, I take it, the default)?
> > 
> > It sounds great. It is crashing denemo everyonce in a while. Here is what 
> > it says at the command line:
> > 
> > finished MIDI generation
> > starting playback
> > stopping playback
> > ALSA lib pcm.c:7316:(snd_pcm_recover) underrun occurred
> 
> hmm, I wonder if this is the same set up. Do you have audio backend set
> to portaudio ?
> I have not seen that message, nor any crash - can you send a file that
> crashes yours?

I don't know if there is a need. It seems to crash all the time no matter what 
file. I am using the portaudio backend and alsa midi backend. For some reason 
with the portmidi backend it does not seem to crash as easily. I am also 
getting many underruns but denemo is not crashing on them. Here is the bt full:
No symbol table info available.
#10 0x080dba9a in set_playbutton (pause=0) at view.c:8522
No locals.
#11 0x0812465e in stop_playing () at midi.c:114
No locals.
#12 0x08128688 in midi_stop () at audiointerface.c:447
No locals.
#13 0x08128199 in read_event_from_queue (backend=MIDI_BACKEND, 
    event_buffer=0xb7c6c171 "\220\"\177\n", event_length=0xb7c6c160, 
    event_time=0xb7c6c128, until_time=8.0942570018768318)
    at audiointerface.c:308
        playback_time = 8.0053333333333327
#14 0x0812b3d6 in process_thread_func (data=0x0) at alsabackend.c:92
        pev = 0x0
        tv = {tv_sec = 1329423635, tv_usec = 636145}
        playback_time = 8.0892570018768311
        event_time = 7.5010199999999996
        until_time = 8.0942570018768318
        timeval = {tv_sec = 1329423635, tv_usec = 635971}
        now = 1329423635.6361451
        event_data = "\220\"\177"
        event_length = 3
        mutex = 0x86a1e50

Jeremiah

> Richard
> 
> > READONLY 0
> > starting playback
> > stopping playback
> > stopping playback
> > 
> > No of displays : 1
> > 
> > 
> > So it seems that this buffer underrun caused denemo to crash. We need to 
> > put something in place that protects denemo from crashing when there is a 
> > buffer underrun.
> > 
> > Jeremiah
> > > 
> > > Richard
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > 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]