bgaster / aa_standalone Goto Github PK
View Code? Open in Web Editor NEWAudio Anywhere Standalone Desktop Application
Audio Anywhere Standalone Desktop Application
Currently the standalone application builds on windows, but when loaded the UI for instruments do not load.
The issue turns out to be that on Windows 10, Edge is used, if the feature is enabled, which is necessary to use any modern JS. It seems that unlike web-kit on Mac OS and Gtk-webkit2 on Linux, Edge has some funny behavior with respect to dynamically loading iframes. Many of the current UIs call directly into loaded JS for communicating with the hosting process, using a function called evoke, without indexing via the parent.
In Edge this does not seem to work!
It is unclear to me if this should always work or is just an extended feature of Web-kit. Anyhow the fix for this issue is to use the parent, the main index page that dynamically loads an instruments UI, to communicate with the underlying host. In truth this seems like a more robust abstraction anyway and so moving all UIs to this model seems a valid approach.
I've prototyped this approach with Nuke synth to use this approach and it is now working as expected.
First off, thank you for a great project! I have been meaning to try something similar too. However, I have run into several issues with the build process on Ubuntu (WSL, actually):
Building aa_standalone
fails with
Compiling midir v0.6.2 (https://github.com/bgaster/midir#0bc86b9a)
error[E0308]: mismatched types
--> /home/xxxxxxxx/.cargo/git/checkouts/midir-eba5c0209c46141b/0bc86b9/src/backend/alsa/mod.rs:654:45
|
654 | Err(ref e) if e.errno() == Some(self::nix::errno::Errno::ENOSPC) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `nix::errno::consts::Errno`, found enum `backend::alsa::nix::errno::Errno`
|
= note: perhaps two different versions of crate `nix` are being used?
error[E0308]: mismatched types
--> /home/xxxxxxxx/.cargo/git/checkouts/midir-eba5c0209c46141b/0bc86b9/src/backend/alsa/mod.rs:658:45
|
658 | Err(ref e) if e.errno() == Some(self::nix::errno::Errno::EAGAIN) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `nix::errno::consts::Errno`, found enum `backend::alsa::nix::errno::Errno`
|
= note: perhaps two different versions of crate `nix` are being used?
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
error: could not compile `midir`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
Since midir
(and all other git-dependencies for that matter) are included without a commit and aa_wasmtime
is referenced by relative path instead of a repository, these dependencies may have gotten out of sync. As a solution, I would suggest adding a specific revision like so:
[dependencies]
rand = { git = "https://github.com/rust-lang-nursery/rand.git", rev = "9f35b8e" }
As you probably have a combination that works, it would be great if you could tag the specific revisions that work for you, thanks!
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.