GithubHelp home page GithubHelp logo

subalterngames / cacophony Goto Github PK

View Code? Open in Web Editor NEW
147.0 7.0 8.0 5.21 MB

Minimalist MIDI Sequencer

Home Page: https://subalterngames.com/cacophony/

License: MIT License

Python 0.53% Rust 94.76% HTML 4.16% CSS 0.55%
ascii-graphics audio midi music music-composition computer-music daw digital-audio-workstation edm electronic-music

cacophony's People

Contributors

alters-mit avatar subalterngames avatar tversteeg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cacophony's Issues

Add Linux install instructions for Arch and Fedora

This issue is probably technically resolved in the sense that I can compile Cacophony on Debian and therefore I know that the feature flags aren't Ubuntu-specific.

I'm not familiar with Arch and Fedora. Can someone add install instructions for those distros (or for others) to the README?

Feature: command line options

I'm willing to create a PR that allows some basic options to be configured with command line flags, such as the data dir. This would mean adding another crate as a dependency for the parsing. Is that in line with the goals of this project?

Linux build options for distros other than ubuntu

I see that the build options for linux are specifically for ubuntu, any chance those will work with other distros? I'm an Arch user and since Arch is a rolling release distro I feel like there could be some problems with dependencies.

I also use nobara, which is a fork of Fedora, (on my steam deck) that gets new system updates about every 6 months and has newer packages than what the latest ubuntu lts release has.

If that isn't the case for rust, then what would I run to build thr software?

cacaphony exists with code 101 on Windows

Hi
I'm working on Windows 11 where I installed rustc 1.74:

PS D:\devts\cacophony> rustc -V
rustc 1.74.0 (79e9716c9 2023-11-13)

I cloned the repo, then ran as explained cargo build --release which ran ok.

...
   Compiling io v0.2.0 (D:\devts\cacophony\io)
   Compiling cacophony v0.2.0 (D:\devts\cacophony)
    Finished release [optimized] target(s) in 4m 28s

Then, I tried cargo test --all with good results: all tests ran did pass (although a fair number of tests were not ran)
Then I copied ./data to ./target/release PS D:\devts\cacophony> mv .\data\ .\target\release\
And finally tried to run cacophony with the following result:

PS D:\devts\cacophony> cargo run --release
    Finished release [optimized] target(s) in 0.42s
     Running `target\release\cacophony.exe`
error: process didn't exit successfully: `target\release\cacophony.exe` (exit code: 101)

No idea of what is happening. I tried to find the 101 error code in the source but didn't find it... (I found that "Currently, Rust sets an exit code of 101 when the process panicked.")
Any idea of what is going wrong?

Provide a way to override default data directory

For distro installations it would probably be convenient to allow maintainers to install the data files in a system location like /usr/share/cacophony/ and then point cacophony at build time to look for those files there instead of the current whatever ./data points to at build time.

I imagine sth like reading a CACOPHONY_BUILD_DATA_DIR variable and setting that as the default if it exists.

Help messages flash by really quick

When I press any of the F2 to F5 buttons, I see a quick flashing red text with an error. I've created a screencast to capture it.

I'm running Debian with Wayland.

cacophony.mp4

OpenBSD: cargo build --release fails with unresolved imports

Hi,

I know nothing about Rust, so I will be grateful for any clues on how to proceed here.

$ uname -a
OpenBSD x395.sweet.home 7.5 GENERIC.MP#82 amd64
$ cargo --version
cargo 1.77.0
$ rustc --version
rustc 1.77.0 (aedd173a2 2024-03-17) (built from a source tarball)
$ cargo build --release
[..]
error[E0432]: unresolved imports `backend::MidiInputPort`, `backend::MidiInput`, `backend::MidiInputConnection`, `backend::MidiOutputPort`, `backend::MidiOutput`, `backend::MidiOutputConnection`
  --> /home/holsta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/midir-0.9.1/src/common.rs:5:5
   |
5  |     MidiInputPort as MidiInputPortImpl,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MidiInputPort` in `backend`
6  |     MidiInput as MidiInputImpl,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MidiInput` in `backend`
7  |     MidiInputConnection as MidiInputConnectionImpl,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MidiInputConnection` in `backend`
8  |     MidiOutputPort as MidiOutputPortImpl,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MidiOutputPort` in `backend`
9  |     MidiOutput as MidiOutputImpl,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MidiOutput` in `backend`
10 |     MidiOutputConnection as MidiOutputConnectionImpl
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MidiOutputConnection` in `backend`
   |
   = help: consider importing this struct through its public re-export instead:
           MidiInputPort
   = help: consider importing this struct through its public re-export instead:
           MidiInput
   = help: consider importing this struct through its public re-export instead:
           MidiInputConnection
   = help: consider importing this struct through its public re-export instead:
           MidiOutputPort
   = help: consider importing this struct through its public re-export instead:
           MidiOutput
   = help: consider importing this struct through its public re-export instead:
           MidiOutputConnection

For more information about this error, try `rustc --explain E0432`.
error: could not compile `midir` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

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.