denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Portaudio V19 compile


From: Richard Shann
Subject: Re: [Denemo-devel] Portaudio V19 compile
Date: Thu, 20 Nov 2008 07:03:17 +0000

On Wed, 2008-11-19 at 22:07 -0600, Jeremiah Benham wrote:
> On Tue, 2008-11-18 at 07:48 +0000, Richard Shann wrote:
> > Thanks, I've fixed these two, so now it should build (just make needed).
> > Can someone test it? 
> 
> I just tested it. It seems to act a little different than it used to. I
> pluck a string and let it sustain and I see several notes put up on the
> screen. I am not sure how it is supposed to work.
OK. It is working - if you get several notes it is down to the
note-detection in aubio over-detecting note onsets. I haven't done a lot
of exploring with using real musical instruments to input notes.

> 
> > What you need to do is to set "immediate playback"
> > and delete the sequencer path (or otherwise make it fail to
> > find /dev/sequencer). Then on typing in a note the note should sound
> > (0.3 sec) - it is pcm samples output via /dev/dsp I believe.
> > This output is more important than I was initially thinking - I'll start
> > a new thread about that.
> 
> 
> I checked this out also. Unfortunately the prevents playback via
> timidity because "immediate playback" is using /dev/dsp.
Right, I think I see what is going on - I was testing sequencer_fd==-1
to find out if output via timidity (or other sequencer) available, and
it seems this doesn't work. I'll try setting my own flag. The idea is
that you should get direct pcm samples sent using portaudio only if you
do not set up a sequencer to get your immediate playback.
Richard

> On many
> soundcards on one software program can use it at once via the oss
> interface. Using jack allows mixing though. Once I get around to it I
> will add a jack output interface.
> 
> Jeremiah
> 
> > Thankyou for helping getting the V19 version built.
> > Richard
> > 
> > 
> > On Mon, 2008-11-17 at 22:03 +0100, Nils Gey wrote:
> > > Now this
> > > 
> > > audiocapture.o: In function `play_pitch':
> > > audiocapture.c:(.text+0x1b3): undefined reference to `Pa_StreamActive'
> > > audiocapture.c:(.text+0x1fb): undefined reference to 
> > > `Pa_GetDefaultOutDevice'
> > > collect2: ld returned 1 exit status
> > > 
> > > 
> > > On Mon, 17 Nov 2008 19:54:26 +0000
> > > Richard Shann <address@hidden> wrote:
> > > 
> > > > Although it should compile, it needed another fix to stand a chance of
> > > > working...
> > > > pushed to git.
> > > > Richard
> > > > On Mon, 2008-11-17 at 20:28 +0100, Nils Gey wrote:
> > > > > really fixed? I still get the 
> > > > > 
> > > > > audiocapture.c: In Funktion »play_pitch«:
> > > > > audiocapture.c:177: Fehler: »ouputParameters« nicht deklariert (erste 
> > > > > Benutzung in dieser Funktion) # means "not declared"
> > > > > 
> > > > > Of course my checkout is up to date. I've done a make clean and make 
> > > > > distclean before configuring.
> > > > > 
> > > > > Nils
> > > > > 
> > > > > 
> > > > > On Mon, 17 Nov 2008 08:00:57 +0000
> > > > > Richard Shann <address@hidden> wrote:
> > > > > 
> > > > > > On Sun, 2008-11-16 at 15:58 -0600, Jeremiah Benham wrote:
> > > > > > > On Sun, 2008-11-16 at 16:16 +0000, Richard Shann wrote:
> > > > > > > > I've coded the immediate playback for Portaudio V19, but cannot 
> > > > > > > > compile
> > > > > > > > it as I have V18. Please report any errors.
> > > > > > > 
> > > > > > > Here are my errors:
> > > > > > > 
> > > > > > >  
> > > > > > > audiocapture.c: In function ‘play_pitch’:
> > > > > > > audiocapture.c:146: error: ‘outinputParameters’ undeclared (first 
> > > > > > > use in
> > > > > > right, outputParameters, fixed & pushed to git.
> > > > > > Richard
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > > this function)
> > > > > > > audiocapture.c:146: error: (Each undeclared identifier is 
> > > > > > > reported only
> > > > > > > once
> > > > > > > audiocapture.c:146: error: for each function it appears in.)
> > > > > > > audiocapture.c:177: error: ‘ouputParameters’ undeclared (first 
> > > > > > > use in
> > > > > > > this function)
> > > > > > > audiocapture.c:184: warning: passing argument 7 of 
> > > > > > > ‘Pa_OpenStream’ from
> > > > > > > incompatible pointer type
> > > > > > > audiocapture.c: In function ‘pa_main’:
> > > > > > > audiocapture.c:374: warning: passing argument 7 of 
> > > > > > > ‘Pa_OpenStream’ from
> > > > > > > incompatible pointer type
> > > > > > > audiocapture.c: In function ‘determine_frequency’:
> > > > > > > audiocapture.c:500: warning: incompatible implicit declaration of
> > > > > > > built-in function ‘lround’
> > > > > > > make[2]: *** [audiocapture.o] Error 1
> > > > > > > make[2]: Leaving directory 
> > > > > > > `/home/jjbenham/src/denemo.git/denemo/src'
> > > > > > > make[1]: *** [all-recursive] Error 1
> > > > > > > make[1]: Leaving directory `/home/jjbenham/src/denemo.git/denemo'
> > > > > > > make: *** [all] Error 2
> > > > > > > 
> > > > > > > Jeremiah
> > > > > > > 
> > > > > > > 
> > > > > > > Richard
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > _______________________________________________
> > > > > > > > Denemo-devel mailing list
> > > > > > > > address@hidden
> > > > > > > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Denemo-devel mailing list
> > > > > > address@hidden
> > > > > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Denemo-devel mailing list
> > > > address@hidden
> > > > http://lists.gnu.org/mailman/listinfo/denemo-devel
> > > 
> > > 
> > 
> > 
> > 
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/denemo-devel
> 





reply via email to

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