I am looking for a good set of portable, supported atomic.h-style
primitives for userspace applications. I am not especially interested
in the low-level functions defined in <asm/atomic.h>. I really want
something more powerful like the kernel's compare_and_swap(),
cmpxchg(), test_and_set(), atomic_inc_and_return(), or fetch_and_add()
primitives. My intuition is that almost everything of interest could
be programmed out with a good compare_and_swap() or cmpxchg()
implementation.
These should work on most hardware platforms and operating systems, at
least as many as are possible and practical. They should work well
with both multithreaded UP and SMP. They need to work across multiple
process address spaces with shared memory. I would normally want to
avoid releasing different application binaries for UP and SMP.
They should be realtime-safe, which means that programming things out
using posix_spin_lock(), etc., is probably not good enough, except
perhaps as a generic solution to handle hard-to-support platforms.
While my needs are not unique to Linux audio, many audio applications
probably share them. So, I wonder what other people here on LAD are
doing.
All I've found so far are...
(*) kernel implementations of <asm/atomic.h> and <asm/system.h>.
These were written for kernel use, though some also work in
userspace. At least most platforms are probably fairly well
tested.
But, I prefer to avoid using kernel header files in application
code, mostly for portability and maintenance reasons.
Distributions handle them in non-standard ways, making it hard
to explain to users how to resolve the dependency. Also,
porting to non-Linux platforms becomes problematic.
(*) glibc seems to have a good set of functions internally
AFAICT, these are for the library's own use, not part of the
supported external interface. I'll investigate further.
(*) ardour has its own <pbd/atomic.h>
This does not seem to be well tested yet. But, a recent patch
by Robert Jordens at least makes it compile correctly on all the
Debian platforms using #ifdef's. Since the code was taken
directly from kernel sources, it is even likely to work on most
of those platforms (if compiled correctly).
(*) ardour has a ring queue implementation in ringbuffer.cc
There is also a C version included in the JACK example-clients
directory. These are excellent for some problems, but certainly
not for everything.
Advice or comments?
--
Jack O'Quin
Austin, Texas, USA
I've found that randomizing control ports in amSynth to be a fun, interesting, and productive way of finding new sounds. We need a HINT because not all ports should change when a global randomize command is given, such as a gain control.
Taybin
-------Original Message-------
From: Richard Guenther <rguenth(a)tat.physik.uni-tuebingen.de>
Sent: 09/09/03 10:25 AM
To: lad <linux-audio-dev(a)music.columbia.edu>
Subject: Re: [linux-audio-dev] ladspa diff
>
> On Tue, 8 Sep 2003, Taybin Rutkin wrote:
> Here's a ladspa diff with LADSPA_HINT_MOMENTARY and
> LADSPA_HINT_RANDOMISABLE.
>
> Comments please?
What is LADSPA_HINT_RANDOMISABLE actually useful for?
Richard.
>
Attn:President/C.e.o.
Strictly Confidential & Urgent Business Proposal.
Re: Transfer Of Usd $21,500.000{Twenty - One Million, Five Hundred Thousand Us Dollars Only.
I am a member of the Federal Government Of Nigerian National Petroleum Corporation (N.N.P.C).
Sometime ago, a contract was awarded to a foreign firm in the Petroleum Trust Fund (P.T.F.) BY MY COMMITTEE.
This contract was over invoiced to the tune of us$ 21.5Million Dollars. This was done delibrately. The over - invoicing was a deal by my committee to benefit from the project.
We now want to transfer this money, which is in a suspense account with the P.T.F. into any oversea account, which we expect you to provide for us.
Share:
60 % of the money would be for my partners and I.
30 % of the money would be yours, for providing us with logistics, which, would include a safe bank account, where we shall facilitate funds transfer into, as soon as documentations are concluded over here.
10 % of the money has been mapped out from the total sum to cover any expenses that might be incurred during the course of the transaction, (both local and international expenses).
If interested in assisting us, please contact me via my secured email address, as soon as possible (mikeefosa(a)hknetmail.com)
It may interest you to know that a similar transaction was carried out with one Mr. Patrice Miller, President of Crane International Trading Corp., of 153 East 57th St., 28th floor, N.Y.10022, Telephone: 212-308-7788 and Telex: 6731689. The deal was concluded and all covering documents, forwarded to Mr. Miller to authenticate the claims. Once the funds were transferred, Mr. Miller presented to his bank, all the legal documents and remitted the whole funds to another bank account, and disappeared completely. My colleagues and I were shattered, since such opportunities are not easy to come by.
Please, if you are interested in assisting us carry out to the fullest capacity, this transaction, we would require the following information from you which would enable us make formal application to the various ministries / parastatals, for the release and onward transfer of the money to your account.
1.Your Full Name, Company's Name, Address, Telephone and Fax Numbers.
2.Your Bank Name, Address. Telephone and Fax Number.
3.Your Bank Account Number and Beneficiary Name - You must be the signatory.
Please, note that we have strong and reliable connections at the Central Bank and other Government Parastatals, hence assistance in this regards, would not be a problem.
At the conclusion of this transaction, we shall use same contacts to withdraw all documents used in the course of this, to avoid any trace whatsoever that may ever arise, to you or to us, now and in the nearest possible future.
It might also interest you to know that we are mere civil servants who do not want to miss this opportunity, hence, we want this money transferred out, as soon as possible, before the newly democratically elected government ever think of making enquiries as regards the various activities of the past military government.
Kindly contact me as soon as possible, whether or not you are interested in this deal, so that whereby you are not interested, it would give us more room to scout for another partner. But if you are interested, kindly contact me via above email, so that we can swing into action, as time is not on our part.
I await in anticipation of your fullest co-operation.
Yours Faithfully,
Dr.Mike Efosar
Hello. Would anyone have Csound mailing list archives posted
before Feb 1997? I could not find them from Dream at UK.
Has anyone archived them privately and could give them to me?
Anyone on Csound list could request them for me?
Best regards,
Juhana
CALLE MARIA MOLINA 67
Tel:0034 665 092 229
Fax:0034 91 615 33 66
E-mail: lotteria_laprimitiva(a)latinmail.com
FROM: THE DESK OF THE PROMOTIONS DIRECTOR,
INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT,
REF: LP/26510460037/03
BATCH: 24/00319/IPD
RE: AWARD NOTIFICATION FINAL NOTICE
We are pleased to inform you of the release today, 29th August 2003,of
the ELGORDO SWEEPSTAKE LOTTERY/INTER-NATIONAL PROGRAMS held on the 25th
August,2003.
Your name attached to ticket number 025 11464992-750 with serial
number 2113-05 drew the lucky number 3-18-19-30-32-40, which consequently
won the lottery in the 1st category.
You are therefore been approve for the lump sum pay out of �uros
911764.47. (Nine hundred and eleven thousand seven hundred and sistyfour
.fourty seven cents.) in cash credit to the file REF: LP/26510460037/03.
This is from a total prize of �uros 15,500,000.00 share among the
seventeen (17) International winners in this category.
CONGRATULATION!
Your fund is now deposited with a Security Company MADRID CREDIT
COMMISION. Due to the mixed up of some numbers and names, we ask that you
keep this award a top secret from the public notice until your claim as
been processed and your prize money remitted to your account as this is a
part of our Security protocol to avoid double claiming award or
unwarranted taking advantage of this program by participants.
All participants were selected through a computer ballot system drawn
from 25,000 names from Australia, USA, Europe, Asia ,New Zealand,
Middle-East and South-North America .As part of our international promotions
program, which we conducted once in a year. We hope with a part of your
prize, you will take part in our end of the year high stake �uros 300
Million International Lottery.
To being your claim, please contact the issuing authority, your prize
claim agent, Mr Jose Carlos Blanco, (Foreign Service Manager) for
processing and remittance of your prize money to a designated account of your
choice. Tel: 34 -655-103-635 .Email:lottoprimitva@eresmas.com.com
Remember, all prize money must be claimed not later until than the 29th
September, 2003. After this date, all funds will be returned as unclaimed.
Note: In order to avoid unnecessary delays and complications, please
remember to quote your reference and batch numbers in every of your
correspondence with your agent.
Furthermore, should there be any address do inform your claims agent as
soon as possible.
Please remember to ask for your prize claim certificate.
Congratulation again from all member of our staff and thank you for
being part of our promotion program.
Best regards,
Director.
Doesn't add any features, but builds with raptor 1.0.0 and removes
a dependency on the LADSPA SDK.
Now requires raptor 0.9.11+ and pkg-config
http://plugin.org.uk/lrdf/liblrdf-0.3.2.tar.gz
liblrdf is a library for handling RDF desciptions of plugins. It allows
them to be categorised and thier metadata to be queried without
loading the .so files.
RDF is a W3C standard for metadata: http://www.w3.org/RDF/
A categorisation of the CMT library is available:
http://plugin.org.uk/lrdf/cmt.rdf
And swh-plugins comes with an RDF description of itsself.
- Steve
hello there,
we are writing here a software that requires capturing code to stream live
voice from one machine and play it on the another machine through a
network.
can anybody enlighten us for a library or a method we can use to capture
the voice and stream it on the /dev/dsp??
as soon as we get this working, we will go through some advanced stuff,
and we will be sharing this with you later.
thanks and regards.
--
(o_
//\ Ghaith Nasrawi
V_/_ The American University in Cairo
"In all matters of opinion, our adversaries are insane."
Oscar Wilde
Hello,
the german magazine KEYBOARDS has answered a readers question
about audio and linux with tremendous ignorance. I think this
is a good chance to push linux to the attention of "the masses".
Here is the full text of question and answer (first in german,
so anyone can correct my errors ;-).
--- KEYBOARDS --------------------------------------------------
Leserbrief:
Habe mir schon ein paar Mal KEYBOARDS am Kiosk geholt, weil mich
gerade das Thema Recording und Computer interessiert. Einige
Artikel waren für mich recht interessant. Nur vermisse ich
gänzlich Vergleiche mit Linux. Ist es Absicht, dass dieses
aufsteigende System nicht erwähnt wird, oder traut sich keiner ran?
Seit einigen Monaten steige ich auf Linux um, nur meine
Musik-Geschichte hängt hinterher. Dabei gibt es in SuSE eine
Menge Musik-Software und Synthesizer, und ich habe gelesen, dass
einige Programme bald zur Marktreife gelangen. Von Verkäufern
höre ich, dass sie nicht am Linux interessiert seien, weil man
da nix mehr verdiene. Von anderen höre ich, Linux sei kein
Multimedia-System. Desinformation auf der ganzen Linie ...
Rainer Hain (KEYBOARDS):
Das Ganze ist ein recht kompliziertes Thema. Linus Thorvald
selbst hält Linux nicht für Audio oder generell für
Multimedia-Anwendungen geeignet. Low-Latency ist mit den
aktuellen Kerneln schlicht nicht zu machen, schon gar nicht
Multichannel.
Dazu kommt dann, dass ein Setup von Linux heute zwar simpel
ist, aber nur, solange man nicht von einem Standard-SuSE
abweicht. Und das muss man, wenn man Audio und MIDI betreiben
will. Deshalb springt kaum ein Sequenzer-Hersteller drau an, die
fürchten den ungeheuren Support-Aufwand. (Man erkläre dem User
mal am Telefon, dass er ein Make-File ändern muß und wie er dann
die Sources neu kompiliert ...)
Deshalb gibt es auch kein Package, was auch nur entfernt an
Cubase oder Logik herankäme.
An der Treiberunterstützung hapert es halt auch. Ich habe
hier zwar eine gute Auswahl an gängigen Interfaces (Audio und
MIDI), aber für keines davon gibt es Linux-Treiber.
--- english translation ----------------------------------------
Reader:
Sometimes I have bought Keyboards cause I'm especially
interested recording and computer. Some articles seemed to me
very interesting. But I deeply missed any comparisons with
linux. Is it intended that this rising system is not mentioned
or does noone felt able to do it?
Since some month I'm migrating to linux -- only my musical
things are left behind. Despite SuSE having a lot of music
software and synthesizers; and I read about some programs coming
to end-user stability soon. From dealers I hear, that they are
not interested in linux cause there is nothing to earn. Other
people say, linux is not a multimedia system. Desinformation
all along the line.
Rainer Hain (Keyboards):
This is a very complex matter. Linus Thorvald himself considers
linux not to be suited for audio or universally multimedia
applications. Low-latency cannot be achieved with current
kernels especially not multi-channel.
On top of that comes the fact, that a setup of linux is quite
simple today, but only if you don't leave the standard SuSE.
But this must be done to work with audio and midi. Therefore
hardly any sequencer manufacturer uses linux -- they fear the
tremendous support effort. (try to explain a user on the phone,
that he has to change a makefile and how he must compile the
sources ...)
Therefore there is no package that can hardly reach the level
of Cubase or Logic.
The driver support also is a problem. I have a great variety
of popular interfaces (audio and midi) but there is no linux
driver for one of them.
----------------------------------------------------------------
I hope we are able to shape a convincing answer!
Yours
Uwe Koloska
--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
Hello. I picked the text below from xine-devel, but I picked it too
late. If this topic has been discussed here, I have missed the thing.
If Europe gets the software patents, I'm willing to archive
any withdrawn software to our archive site ftp.funet.fi.
There they may wait another 20 years for reappearence.
What to do if Europe gets the software patents and your
software is requested to be taken away from public?
How far one should go in order to get the case officially
reported? At least, one should not take anything away
upon an e-mail request as then nothing is officially reported.
It is important to get the cases reported each time so that
the cases can be analysed later by the researchers.
Juhana
[ someone wrote in xine-devel ]
>The European Parliament will debate and probably decide on a proposal
>for a software patent directive on September 1st. If this directive is
>passed, things like algorithms and business methods such as Amazon
>One Click Shopping will become patentable in the European Union just
>like they already are in the United States.
>
>Read more about the issue here: http://swpat.ffii.org/index.en.html