tindleaj / miso Goto Github PK
View Code? Open in Web Editor NEWAmbient soundscape generator
Ambient soundscape generator
It could be could some kind of improvement with some presets or playlists. And you could stop all or start or change playlist.
When running on Windows 10, the project builds successfully (rustc 1.44.0), but panics at runtime with the following stack trace:
Finished release [optimized] target(s) in 0.20s
Running `target\release\miso.exe`
thread 'main' panicked at 'OleInitialize failed! Result was: `RPC_E_CHANGED_MODE`', C:\Users\username\.rustup\toolchains\stable-x8
6_64-pc-windows-msvc\lib/rustlib/src/rust\src\libstd\macros.rs:13:23
stack backtrace:
0: 0x7ff70c15fbcf - backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator\.cargo\registry\src\github.com-1ecc6299db9ec823\backtrace-0.3.46\sr
c\backtrace\mod.rs:66
1: 0x7ff70c15fbcf - std::sys_common::backtrace::_print_fmt
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\sys_common\backtrace.rs:78
2: 0x7ff70c15fbcf - std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\sys_common\backtrace.rs:59
3: 0x7ff70c17470b - core::fmt::write
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libcore\fmt\mod.rs:1069
4: 0x7ff70c15d4bc - std::io::Write::write_fmt<std::sys::windows::stdio::Stderr>
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\io\mod.rs:1504
5: 0x7ff70c162bcc - std::sys_common::backtrace::_print
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\sys_common\backtrace.rs:62
6: 0x7ff70c162bcc - std::sys_common::backtrace::print
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\sys_common\backtrace.rs:49
7: 0x7ff70c162bcc - std::panicking::default_hook::{{closure}}
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\panicking.rs:198
8: 0x7ff70c16280f - std::panicking::default_hook
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\panicking.rs:218
9: 0x7ff70c1633b7 - std::panicking::rust_panic_with_hook
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\panicking.rs:511
10: 0x7ff70bee419d - std::panicking::begin_panic::hbe83ed5127893357
11: 0x7ff70beceb3d - winit::platform_impl::platform::window::Window::new::h6b3e54f4de2dcab7
12: 0x7ff70bec0e9a - iced_winit::application::Application::run::h9f4bdc711db4abcf
13: 0x7ff70bf0650c - <miso::style::Slider as iced_style::slider::StyleSheet>::dragging::h8345cdc197955637
14: 0x7ff70bef76b6 - <iced_native::widget::container::Container<Message,Renderer> as iced_native::widget::Widget<Message,
Renderer>>::on_event::h9948b2e2a3222fdf
15: 0x7ff70c1636da - std::rt::lang_start_internal::{{closure}}
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\rt.rs:52
16: 0x7ff70c1636da - std::panicking::try::do_call
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\panicking.rs:331
17: 0x7ff70c1636da - std::panicking::try
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\panicking.rs:274
18: 0x7ff70c1636da - std::panic::catch_unwind
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\panic.rs:394
19: 0x7ff70c1636da - std::rt::lang_start_internal
at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4\/src\libstd\rt.rs:51
20: 0x7ff70bf06547 - main
21: 0x7ff70c214120 - invoke_main
at d:\agent\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
22: 0x7ff70c214120 - __scrt_common_main_seh
at d:\agent\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
23: 0x7ff9369e7bd4 - BaseThreadInitThunk
24: 0x7ff93706ce51 - RtlUserThreadStart
error: process didn't exit successfully: `target\release\miso.exe` (exit code: 101)
cargo run --release
Downloaded iced v0.1.1
Downloaded rodio v0.11.0
Downloaded iced_futures v0.1.2
Downloaded iced_winit v0.1.0
Downloaded iced_wgpu v0.2.3
Downloaded minimp3 v0.3.5
Downloaded hound v3.4.0
Downloaded claxon v0.4.2
Downloaded cpal v0.11.0
Downloaded lewton v0.10.1
Downloaded futures v0.3.5
Downloaded glam v0.8.7
Downloaded guillotiere v0.4.4
Downloaded window_clipboard v0.1.1
Downloaded minimp3-sys v0.3.2
Downloaded winit v0.22.2
Downloaded iced_style v0.1.0
Downloaded raw-window-handle v0.3.3
Downloaded iced_native v0.2.2
Downloaded glyph_brush v0.6.3
Downloaded font-kit v0.4.0
Downloaded slice-deque v0.3.0
Downloaded wgpu_glyph v0.7.0
Downloaded futures-sink v0.3.5
Downloaded percent-encoding v2.1.0
Downloaded futures-util v0.3.5
Downloaded futures-executor v0.3.5
Downloaded parking_lot v0.10.2
Downloaded mio-extras v2.0.6
Downloaded rusttype v0.8.3
Downloaded clipboard_x11 v0.1.0
Downloaded ordered-float v1.0.2
Downloaded futures-channel v0.3.5
Downloaded futures-task v0.3.5
Downloaded cc v1.0.54
Downloaded futures-core v0.3.5
Downloaded futures-io v0.3.5
Downloaded mio v0.6.22
Downloaded twox-hash v1.5.0
Downloaded clipboard_wayland v0.1.0
Downloaded glyph_brush_layout v0.1.9
Downloaded ogg v0.7.0
Downloaded thiserror v1.0.18
Downloaded instant v0.1.4
Downloaded svg_fmt v0.2.1
Downloaded euclid v0.19.9
Downloaded libc v0.2.70
Downloaded wgpu v0.4.0
Downloaded x11-dl v2.18.5
Downloaded iced_core v0.2.1
Downloaded rustc-hash v1.1.0
Downloaded tinyvec v0.3.3
Downloaded alsa-sys v0.1.2
Downloaded once_cell v1.4.0
Downloaded wayland-client v0.23.6
Downloaded iovec v0.1.4
Downloaded parking_lot_core v0.7.2
Downloaded smithay-client-toolkit v0.6.6
Downloaded net2 v0.2.34
Downloaded num_cpus v1.13.0
Downloaded proc-macro-hack v0.5.16
Downloaded pkg-config v0.3.17
Downloaded lyon_path v0.14.0
Downloaded maybe-uninit v2.0.0
Downloaded slab v0.4.2
Downloaded smithay-clipboard v0.3.7
Downloaded lock_api v0.3.4
Downloaded crossbeam-deque v0.7.3
Downloaded wgpu-native v0.4.3
Downloaded stb_truetype v0.3.1
Downloaded lazycell v1.2.1
Downloaded dirs v1.0.5
Downloaded freetype v0.4.1
Downloaded pin-utils v0.1.0
Downloaded approx v0.3.2
Downloaded thiserror-impl v1.0.18
Downloaded euclid_macros v0.1.0
Downloaded servo-fontconfig v0.4.0
Downloaded futures-macro v0.3.5
Downloaded float-ord v0.2.0
Downloaded memmap v0.7.0
Downloaded proc-macro-nested v0.1.4
Downloaded pin-project v0.4.19
Downloaded euclid v0.20.13
Downloaded xi-unicode v0.2.0
Downloaded downcast-rs v1.1.1
Downloaded smallvec v1.4.0
Downloaded smallvec v0.6.13
Downloaded crossbeam-epoch v0.8.2
Downloaded xcb v0.9.0
Downloaded gfx-backend-empty v0.4.0
Downloaded fxhash v0.2.1
Downloaded dlib v0.4.2
Downloaded scopeguard v1.1.0
Downloaded gfx-hal v0.4.1
Downloaded calloop v0.4.4
Downloaded zerocopy v0.2.8
Downloaded arrayvec v0.5.1
Downloaded rendy-descriptor v0.5.1
Downloaded gfx-backend-vulkan v0.4.3
Downloaded proc-macro2 v1.0.13
Downloaded copyless v0.1.5
Downloaded wayland-scanner v0.23.6
Downloaded nix v0.14.1
Downloaded wayland-protocols v0.23.6
Downloaded wayland-commons v0.23.6
Downloaded pin-project-internal v0.4.19
Downloaded lyon_geom v0.14.1
Downloaded servo-fontconfig-sys v4.0.9
Downloaded wayland-sys v0.23.6
Downloaded rendy-memory v0.5.2
Downloaded servo-freetype-sys v4.0.5
Downloaded parking_lot v0.9.0
Downloaded andrew v0.2.1
Downloaded memoffset v0.5.4
Downloaded relevant v0.4.2
Downloaded void v1.0.2
Downloaded libloading v0.6.2
Downloaded arrayvec v0.4.12
Downloaded x11 v2.18.2
Downloaded xml-rs v0.8.3
Downloaded ash v0.29.0
Downloaded cmake v0.1.44
Downloaded nodrop v0.1.14
Downloaded expat-sys v2.1.6
Downloaded xdg v2.2.0
Downloaded zerocopy-derive v0.1.4
Downloaded hibitset v0.6.3
Downloaded rustc_version v0.2.3
Downloaded parking_lot_core v0.6.2
Downloaded line_drawing v0.7.0
Downloaded colorful v0.2.1
Downloaded rusttype v0.7.9
Downloaded shared_library v0.1.9
Downloaded semver v0.9.0
Downloaded atom v0.3.5
Downloaded synstructure v0.10.2
Compiling libc v0.2.70
Compiling cfg-if v0.1.10
Compiling autocfg v1.0.0
Compiling pkg-config v0.3.17
Compiling lazy_static v1.4.0
Compiling maybe-uninit v2.0.0
Compiling log v0.4.8
Compiling proc-macro2 v0.4.30
Compiling byteorder v1.3.4
Compiling unicode-xid v0.1.0
Compiling bitflags v1.2.1
Compiling slab v0.4.2
Compiling scopeguard v1.1.0
Compiling cc v1.0.54
Compiling proc-macro2 v1.0.13
Compiling unicode-xid v0.2.0
Compiling syn v1.0.30
Compiling xml-rs v0.8.3
Compiling rustc-hash v1.1.0
Compiling linked-hash-map v0.5.3
Compiling libloading v0.6.2
Compiling semver-parser v0.7.0
Compiling nix v0.14.1
Compiling void v1.0.2
Compiling syn v0.15.44
Compiling getrandom v0.1.14
Compiling same-file v1.0.6
Compiling lazycell v1.2.1
Compiling proc-macro-nested v0.1.4
Compiling memchr v2.3.3
Compiling futures-sink v0.3.5
Compiling proc-macro-hack v0.5.16
Compiling downcast-rs v1.1.1
Compiling futures-core v0.3.5
Compiling ppv-lite86 v0.2.8
Compiling once_cell v1.4.0
Compiling futures-io v0.3.5
Compiling pin-utils v0.1.0
Compiling xdg v2.2.0
Compiling arrayvec v0.4.12
Compiling atom v0.3.5
Compiling colorful v0.2.1
Compiling arrayvec v0.5.1
Compiling nodrop v0.1.14
Compiling smallvec v1.4.0
Compiling iced_core v0.2.1
Compiling vec_map v0.8.2
Compiling copyless v0.1.5
Compiling xi-unicode v0.2.0
Compiling glam v0.8.7
Compiling unicode-segmentation v1.6.0
Compiling float-ord v0.2.0
Compiling instant v0.1.4
Compiling percent-encoding v2.1.0
Compiling svg_fmt v0.2.1
Compiling cpal v0.11.0
Compiling tinyvec v0.3.3
Compiling claxon v0.4.2
Compiling hound v3.4.0
Compiling lock_api v0.3.4
Compiling cmake v0.1.44
Compiling semver v0.9.0
Compiling num-traits v0.2.11
Compiling crossbeam-utils v0.7.2
Compiling memoffset v0.5.4
Compiling crossbeam-epoch v0.8.2
Compiling walkdir v2.3.1
Compiling futures-channel v0.3.5
Compiling futures-task v0.3.5
Compiling x11 v2.18.2
Compiling servo-fontconfig-sys v4.0.9
Compiling alsa-sys v0.1.2
Compiling x11-dl v2.18.5
Compiling hibitset v0.6.3
Compiling iced_style v0.1.0
Compiling rustc_version v0.2.3
error: failed to run custom build command for `alsa-sys v0.1.2`
Caused by:
process didn't exit successfully: `/home/agil/miso/target/release/build/alsa-sys-16fb38f8aec8d979/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"alsa\"` did not exit successfully: exit code: 1\n--- stderr\nPackage alsa was not found in the pkg-config search path.\nPerhaps you should add the directory containing `alsa.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'alsa\' found\n"', /home/agil/.cargo/registry/src/github.com-1ecc6299db9ec823/alsa-sys-0.1.2/build.rs:4:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
Program panics on window close. Debian Linux with pulseaudio.
Finished release [optimized] target(s) in 0.07s
Running `target/release/miso`
thread 'thread 'thread 'thread '<unnamed><unnamed><unnamed><unnamed>' panicked at '' panicked at '' panicked at '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvErrorcalled `Result::unwrap()` on an `Err` value: RecvErrorcalled `Result::unwrap()` on an `Err` value: RecvErrorcalled `Result::unwrap()` on an `Err` value: RecvError', ', ', ', src/player.rssrc/player.rssrc/player.rssrc/player.rs::::59595959::::23232323
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
$ cargo run --release
warning: unused label
--> src/player.rs:53:13
|
53 | 'player: loop {
| ^^^^^^^
|
= note: `#[warn(unused_labels)]` on by default
warning: variant is never constructed: `Stop`
--> src/player.rs:15:5
|
15 | Stop,
| ^^^^
|
= note: `#[warn(dead_code)]` on by default
Finished release [optimized] target(s) in 0.61s
Running `target/release/miso`
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/agil/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-native-0.4.3/src/instance.rs:474:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'thread 'thread '<unnamed><unnamed><unnamed>' panicked at '' panicked at '' panicked at 'called `Result::unwrap()` on an `Err` value: RecvErrorthread 'called `Result::unwrap()` on an `Err` value: RecvErrorcalled `Result::unwrap()` on an `Err` value: RecvError', <unnamed>', ', src/player.rssrc/player.rssrc/player.rs:' panicked at 'thread 'thread '<unnamed><unnamed>thread 'thread '' panicked at '' panicked at '<unnamed>called `Result::unwrap()` on an `Err` value: RecvError<unnamed>called `Result::unwrap()` on an `Err` value: RecvError' panicked at '', ', src/player.rs' panicked at 'called `Result::unwrap()` on an `Err` value: RecvErrorthread 'src/player.rscalled `Result::unwrap()` on an `Err` value: RecvError<unnamed>', ' panicked at ':', src/player.rscalled `Result::unwrap()` on an `Err` value: RecvError57src/player.rs:', ::57src/player.rs2357::
:235723
:
23
:57:23
:57:23
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/player.rs:57:23
thread '57<unnamed>thread ':' panicked at '<unnamed>called `Result::unwrap()` on an `Err` value: RecvError' panicked at '57', called `Result::unwrap()` on an `Err` value: RecvError:src/player.rs', 23:src/player.rs
57::5723:
23
:23
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.