subalterngames / cacophony Goto Github PK
View Code? Open in Web Editor NEWMinimalist MIDI Sequencer
Home Page: https://subalterngames.com/cacophony/
License: MIT License
Minimalist MIDI Sequencer
Home Page: https://subalterngames.com/cacophony/
License: MIT License
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?
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?
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?
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?
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.
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.
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...
The lint is easy to fix.
@tversteeg Any idea why this test is failing? Is there something wrong with the feature path? Maybe it should be text/speech_dispatcher_0_9 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.