Chris Caudle wrote:
> On Wed, April 6, 2016 2:49 am, Filipe Coelho wrote:
> > If you have jack clients or plugins that heavily rely on mutexes,
> > semaphores, conditions, etc the same thing might happen.
>
> That would be a buggy plugin design.
> Seems it could be interesting to automate checking for some of that. I
> thought maybe nm could help.
Very much so.
There's a large spread of software in linux audio which isn't realtime
safe and correcting these issues is slow work.
Half of the battle IMO is the spreading the information about what
realtime safety is, why it is important, and how it should be achieved.
> So is it possibly feasible to automate checking for non-realtime safe
> function use in plugin binaries? I'm pretty confident it would not be
> difficult to do with source, especially if you took the manual path of
> finding the processing function by inspecting the code.
In the case of C code it usually isn't too bad, but for C++ code it is
still a very non-trivial task to perform the analysis even with the
source available.
As part of trying to correct these long standing issues within
ZynAddSubFX one of the tools that I wrote starting back in 2012 was
stoat: https://github.com/fundamental/stoat
This tool uses llvm/clang to consume the source code and then construct
the possible call graphs (missing only function pointers which are
nearly possible to statically analyse).
Using a combination of blacklists and whitelists you can say what
functions/methods *should* be realtime safe and which ones are not safe.
Based upon this information stoat identifies when a supposedly realtime
safe function could call an unsafe function.
This approach eliminates identifying calls to graphics libraries and
threading locks which are never involved in the jack process callback.
To clarify one other point in this thread, zyn is not absolutely 100%
realtime safe and stoat can certainly point out the few remaining issues
(there is a single location for memory allocation/deallocation which
needs to be corrected (NO LOCKS)).
Compared to yoshimi however it is an absolutely night and day difference.
Based upon checking yoshimi's git again it should be essentially equal
to the realtime safety that zyn had back at its 2.4.4 release:
(unsafe function call graph)
http://fundamental-code.com/2.4.4-realtime-issues.png
Compare that to what was achieved for the 2.5.0 release of zyn:
http://fundamental-code.com/2.5.0-realtime-issues.png
Around 80% of those issues have been resolved within zyn since then.
A similar analysis could be done easily on yoshimi following the
instructions in stoat's README if someone is interested.
--Mark McCurry
(I just subbed for this, so hopefully I haven't messed up the threading)
Hello all,
I was wondering if there was others around using the set of plugins ams-lv2
and maybe even comparing it with Alsa Modular Synth itself?
They have been around for a while now, I'm happily using them regularly but
feedback would be great!
Aurélien
Greetings,
I've been writing music for piano recently.
3 Character Pieces (5 minutes)
https://soundcloud.com/davephillips69/3-character-pieces
Tune 12 (3 minutes)
https://soundcloud.com/davephillips69/tune-12
Sonata for Sequenced Piano (11'30")
https://soundcloud.com/davephillips69/sonata-for-sequenced-piano
The character pieces are tonal/atonal, not too severe. Tune 12 is tonal,
but its harmonies are built on a series of three discrete 4-note chords.
The sonata is definitely tonal/atonal, with some severe contrasts (it's
a sonata). Btw, only Tune 12 is humanly playable. Think of the others as
my way of sending props to the spirit of Conlon Nancarrow. :)
The piano sounds are by the awesome Pianoteq.
All pieces are download-enabled.
Best regards,
dp
On 04/04/2016 11:35 PM, Ken Dawson wrote:
> Dave,
>
> I must be missing something. The download button seems to require a
> login. Is there another way to download?
>
>
Hi Ken,
I checked it myself this morning, but I'm auto-logged into SC so I
couldn't verify how it behaves if you don't have an account.
Anyway, I've uploaded the pieces (flac-encoded) to my ftp site at
linux-sound.org :
http://linux-sound.org/audio/3characters.flachttp://linux-sound.org/audio/sonata.flachttp://linux-sound.org/audio/tune12.flac
Let me know if you have any problems retrieving those files.
Best,
dp
Hi everyone
As some of you might know, part of the MOD Team is going to be at the Musikmesse from April 7th to 10th.
Unfortunately it clashes with the miniLAC so, differently from last year’s LAC, we won’t be present at the Conference with the entire team as we did last year.
For those who won’t be able to attend the miniLAC but can get a day trip, we have available some courtesy visitor one-day-passes to the Musikmesse. They are valid in any of the days form 7th to 10th.
If anyone is interested just let us know and we’ll manage a way to hand them over.
Best
Gianfranco Ceccolini
MOD Devices
+49 160 646 9313
gianfranco(a)moddevices.com
Hi :)
A new release of io GNU/Linux is available for downloads (32 and 64-bits)
Features:
* Fully configured system for live and/or install
* Kernels 4.4.6 and 4.4.6-rt
* Enlightenment e20 as window manager
* All sounds through Jack2
* Hundred of audio, graphics, video, internet, utilities and system programs.
Get it at http://io.gnu.linux.free.fr/
if the homepage goes slow for you, please check:
https://sourceforge.net/projects/io-gnu-linux
Feedbacks welcome, enjoy :)
MK
Hi everyone!
Here's a collective piece
<http://linuxfr.org/news/les-pedales-musicales-avec-mod> we
(linuxfr.org) published about the MOD-app (beta) everybody is very
excited about it (hence the score of the article) :)
I will probably translate it for LMP. I want to do something big about
it because well, it's huge. This project absolutely flabbergasts me. Oh
BTW the app has not crashed on me once, everything works, this thing is
incredible, you guys the MOD team, I don't know, if I were 14 again I'd
cover my rooms with your pics :)
Cheeers
yPhil
--
Yassin "xaccrocheur" Philip
http://manyrecords.comhttp://bitbucket.org/xaccrocheur / https://github.com/xaccrocheur