On Friday 06 January 2012, you wrote:
> btw: is there a way to list available clients/ports from the api.
> I know that aconnect -i / -o does this, but is there a c/c++ function?
>
> Dave
The functions are: snd_seq_query_next_client() and snd_seq_query_next_port();
you need to loop calling these functions while they return a correct answer.
For instance, this is the relevant code in "aconnect.c" :
static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action)
{
snd_seq_client_info_t *cinfo;
snd_seq_port_info_t *pinfo;
int count;
snd_seq_client_info_alloca(&cinfo);
snd_seq_port_info_alloca(&pinfo);
snd_seq_client_info_set_client(cinfo, -1);
while (snd_seq_query_next_client(seq, cinfo) >= 0) {
/* reset query info */
snd_seq_port_info_set_client(pinfo,
snd_seq_client_info_get_client(cinfo));
snd_seq_port_info_set_port(pinfo, -1);
count = 0;
while (snd_seq_query_next_port(seq, pinfo) >= 0) {
if (check_permission(pinfo, perm)) {
do_action(seq, cinfo, pinfo, count);
count++;
}
}
}
}
See:
http://git.alsa-project.org/?p=alsa-utils.git;a=blob;f=seq/aconnect/aconnec…
I guess you already know the reference documentation site:
http://www.alsa-project.org/alsa-doc/alsa-lib/seq.html
Just for comparison, a similar enumeration using Drumstick looks like this:
QListIterator<PortInfo> it(m_Client->getAvailableOutputs());
while(it.hasNext()) {
PortInfo p = it.next();
cout << p.getClientName() << ":" << p.getPort();
}
See Drumstick's example "drumgrid":
http://drumstick.sourceforge.net/docs/drumgrid.cpp-example.html
Regards,
Pedro
Hi all
For some time now there is a website witch offer a USB stick, a
slackware based Audio bundle full with GPL'd software.
I have some discussions with the provider, because he wouldn't make the
source available to his (possible) users, and he wouldn't make them
aware that they have the right to receive the source.
I have contacted license-violation(a)gpl-violations.org and get a fast
response first. On my question if they see a GPL validation they wrote
after visit the site :
> Looks like it. On the website he/she claims that everything is under
> GPL. I would suggest contacting the person in question, gently
> pointing
> out to his/her obligations.
>
> If you have already done so, let us know and we'll try again.
Well, I let them know that I've try it without success. Unfortunately I
didn't hear any more from them for more the 2 weaks.
Is anyone here on the list knowing what is to do now, what could we do
to make the provider aware that he must offer the source in the same way
then the binary's, and that he must make clear that users have the right
to receive the source.
I guess most of the Copyright-holders from the used applications are
members of this list.
At least, I still believe that no one how buy this stick, ever have a
interest in the source, so it is just a mater of respect for the GPL,
but, it's a shame for me to see the GPL validate in such a way and get
on top of that a response from the provider in a "Fuck off" attitude.
To bad that I need to provide the link to this crap here, so that you
could have a look at it:
http://www.getstudio1337.com/
here is the discussion about the issue:
http://www.linuxmusicians.com/viewtopic.php?f=4&t=7928
any Ideas what to do ?
Or I'm completely wrong in my understand of the GPL?
greets
hermann
Hi *!
On behalf of the conference organizers, we would like to invite you to
join the Linux Audio Conference 2012, kindly hosted by the Center for
Computer Research in Music and Acoustics (CCRMA) at Stanford University.
The conference will start tomorrow, Thursday April 12, at 10:00 PST
(that's UTC - 0700). Please refer to the schedule at
http://lac.linuxaudio.org/2012/program
for detailed information.
We will be streaming all paper presentations live in Ogg Theora/Ogg
Vorbis format. Users of the Firefox browser should be able to watch this
natively without any plugins. For users of other browsers, we recommend
VLC, a cross-platform media player which you can download from
http://videolan.org.
You are invited to join us on IRC while you're watching the streams, the
conference channel is #lac2012 on freenode.net, to be accessed with the
chat client of your choice, or via
http://webchat.freenode.net/?channels=lac2012
Remote participants can post their questions or remarks on this channel,
and a local chat operator here in Stanford will then relay them to the
presenters and the local audience. You can also use this channel to get
help in case of viewing problems.
All presentations will be recorded and uploaded for off-line watching
within a day or so.
Needless to say, access to all streams is free of charge. This is all
about open source after all :)
The primary stream relay is available at
http://ccrma.stanford.edu:8080 (located on the west coast of the US).
A secondary relay which is preferrable for European users is at
http://streamer.stackingdwarves.net (located in Germany).
Best regards,
the LAC stream team.
Now ... isn't this a bit frustrating, if scripts stop to work after
only 5 years ??
I tried to compile ladspa-sdk, which failed.
As I found out, it is due to (nowadays) invalid argument order:
failed:
$(CC) $(CFLAGS) $(LIBRARIES) -o ../bin/listplugins listplugins.o
works:
$(CC) $(CFLAGS) -o ../bin/listplugins listplugins.o $(LIBRARIES)
gcc 4.6.3
Désolé en cas d’envois multiples / sorry for possible crossposting
The dead line for software submission was extended to the April 29th
_______________
LoMus 2012
À la recherche des logiciels libres pour la création sonore et intermedia
Pour sa quatrième édition, LoMus 2012 s’adresse à tous ceux qui s’aventurent dans le développement de logiciels libres musicaux ou de logiciels libres qui peuvent contribuer au processus de la création musicale.
Un prix sera remis aux logiciels qui font preuve non seulement d’innovation, mais notamment d’inventivité face aux enjeux actuels de la création musicale.
Calendrier
6 avril 2012 - Appel à soumissions
29 avril 2012 - Date limite de soumission des logiciels
5 mai 2012 - Notification d'acceptation
11 mai 2012 - Remise du prix lors des JIM 2012
Info : http://concours.afim-asso.org/
JIM2012 : http://www.jim2012.be
LoMus 2012
In search of open-source software for musical and intermedia creation
For its fourth edition, LoMus 2012 invites music and audio open-source software creators to submit original projects that either directly or indirectly contribute to musical creation.
A prize will be awarded to open-source sofware that proves to be not only innovatory but also inventive in the present context of music and audio creation.
Calendar
April 6, 2012 - Call for submissions
April 29, 2012 - Submission deadline
May 5, 2012 - Admission notification
May 11, 2012 - JIM Awards Ceremony
Info: http://concours.afim-asso.org/
JIM2012 : http://www.jim2012.behttp://www.le-hub.org/
Am 19.04.2012 18:05, schrieb Emanuel Rumpf:
> Am 19. April 2012 14:41 schrieb Ulrich-Lorenz Schlüter <audio-mobster(a)gmx.de>:
>> /home/uli/workspace/jackmixdesk/trunk/mixdesk_gtk.c:2859: undefined
>> reference to `phat_fan_slider_set_value'
>>
> install libphat-dev package (if ubuntu)
>
> post output of
>
> ls /usr/lib/libph*
> ls /usr/lib/x86_64-linux-gnu/libph*
>
> cat /etc/ld.so.conf
> cat /etc/ld.so.conf.d/*
>
I need a resizeable phat knob for my project, jackmixdesk. I want to
make my this project available for all users without fumbling, so I
don't want a dependency on the development package of phat. Phat dev is
even uninstallable for gentoo right now.
With best regards
Uli
All right!
While LAC is waning, there's a few things we should announce:
Most importantly Krzysztof Gawlas won our LAC soundtrack competition.
You'll hear his piece as soon as we get the video archive of the
conference online which will likely be next week-end. Thanks to everyone
who submitted a soundtrack.
For all who did not tune into the live-stream of the closing-ceremony:
LAC2013 will take place at IEM, Graz; in spring 2013.
If you have been at LAC and took picture or video recordings, we'd like
to hear from you - please send us a link to lac(a)linuxaudio.org
greetings from CCRMA,
robin