Menu

Tree [4ddcc1] master /
 History

HTTPS access


File Date Author Commit
 dats 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...
 doc 2021-07-03 Al-buharie Amjari Al-buharie Amjari [3bd7e9] Add new (test) filter. Fix ambiguities on the d...
 include 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...
 libdfilter 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...
 libdsynth 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...
 memory-leak-detector 2021-05-11 Al-buharie Amjari Al-buharie Amjari [056f56] Fixed memory leaks reported by mem leak detecto...
 share 2021-07-03 Al-buharie Amjari Al-buharie Amjari [3bd7e9] Add new (test) filter. Fix ambiguities on the d...
 sndfilter 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...
 test 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...
 tools 2021-07-03 Al-buharie Amjari Al-buharie Amjari [3bd7e9] Add new (test) filter. Fix ambiguities on the d...
 .gitignore 2021-04-12 Al-buharie Amjari Al-buharie Amjari [108bdc] Checkpoint. Prepare adding new synths. And fixe...
 COPYING.txt 2021-07-07 Al-buharie Amjari Al-buharie Amjari [34acfb] Fixed ambiguity in COPYING.txt. Prepare writing...
 LGPL-2.1.txt 2021-07-03 Al-buharie Amjari Al-buharie Amjari [3bd7e9] Add new (test) filter. Fix ambiguities on the d...
 Makefile 2021-07-07 Al-buharie Amjari Al-buharie Amjari [34acfb] Fixed ambiguity in COPYING.txt. Prepare writing...
 README.md 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...
 bnf.txt 2021-07-11 Al-buharie Amjari Al-buharie Amjari [4ddcc1] Fix double free at sf2.c. Fix -fPIC compilation...

Read Me

Dats

A digital audio text station.

The "Hello World" of dats:

staff pol {
  n 4, c4;
  n 4, d4;
  n 4, e4;
  n 4, f4;
  n 4, g4;
  n 4, a4;
  n 4, b4;
  n 4, c5;
}

master {
  // This uses the synthesizer named "kpa"
  // An implementation of Karplus-Strong Algorithm
  pcm16 kol = synth.kpa(pol);
  write("sample.wav", kol);
}

Execute dats file as dats file.dats

Note: This software is unstable, and more changes will have to come.

PRs are warmly welcomed. Make sure you clang-format -i *.[ch] your source before doing so.

Building

Building Dats requires no dependencies and should compile on Windows and *nix operating
systems, provided that the compiler provides GNU extensions.

*nix

make && make install && make test

Documentation

Tutorial is found at doc directory.

TODO

  • libdsynth - Provides synthesizers.

  • libdfilter - Provides filters for manipulating raw PCM s16le data.

DIR

  • libdsynth - Provides synthesizers.

  • libdfilter - Provides wrappers for filters or filters for manipulating raw PCM
    s16le data.

  • dats - Source code of dats.

  • sndfilter - Provides filters for manipulating raw PCM s16le data.

  • memory-leak-detector - Memory leak detector

  • test - Contain example dats file for testing the Dats interpreter

  • doc - Documentation for dats

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.