modularize core

This commit is contained in:
🪞👃🪞 2024-06-30 22:47:17 +03:00
parent a4061535b5
commit 2837ffff4a
43 changed files with 629 additions and 770 deletions

View file

@ -1,3 +1,5 @@
#![allow(macro_expanded_macro_exports_accessed_by_absolute_paths)]
extern crate clap;
extern crate jack;
extern crate crossterm;
@ -5,15 +7,14 @@ extern crate crossterm;
use clap::{Parser};
use std::error::Error;
pub mod core;
pub mod cli;
pub mod device;
pub mod prelude;
pub mod draw;
pub mod config;
pub mod device;
pub mod layout;
pub mod time;
use crate::prelude::*;
use crate::core::*;
use crate::device::*;
macro_rules! sample {
($note:expr, $name:expr, $src:expr) => {