Hi,
on my quest to understand the ALSA API, I created a little Image to
get an overview about the various states and how they relate to each
other.
http://propirate.net/oracle/bilder/ALSA.png
Hopefully I got everyting right, can you have a look at this image and
tell me whether this is correct?
Thanks
-Richard
Hi,
I'm still trying to grok alsa, and now I have the following problem:
I'm using snd_pcm_writei to playback some audio, however, after a
little time the call fails with the error: "File descriptor in bad
state", which I believe I cannot recover from.
Why does this happen, and what could I do about this?
cat /proc/asound/card0/pcm0p/sub0/* prints the following stuff, I
don't know whether this is helpful?
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 8192
buffer_size: 16384
tick_time: 1000
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: VIA 8235
name: VIA 8235
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 4
subdevices_avail: 3
64
state: RUNNING
trigger_time: 1143205215.076663000
tstamp : 1143205216.323831000
delay : 13856
avail : 2528
avail_max : 14368
-----
hw_ptr : 59872
appl_ptr : 73728
tstamp_mode: NONE
period_step: 1
sleep_min: 0
avail_min: 8192
xfer_align: 8192
start_threshold: 1
stop_threshold: 16384
silence_threshold: 0
silence_size: 0
boundary: 1073741824
On Mon, 27 Mar 2006 00:49:04 +0200
Florian Schmidt <mista.tapas(a)gmx.net> wrote:
> http://tapas.affenbande.org/?page_id=42
Oh and i forgot to ask a question:
What is the canonical way for a gtk app to receive hotkey press events
regardless of window focus?
Flo
--
Palimm Palimm!
http://tapas.affenbande.org
PDX7 V2
In 2001, I started learning Pd. The first bigger patch I did was a six
operator FM synthesizer loosely modelled after the famous DX7, which I
called PDX7. Now it's five years later and not only in retrospect
this first patch is quite a mess. But I still like the sounds it
generates. In the meantime I learned a lot more about Pd and about a
lot of other things. So I thought, why not celebrate the fifth
anniversary of me doing Pd, the fifth "birthday" with a cleaner
version of the PDX7, that maybe others can understand to use as well.
The result is the PDX7 V2.
Read and hear more at: http://footils.org/cms/show/51
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
Download from http://ccrma.stanford.edu/~kjetil/src/
Snd-ls v0.9.5.4
================
Contains
--------
Snd v7.15 from 17.8.2005
About
-----
Snd-ls is a distribution of the sound editor Snd. Its target is
people that don't know scheme very well, and don't want
to spend too much time configuring Snd. It can also serve
as a quick introduction to Snd and how it can be set up.
Changes 0.9.5.3 -> 0.9.5.4
--------------------------
-Changed default resampling quality to SRC_SINC_BEST_QUALITY
-Added workaround for shift-handling across various keyboard settings.
(shortcuts for zoom in and undo works with american keyboards now.)
-Added check for Guile 1.8. Snd-ls crashes with guile 1.8.
(all versions I have tried of 1.7 seems to work though...)
-Use JackPortIsPhysical instead of "alsa_pcm" when finding jack ports.
-Updated the rt stuff to latest versions.
***************************************
***************************************
Das_Watchdog V0.2.1
===================
About
-----
Das_Watchdog is a general watchdog for the linux operating system that
should be runned in the background at all times to ensure a realtime
process won't hang the machine.
Changes 0.2.0->0.2.1
--------------------
*Cleaned up source a bit.
*Properly find number of timer processes.
*Added shortcuts for optargs.
netjack-0.10 comes with a huge quality improvement to alsa_in and
alsa_out.
its now ready for prime time.
try alsa_out -f 10000 and listen...
--
torben Hohn
http://galan.sourceforge.net -- The graphical Audio language
-- oops, the first one was sent as a reply, here's the whole thing as a
new thread.
frustrated by the poor implementation of the jack bindings for python
(pyjack), i wrote my own in native python using ctypes.
the first test client mixed a 440hz sine wave using native python lists,
and the cpu usage was about ~11%.
i reimplemented the sine generator with numerics, and got it down to
~2%.
i believe that considering the overhead of the python implementation,
that result isn't too bad, and maybe allows for more than just
prototyping.
i attached the jack wrapper with the test client contained for those who
are interested. its not entirely wrapped and lacks some functionality.
--
-- leonard "paniq" ritter
-- http://www.mjoo.org
-- http://www.paniq.org
Hi all,
this mail is just to inform you that registration for the 4th International
Linux Audio Conference (or "LAC2006" for short), APril 27th-30th, in Karlsruhe,
Germany, is possible as of now by visiting our web page at
http://lac.zkm.de
and clicking on the link "Registration" on the left.
Like last year (and the years before), registration is free and is only
necessary because we need to prepare nametags, make estimations about
room sizes/required chairs and want to learn a bit about our audience.
That's all, honestly! :-). Information given there will NOT be used for
any kind of selling, spamming or otherwise abusing.
Also, the preliminary conference program has been published a few weeks
ago, available through the same link give above.
Thanks for registering in case you plan to come!
Greetings,
Frank Neumann
Goetz Dipper
LAC2006 organization team
> i intend to release an application, which allows to
> use VST(i)s running on an XP machine from
> a linux jack client, hooked up over ethernet.
If all the code is your own, consider the approach we
used in dssi-vst, which is to use the GPL plus an
exception to allow for the unavailability of VSTSDK
sources.
It won't be GPL-compatible or "Debian" free, but
nothing will be if not all the source is available, and I
think it best expresses the intention -- if your
preference would naturally be for the GPL, that is.
Meanwhile, write and remind Steinberg that their
license could be more helpful to developers of
Windows and Linux plugins and hosts. It won't be
news and there's no real reason they should care,
but it's worth a nudge that these things matter to
people, including those who would like to promote,
recommend and use their standard.
As it happens I'm also shortly about to release a
Windows plugin host that is not at all in competition
with Steinberg products, but that can't host VSTs
for licensing reasons and will use DSSI plugins
instead. Hosting audio plugins is not a major part of
this program so the difference isn't going to be all
that significant to me or anyone else, but it's an
interesting situation.
Chris