Paul Davis wrote:
> On Tue, Sep 8, 2009 at 2:39 AM, Clemens Ladisch wrote:
>> Paul Davis wrote:
>>> On Mon, Sep 7, 2009 at 10:54 AM, Clemens Ladisch wrote:
Paul Davis wrote:
> snd_pcm_write() and snd_pcm_read(), IIRC, allow reads&writes of chunks
> of data that are not period-sized.
>>
On Tue, Sep 8, 2009 at 2:39 AM, Clemens Ladisch wrote:
> Paul Davis wrote:
>> On Mon, Sep 7, 2009 at 10:54 AM, Clemens Ladisch wrote:
>>> Paul Davis wrote:
snd_pcm_write() and snd_pcm_read(), IIRC, allow reads&writes of chunks
of data that are not period-sized.
>>>
>>> Yes. So does snd_p
I'm looking for some real time audio analysis software similar to the
melodic range spectrogram in sonic visualizer. Instead of visual output
though, I'm looking for midi output (this can be rough, i'm not going to be
generating audio from it, just trying to check if said notes were played).
I'm n
Hi,
I can't post the source code, but I can post the algorithm: We have
input and output synched. The inputs are set to non-blocking behavior
while the outputs are not. The loop grabs input, and does any
processing it needs to. After that, it detects if any of the streams
are behind more than
Practically, for mmap'able devices in addition to waiting, _readi()
seems to be doing this inside a loop:
snd_pcm_mmap_begin(pcm, &pcm_areas, &pcm_offset, &frames);
snd_pcm_areas_copy(areas, offset,
pcm_areas, pcm_offset,
pcm->ch