On Friday 10 October 2003 19.19, [EMAIL PROTECTED] wrote:
[...]
> quiet interesting ;)
>
> Could you give me a short idea howto mix two
> signals/stream/oscilators/whatever ??
The actual mixing is just a matter of adding the signals together.
You'll have to make sure the result doesn't overflow (
On Friday 10 October 2003 11:31, [EMAIL PROTECTED] wrote:
> Hello !
>
> I've read somewhere that it is not possible that threads write different
> data to /dev/dsp. But how does Cheesetracker, for example, make it then?
>
In cheesetracker, only one thread writes to the DSP and manages audio
.. the
On Fri, Oct 10, 2003 at 11:14:17PM +0300, Jussi Laako wrote:
> On Fri, 2003-10-10 at 19:28, Paul Davis wrote:
>
> > you need to additively mix your two signals. writing them to DSP
> > orders them sequentially in time. it doesn't mix them.
>
> The commercial OSS driver does mixing and samplerate
>On Fri, 2003-10-10 at 19:28, Paul Davis wrote:
>
>> you need to additively mix your two signals. writing them to DSP
>> orders them sequentially in time. it doesn't mix them.
>
>The commercial OSS driver does mixing and samplerate conversion.
not of two sequential read(2) calls. please.
On Fri, 2003-10-10 at 19:28, Paul Davis wrote:
> you need to additively mix your two signals. writing them to DSP
> orders them sequentially in time. it doesn't mix them.
The commercial OSS driver does mixing and samplerate conversion.
--
Jussi Laako <[EMAIL PROTECTED]>
directBOX Reply ---
From: [EMAIL PROTECTED]
To : [EMAIL PROTECTED]
Date: 10.10.2003 19:17:01
On Friday 10 October 2003 17.41, [EMAIL PROTECTED] wrote:
[...]
> But well, If I synthize ( ? spelling) two signals and want to send
> them at the same time to the device, my firs
On Friday 10 October 2003 17.41, [EMAIL PROTECTED] wrote:
[...]
> But well, If I synthize ( ? spelling) two signals and want to send
> them at the same time to the device, my first idea'd be:
> 1.) Open /dev/dsp, maybe O_NONBLOCK | O_WRONLY
> 2.) thread
> 3.) two threads calculate the both signals
>But well, If I synthize ( ? spelling) two signals and want to send them at th
>e same time
>to the device, my first idea'd be:
>1.) Open /dev/dsp, maybe O_NONBLOCK | O_WRONLY
>2.) thread
>3.) two threads calculate the both signals
>4.) sync them
>5.) two threads write their signals to /dev/dsp
>6
directBOX Reply ---
From: [EMAIL PROTECTED]
To : [EMAIL PROTECTED]
Date: 10.10.2003 17:37:43
>Hello !
>
>I've read somewhere that it is not possible that threads write different data to /
>dev/dsp.
>But how does Cheesetracker, for example, make it then?
i don't how chees
>Hello !
>
>I've read somewhere that it is not possible that threads write different data to /
>dev/dsp.
>But how does Cheesetracker, for example, make it then?
i don't how cheesetracker does it, but it requires user-space
synchronization (e.g. pthread_mutex_(un)lock). with ALSA, you don't
need t
Hello !
I've read somewhere that it is not possible that threads write different data to
/dev/dsp.
But how does Cheesetracker, for example, make it then?
Sascha Retzki
__
Verpassen Sie keine eBay-Auktion und bieten Sie bequem
und schnell über da
11 matches
Mail list logo