Code Monkey home page Code Monkey logo

bats's Introduction

Bats

Bats is a free and open source (WIP) groovebox for Linux.

Global Key Bindings

Key Action
Up/Down Navigate between menu itmes.
Left/Right Adjust selected value.
Esc Go back to previous menu.
Enter Select menu item.

Plugins

Toof

A polyphonic sawtooth wave instrument.

Building

Bats is built with the cargo build command. To build and run the relase version, run cargo run --release. The required dependencies to build Bats are libraries and development libraries for jack. See the "Building" section of ./.github/workflows/testing.yml for the specific dependencies on Ubuntu Linux.

Tools

  • Cargo - Cargo is used for building, testing, and other utilities.
  • Cargo Flamegraph - Cargo utility for benchmarking the binary live and producing a visualization.

Code Coverage

CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test
grcov . --binary-path ./target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/html
find . -name "*.profraw" -delete
xdg-open target/coverage/html/html/index.html

Benchmarking

Microbenchmarks are built using criterion and can be run with cargo bench. Additionally, flamegraphs can be made with cargo flamegraph.

# Creates flamegraph.svg after program exits.
cargo flamegraph

bats's People

Contributors

wmedrano avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.