2022-10-06 04:12:22 +02:00
|
|
|
# jacket
|
|
|
|
|
2022-10-06 15:16:57 +02:00
|
|
|
A [Nim] wrapper for the [JACK] [C API]
|
|
|
|
|
|
|
|
|
2022-10-10 20:35:36 +02:00
|
|
|
## Project status
|
|
|
|
|
|
|
|
This software is in *alpha status* and has no official release yet.
|
|
|
|
|
2023-05-24 09:48:15 +02:00
|
|
|
The majority of JACK client APIs have been wrapped and are functional (see
|
|
|
|
[examples]), but some APIs (e.g. threading and ringbuffers) still need
|
|
|
|
wrapping. Others, like the server control or the deprecated session API, will
|
|
|
|
probably not covered by these bindings. While this project is in alpha or beta
|
|
|
|
stage, symbol names may still be changed and things moved around before the
|
|
|
|
first public release.
|
2022-10-10 20:35:36 +02:00
|
|
|
|
|
|
|
Also, I plan to add a higher-level abstraction on top of the direct mapping
|
|
|
|
from Nim procs and types to C functions and types, probably in the form of
|
2022-10-10 21:02:18 +02:00
|
|
|
a JACK client object, which takes care of creating a JACK client instance,
|
|
|
|
registering ports and setting up all the callbacks necessary for a well-behaved
|
|
|
|
JACK application.
|
2022-10-10 20:35:36 +02:00
|
|
|
|
|
|
|
|
2022-10-11 00:15:42 +02:00
|
|
|
## Installation
|
2022-10-10 20:35:36 +02:00
|
|
|
|
|
|
|
* Clone this repository.
|
|
|
|
* Change into the `jacket` directory.
|
|
|
|
* Run [`nimble install`] (or `nimble develop`).
|
2023-05-24 09:48:15 +02:00
|
|
|
* Run the examples with `nim compile --run examples/<example>.nim` (some also
|
|
|
|
need `--threads:on`).
|
2022-10-10 20:35:36 +02:00
|
|
|
|
|
|
|
|
2022-10-06 15:16:57 +02:00
|
|
|
## License
|
|
|
|
|
|
|
|
This software is released under the *MIT License*. See the [LICENSE](./LICENSE)
|
|
|
|
file for more information.
|
|
|
|
|
|
|
|
|
2022-10-10 20:35:36 +02:00
|
|
|
[`nimble install`]: https://github.com/nim-lang/nimble#nimble-usage
|
2022-10-06 15:16:57 +02:00
|
|
|
[C API]: https://jackaudio.org/api/
|
2022-10-10 20:35:36 +02:00
|
|
|
[examples]: ./examples
|
2022-10-06 15:16:57 +02:00
|
|
|
[JACK]: https://jackaudio.org/
|
|
|
|
[Nim]: https://nim-lang.org/
|