freecycle-users
[Top][All Lists]
Advanced

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

Re: [Freecycle-users] Re: [Swami-devel] Soundfont export


From: Predrag Viceic
Subject: Re: [Freecycle-users] Re: [Swami-devel] Soundfont export
Date: Mon, 15 Aug 2005 10:34:39 +0200
User-agent: KMail/1.8.2

I'll try to release as soon as possible. Freecycle 0.5 alpha has a tons of new 
features, and many new dependencies (portmidi, portaudio, libinstpatch) and 
you should change the code in those dependencies in order to make them work.

Info for packagers:

Portmidi:

add this to pm_linux/pmlinuxalsa.c

-------8<--------------8<-------------8<-------------
void pm_linuxalsa_term(void)
{
    snd_seq_close(seq);
//added
    free(descriptors);
    descriptors=NULL;
    pm_descriptor_index=0;
    pm_descriptor_max=0;
//end added
}
-------8<--------------8<-------------8<-------------

libinstpatch:

add this 
------------8<---------------8<----------------------
#ifdef __cplusplus
  extern "C" {
#endif
------------8<---------------8<----------------------

before first line, and this:

------------8<---------------8<----------------------
#ifdef __cplusplus
  }
#endif
------------8<---------------8<----------------------

after the last line in libinstpatch.h before building.

Please note that libinstpatch depends on gobject-2.0 and glib-2.0

Cheers,
Predrag



Le Lundi 15 Août 2005 10:05, Daniel Browne a écrit :
> Excellent.  I've still be having headaches attempting to create
> soundfounts using swami (they make no sound when in my sequencer).
> Let me know when this build is avaliable andI'll try and supply some
> feedback.
>
> Cheers,
> Daniel.
>
> On 15/08/05, Predrag Viceic <address@hidden> wrote:
> > Hi Josh,
> >
> > >So you could either have an instrument per sample or you could just have
> > >one instrument with a sample assigned to each key, whatever seems to
> > >make the most sense.  Having 1 per instrument would mean that you would
> > >need to assign different instruments to different MIDI channels and then
> > >you are often limited to 16 channels on many implementations.  It would
> > >make it easier to use in other work though if you dedicated an
> > >instrument per sample.
> >
> > I had some spare time this WE and have implemented SF2 export, it rocks!
> > I use one instrument and add a sample per zone (the sample root note
> > being equal to the zone (range-low == range-high == root-note). Now I'm
> > looking into DLS and GIG export. Are there any traps?
> >
> > > Should this be done only in libinstpatch.h or should this be done for
> > > every header file?
> >
> > Well I have add it only around libinstpatch.h. One of Freecycle packagers
> > (address@hidden) has warned me that this add is removed by configure
> > script. I have to dig further on this.
> >
> > Cheers,
> > Predrag
> >
> > Le Samedi 13 Août 2005 05:12, Josh Green a écrit:
> > > On Fri, 2005-08-12 at 11:12 +0200, Predrag Viceic wrote:
> > > > Hi Josh!
> > > >
> > > > Could you please consider, when you find some spare time of course,
> > > > adding
> > > >
> > > > #ifdef __cplusplus
> > > >   extern "C" {
> > > > #endif
> > > >
> > > >
> > > > #ifdef __cplusplus
> > > >   }
> > > > #endif
> > > >
> > > > around your libinstpatch/libinstpatch.h
> > > >
> > > > so that I can link it with my C++ program? This will of course allow
> > > > everyone to link it with its C++ code.
> > > >
> > > > Cheers,
> > > > Predrag
> > >
> > > Should this be done only in libinstpatch.h or should this be done for
> > > every header file?  Thanks for the heads up on this.
> > >       Josh
> >
> > _______________________________________________
> > Freecycle-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/freecycle-users




reply via email to

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