On Wednesday, 23 February 2022 at 21:20:53 UTC, WebFreak001 wrote:
On Wednesday, 23 February 2022 at 21:07:25 UTC, solidstate1991 wrote:
https://github.com/ZILtoid1991/pixelperfectengine/releases/tag/v0.10.0-beta.5

After I created my own IO library that has audio features that are easier to interoperate with D code (iota), I decided to finish up my phase modulation (often sold as either frequency modulation or phase distortion too by some brands, with minor tweaks to the underlying math to avoid patent infringement) synthesizer for my game engine. This one uses a simplified math with fixed-length wavetables (can be user supplied too), highly configurable envelops, and has up to 16 voice polyphony if 2 operator mode is used for all channels (8 if channels are combined). It can even do resonant waveforms with some tricks (modulating a sine wave with a triangle wave).

[...]

nice! Any example to play around with?

There are some errors during linking (I think sound related):

My computer configurations:
* Debian GNU 11
* Linux Kernel 5.10.0-11-amd64
* dub-1.22.0
* LLVM D compiler (1.24.0) based on DMD v2.094.1
* gcc (Debian 10.2.1-6) 10.2.1 20210110

pixelperfectengine:windowmakerforconcrete ~master: building configuration "application"...
Linking...
/usr/bin/ld.gold: error: cannot find -lasound
device.d:97: error: undefined reference to 'snd_card_next'
[...]
alsa.d:220: error: undefined reference to 'snd_pcm_drain'
linux.d:227: error: undefined reference to 'snd_lib_error_set_handler'
collect2: error: ld returned 1 exit status
Error: /usr/bin/cc failed with status: 1
ldc2 failed with exit code 1.

Is there anything I can do for this problem?

SDB@79

Reply via email to