D audio playing and analysis library?

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 28 08:20:42 PDT 2015


On 29/04/2015 3:00 a.m., ponce wrote:
> On Tuesday, 28 April 2015 at 11:18:14 UTC, Gan wrote:
>> I found this: https://github.com/p0nce/dplug
>>
>> Which seems to be a good analysis library but I haven't found a
>> library to play sounds.
>> Is there one?
>
> SDL2 can through DerelictSDL2 (use the mixer extension for easier
> playback).
> D-SFML can probably too.
>
>
> Out of Topic: we need what ae.utils.graphics does for images, but for
> sound! A good abstraction for audio data and processors would be welcome.
> Vanilla ranges do not cut it since it would need the additional concept of:
>
> - clearing the state (setting delaylines to 0)
> - separate channels that can be stored interleaved or not. Samples would
> be indexed by time and channel index. I feel like samplerate can be left
> out of the equation, it will almost always be a runtime value.

I've seriously considered in the past to implement a library just like 
Devisualization.Window but for sound. Unfortunately my knowledge of 
sound/music isn't good enough to do so.



More information about the Digitalmars-d mailing list