mdac
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Mac Desktop Audio Capture

Setup

# Install MacOSX<version>.sdk and clang
xcode-select --install
# nodejs and cmake-js tools
brew install nodejs pnpm cmake ninja
# also compatible with npm/yarn
pnpm install

Building

# this will automatically build the addon in Release mode
pnpm install
# you can also build in Release mode using this task
pnpm build
# build in Debug mode
pnpm build:dev

Adding as a dependency

Use "mdac": "git+ssh://git@github.com:fs4k/synth-mdac.git" to use this package as a dependency. It will be automatically built on installing. Any issue with webpack or electron should be due to the addon binary and/or resolving paths

Logging

The PLOG_LEVEL level controls the logging severity of the addon. It is info by default.

# all the available levels
# it is case insensitive
# only the first letter is significant (you can skip the rest)
export PLOG_LEVEL=verbose
export PLOG_LEVEL=debug
export PLOG_LEVEL=info # default
export PLOG_LEVEL=warning
export PLOG_LEVEL=error
export PLOG_LEVEL=fatal

Examples

Are in the tests folder

pnpm test:rms
pnpm test:electron
pnpm test:cmake

Readme

Keywords

none

Package Sidebar

Install

npm i mdac

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

952 kB

Total Files

10

Last publish

Collaborators

  • synthit