Curious if anyone has had luck with some small usb audio devices and
ALSA? Kernel 2.4?
Thanks,
DT
--
Technical Director - Virginia Center for Computer Music
http://www.virginia.edu/music/VCCM/
William Weston <sysex.net(a)sysex.net> writes:
> Ahhh... I misunderstood and thought you were having troubles only
> when JACK was requesting a shutdown (which is only partly solved by
> the above patch). Thanks for being clear on this. The segfault on
> shutdown was caused by a race condition on thread cancellations and
> threads exiting normally. Version 0.10.3 contains the fix for this
> (which also improves shutdown time) as well as fixes for slowness
> when accessing the file menu for the first time and slow display of
> file dialogs.
I'm still getting crash on exit:
(gdb) r
Starting program: /usr/bin/phasex
[Thread debugging using libthread_db enabled]
[New Thread -1220261392 (LWP 9044)]
[New Thread -1220265040 (LWP 9047)]
JACK tmpdir identified as [/tmp]
[New Thread -1229153360 (LWP 9049)]
[New Thread -1237546064 (LWP 9050)]
[New Thread -1248474192 (LWP 9051)]
[New Thread -1256866896 (LWP 9052)]
Thank you for using PHASEX!
(C) 1999-2007 William Weston <weston(a)sysex.net>
Released under the GNU Public License, Ver. 2
[Thread -1237546064 (LWP 9050) exited]
Program received signal SIG32, Real-time event 32.
[Switching to Thread -1248474192 (LWP 9051)]
0xb7f3d410 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7f3d410 in __kernel_vsyscall ()
#1 0xb7e3dcf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0805050a in engine_thread (arg=0x0) at engine.c:1126
#3 0xb7e3b3dd in start_thread (arg=0xb595cbb0) at pthread_create.c:261
#4 0xb774ec8e in clone () from /lib/libc.so.6
(gdb) The program is running. Exit anyway? (y or n) y
Btw sysex.net(a)sysex.net address you are sending mails from seems to be
wrong.
--
Nedko Arnaudov <GnuPG KeyID: DE1716B0>
The [P]hase [H]armonic [A]dvanced [S]ynthesis [EX]periment, version
0.10.2 is ready for download (source tarball and FC6 RPMs) at:
http://sysex.net/phasex/
This release contains many fixes, most notably better support for
older GTK versions. PHASEX now works with GTK2 versions as low as
2.4.x, which should help most of the build issues on older distros.
Here's everything from the Changelog for this release:
* Fixed typos and omissions in parameter help file.
* Improved error handling and reporting in jack.c.
* Fixed JACK thread shutdown.
* Added Pete Shorthose's patch for saving memory with a single
knob anim.
* Added Lars Luthman's patch for improper style handling in
gtkknob.c.
* Fixed knob centering on middle click drag events.
* Cleaned up style and whitespace in gtkknob.c, added boilerplate.
* Added current midimap file to saved settings.
* Fixed build and runtime problems with GTK versions 2.4 to 2.8
* Fixed invalid setting of patch modified flag on startup.
* Updated error message for unhandled ALSA MIDI errors.
* Fixed passing of debug flags in configure.ac.
* Fixed detection of functions in libm.
* Added install of phasex.desktop to Makefile.am.
* Fixed uninitiailized varibable warnings in midi.c.
* Fixed missed internal update on boolean parameters first
switching to zero.
* Removed dead update_widget_val() in callback.c.
* Disabled engine side of audio ringbuffer locking (easier on JACK).
* Changed name of ALSA MIDI sequencer input port for readability.
* Added project roadmap.
Special thanks go to Pete Shorthose and Lars Luthman for your
patches to the gtkknob code, and to the rest of you for offering
incredible feedback, especially on the build issues and ALSA/JACK
startup issues.
Cheers!
--ww
--
/* William Weston <weston(a)sysex.net> */
Well, it's been over 2 (3?) years since last release, but rtmix refuses to
die ;-). Thanks solely to Robin Gareus and his heroic work in making rtmix
gcc4 compliant, I am releasing rtmix version 0.76. Apart from compile error
fixes (courtesy of Robin), there have been a few cosmetic tweaks, but most
notably, the source is now released under a 100% GPL-compliant license. That
being said, the code is still a dirty hack, the internal event cue
occasionally still misbehaves (albeit only in very complex situations), and
unfortunately native alsa seq is still MIA (uses old unix dev access). OTOH,
the thing does work as advertised, has been used, and continues to be used
in my works without a hitch. Apart from oss midi, rtmix supports networking,
OSC, and other goodness making it rather practical for on-screen
coordination as well as interaction between performer(s) and computer.
For more info on what really rtmix is please consult the HTML documentation
included with the tarball (or see online documentation info below). The
tarball (5MB) comes with source, documentation (some statements in it are
likely a bit outdated, so please take those parts with a grain of salt),
tutorials, and precompiled binary on Ubuntu 6.10 (i686, qt3, gcc), so if you
have these a simple "make install" should do it (installs in
/usr/local/rtmix and binary in /usr/local/bin). For a "simon" tutorial with
sounds you will also need sounds zipfile (11MB-ish) which are downloadable
from the same folder (just browse the folder).
To download latest RTMix click here:
http://ico.bukvic.net/Linux/RTMix/rtmix-latest.tar.gz
Online documentation:
http://ico.bukvic.net/Linux/RTMix/RTMix-docs/
Complaints to: /dev/null
Future roadmap:
Rtmix in its current state is a project in a need of a total rewrite. This
is primarily due to the fact that despite the fact rtmix appears to do the
job in 99.9% of instances, the code is an ugly hack which makes its
maintenance and perhaps more importantly expandability exponentially
difficult. That being said, I am looking forward to one of the upcoming
summers when I will dig into the code once again and rebuild the darn thing
from the ground up the way it was meant to be all along. Until then, this
version should prove an adequate substitute.
Enjoy!
Ivica Ico Bukvic, D.M.A.
Composition, Music Technology, CCTAD, CHCI
Virginia Tech
Dept. of Music - 0240
Blacksburg, VA 24061
(540) 231-1137
(540) 231-5034 (fax)
ico(a)vt.edu
http://www.music.vt.edu/people/faculty/bukvic/http://ico.bukvic.net
William Weston <sysex.net(a)sysex.net> writes:
>> The patch does not help. I beleive the AFAIK the jack_shutdown_handler()
>> is called only when jackd is being shut down, not during jack client
>> shutdown. I added printf in the function and it does not show during
>> phasex shutdown. It appeared however when I tried to stop jackd while
>> phasex was running (and there were some other strange messagest too):
>>
>> # phasex
>> JACK tmpdir identified as [/tmp]
>> cannot read server event (Success)
>> cannot complete execution of the processing graph (Resource temporarily unavailable)
>> zombified - calling shutdown handler
>> jack_shutdown_handler() called.
>
> Finally figured what's going on here. It turns out that the engine
> thread will shut down cleanly, even if currently blocked on the
> pthread_cond_wait() after the jack thread goes away. The segfault
> is being caused by the jack_shutdown_handler() being called from a
> thread other than the jack thread, thus calling jack_deactivate()
> and jack_client_close() from the wrong thread. Try this one:
>
> --- phasex-0.10.2/src/jack.c 2007-05-22 15:38:29.000000000 -0700
> +++ phasex/src/jack.c 2007-05-22 15:38:50.000000000 -0700
> @@ -231,11 +231,6 @@
> *****************************************************************************/
> void
> jack_shutdown_handler(void *arg) {
> - if (client != NULL) {
> - jack_deactivate(client);
> - jack_client_close(client);
> - client = NULL;
> - }
> phasex_shutdown("JACK shut down client.\n");
> }
>
>
> The phasex_shutdown() function already handles a clean shutdown of
> phasex's jack thread (and the jack_deactivate() and
> jack_client_close() calls are already made in the normal thread
> cleanup handler), so this appears to be the best way to handle it.
>
> Let me know if it still gives you any troubles.
[start jackd]
[start phasex]
JACK tmpdir identified as [/tmp]
[stop phasex]
Thank you for using PHASEX!
(C) 1999-2007 William Weston <weston(a)sysex.net>
Released under the GNU Public License, Ver. 2
Segmentation fault
[start phasex]
JACK tmpdir identified as [/tmp]
[stop jackd]
cannot read server event (Success)
cannot complete execution of the processing graph (Resource temporarily unavailable)
zombified - calling shutdown handler
jack_shutdown_handler() called.
JACK shut down client.
Thank you for using PHASEX!
(C) 1999-2007 William Weston <weston(a)sysex.net>
Released under the GNU Public License, Ver. 2
Segmentation fault
As I already noted jack_shutdown_handler() is not called on phasex stop
at all.
--
Nedko Arnaudov <GnuPG KeyID: DE1716B0>
Hi everyone!
I still have the problem: If I try to create more than 2 jack-devices,
LinuxSampler just quits. did anyone else ever experience that problem? Is that
problem known to the LS-crowd? Is it possibly just a restriction, for I get no
error or is it a real bug?
I'd be happy about some answers, for it'd be really a great help in
recording and processing my tracks.
If there's anything I can do to assist in isolating the problem, just tell
me what to do!
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user(a)lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
Alsaplayer 0.99.79
------------------
AlsaPlayer is a new type of PCM player. It is heavily multi-threaded and tries
to excercise the ALSA library and driver quite a bit. It has some very
interesting features unique to Linux/Unix players.
This is a feature enhancement and minor bugfix release.
New features:
Basic keyboard navigation and loop inside a selection have been added.
Bugfix:
A missing include was added; this make at Alsaplayer will compile on never gcc
and non gcc compilers.
ChangeLog from the last release:
* Updated config.guess and config.sub with latest savannah version.
* Added missing include in app/CorePlayer so it will compile with never gcc
and non gcc compilers. Thanks to Debian for this fix.
* Applied Debian patch from Viktor Radnai and Paul Brossier. Add basic
keyboard navigation (skip, pause, etc.), loop mode (looping inside a
selection), pressing play button or key during playback return to the
beginning of the song, speed changes one musical semitone a time using
the keyboard (handy for changing the key the song is played back in).
* Added keyboard shortcuts for speed +/- 1 comma (useful to tune the player
when playing some musical instrument at the same time).
* Updated the man page with those keyboard bindings.
fftscope 1.0.4
--------------
Fftscope is a nice fft scope plugin for Alsaplayer.
This release is a major bugfix release and each user is encouraged to upgrade.
Alsaplayer was crashing at exit time when this scope was installed but not
running. A missing test in the quit function was added.
The compilation flags in Makefile.am was fixed.
Enjoy those 2 new releases!
---------------------------
http://www.alsaplayer.org/http://sourceforge.net/project/showfiles.php?group_id=249
Dominique
--
Dominique Michel
--
N.B.: Tous les emails que je reçois sont filtrés par spamassassin avant de me
parvenir.
As we continue to brave incredible load on our server please allow me to use
this opportunity to extend gratitude to those who have generously offered
their time and talents to keep server in working condition (especially given
our limited bandwidth).
So please give a round of applause to Robin Gareus our interim admin,
Burkhard Ritter, our Linuxaudio.org webmaster, and Marc-Olivier Barre our
listserv admin. Without their collective genius our server would be now a
melted pile of goop!
To give you a perspective on just how incredible their accomplishment has
been please consider the following geek stats:
The download.linuxaudio.org alone has served 2.3TB (yes, Terabytes! :-)
since January 2007, with almost 600GB in May alone. Out of 7500 unique
visitors who actually bothered to visit the site (this is a download
repository so not much to see there), over 70% have actually bookmarked it
(go figure). FYI download.linuxaudio.org (apart from software projects)
mirrors ubuntu studio, 64studio, and jacklab distributions.
Overall, this server appears to serve ~50GB/day across all sites and in 8
days (since cumulative tracking was implemented) it has served little over
400GB with an average of 35-40,000 hits a day.
Best wishes,
Ivica Ico Bukvic, D.M.A.
Linuxaudio.org Director
Virginia Tech
Department of Music - 0240
Blacksburg, VA 24061
(540) 231-1137
(540) 231-5034 (fax)
ico(a)linuxaudio.org
http://linuxaudio.org
Hello list,
I'm trying to directly access an opl3 fm synth on my old sound card, but i'm
unable to find any docs or source code.
Is there anybody who has an experience with this type of synth?
(I was looking into the alsa documentation, it could be simple solution, but
lack of documentation and no examples makes the sound/asound_fm.h rather
cryptic).
thanks,
--
Jozef Henzl
FF8D 8342 CCAF 9568 949D A85A 9A97 A629 C68C F890
http://popcorp.org