Commit Graph

28 Commits

Author SHA1 Message Date
Rob Watson 5723985f6a WIP: experiment with passing data between Rust wasm modules 2020-09-17 15:34:38 +02:00
Rob Watson a30ca384b0 Proof-of-concept: load and call player module from core 2020-09-17 13:46:14 +02:00
Rob Watson b7e1dec589 Add empty player subcrate, update build scripts 2020-09-17 11:48:23 +02:00
Rob Watson d7080bcc4b Prefer frontend/core to frontend-core 2020-09-17 06:35:11 +02:00
Rob Watson 080f509385 Move existing code to subcrate 2020-09-16 15:02:15 +02:00
Rob Watson 3c9a59df3f Pass zoom factor properties to Canvas component 2020-09-11 14:45:51 +02:00
Rob Watson 2fc084909e Refactor component structure 2020-09-11 12:38:31 +02:00
Rob Watson a25014ef0d Add sample setInterval call 2020-09-10 22:07:23 +02:00
Rob Watson 7aecf65a86 Switch to development target 2020-09-10 22:06:58 +02:00
Rob Watson 05f0144419 Update atomic variable once per buffer, not once per frame 2020-09-10 18:48:14 +02:00
Rob Watson 2d458651e6 Update player component with current playback position 2020-09-10 18:31:23 +02:00
Rob Watson ba54ab3890 Implement basic playback with cpal 2020-09-10 14:52:45 +02:00
Rob Watson 62fda0fe6c Introduce Arc-based sharing of audio data 2020-09-09 22:06:50 +02:00
Rob Watson 1821eeba14 Add cpal player framework 2020-09-09 17:41:40 +02:00
Rob Watson b6ca40e184 Render multi-channel audio 2020-09-09 11:52:18 +02:00
Rob Watson 4a951c6035 Small clean up 2020-09-09 11:12:49 +02:00
Rob Watson 89866f944b Basic single-channel rendering 2020-09-09 01:25:47 +02:00
Rob Watson 76c978ae1f Add ChunksFixed iterator 2020-09-09 00:46:05 +02:00
Rob Watson 08ee712448 Use a normal Result as AudioAgent output 2020-09-07 21:58:17 +02:00
Rob Watson 07867624be Fix event passing from agent to/from component 2020-09-07 19:50:06 +02:00
Rob Watson 981426b681 Expose PCM data in Rust 2020-09-06 00:02:19 +02:00
Rob Watson a794e7fd28 Add constant, tidy code 2020-09-05 14:37:52 +02:00
Rob Watson e98174470e Implement decode_audio_data step 2020-09-05 14:33:06 +02:00
Rob Watson 9fe3c89ce1 Refactor, add AudioAgent 2020-09-04 17:25:16 +02:00
Rob Watson ef1159c139 Add basic file reading functionality 2020-09-04 13:42:16 +02:00
Rob Watson 083ff74b0c Continue building basic page structure 2020-09-02 18:28:02 +02:00
Rob Watson 54236a7e51 Basic wasm library 2020-09-02 17:46:01 +02:00
Rob Watson d30774b8c0 Initial commit 2020-09-02 17:34:03 +02:00