mrkev Github contribution chart
mrkev Github Stats
mrkev Most Used Languages

Activity

14 Sep 2022

Mrkev

started

Started On 14 Sep 2022 at 12:59:01

Mrkev

fix for build on prepare to support git install

Pushed On 10 Sep 2022 at 08:48:59

Mrkev

Add missing language tag

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Bump version number

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Merge pull request #6 from Smona/fix-readme-highlighting

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Migrate test to typescript

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Fix project typescript configuration

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Add test type definition

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Scope down packaged npm build

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

bump webpack version to fix type error

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Add prepublish safeguards

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Expand test cases

They will now check using multiple (possibly offline) audio contexts, and include tools in the page for testing the audio output.

I've reverted the test dsp to a simple noise generator to get some audio to test, but this harness will evolve over time to test the faust output and types more thoroughly.

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Fix loading DSPs into multiple audio contexts

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Add TODO reminder

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Merge pull request #8 from Smona/multi-audio-contexts

Support multiple (possibly offline) audio contexts

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

Version 1.2.2

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

fork to make it work without standardized-audio-context

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

build on prepare to support git install

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

include build

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

autobind some methods

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

use workspace typescript in vscode

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

update dependencies

Pushed On 10 Sep 2022 at 08:44:43

Mrkev

test

Created On 10 Sep 2022 at 08:33:33
Create Branch
Mrkev In mrkev/faust-loader Create Branchchanges

Mrkev

Webpack loader for Faust .dsp files

On 10 Sep 2022 at 08:31:50
Create Branch
Mrkev In mrkev/faust-loader Create Branchsmona

Mrkev

Webpack loader for Faust .dsp files

On 10 Sep 2022 at 08:31:22
Issue Comment

Mrkev

`OfflineAudioContext` support

Hello! First and foremost, a huge thanks for working on faust-loader. I'm using it for a project and it's great!

I'm wondering what's blocking support for OfflineAudioContext. I'm implementing "bouncing" functionality in which I try to render a stream, as quickly as possible, into a buffer, but currently I have to do so bypassing faust effects on that stream because I use OfflineAudioContext to achieve it. If it's something I can help with I'd be happy to lend a hand.

Forked On 10 Sep 2022 at 08:26:18

Mrkev

Awesome @Smona! I haven't worked on the project in question since I posted this issue, but I'm looking forward to trying it out. Thanks for looking into this 🙏

Commented On 10 Sep 2022 at 08:26:18
Issue Comment

Mrkev

`OfflineAudioContext` support

Hello! First and foremost, a huge thanks for working on faust-loader. I'm using it for a project and it's great!

I'm wondering what's blocking support for OfflineAudioContext. I'm implementing "bouncing" functionality in which I try to render a stream, as quickly as possible, into a buffer, but currently I have to do so bypassing faust effects on that stream because I use OfflineAudioContext to achieve it. If it's something I can help with I'd be happy to lend a hand.

Forked On 05 Sep 2022 at 11:39:53

Mrkev

Last update, I ended up commenting out the lines that check the cache real quick:

 if (existing) { 
     return existing; 
 } 

No exceptions! The bounce works! Unfortunately it generates a buffer with no audio; it's a completely mute wav. I guess I just confirmed at least API-wise one could swap the AudioContext for the OfflineAudioContext and get no errors, but getting no audio back seems to be back in the realm of "could OfflineAudioContext acutally be used though?". Logging off for real now though. ✌️

Commented On 05 Sep 2022 at 11:39:53
Issue Comment

Mrkev

`OfflineAudioContext` support

Hello! First and foremost, a huge thanks for working on faust-loader. I'm using it for a project and it's great!

I'm wondering what's blocking support for OfflineAudioContext. I'm implementing "bouncing" functionality in which I try to render a stream, as quickly as possible, into a buffer, but currently I have to do so bypassing faust effects on that stream because I use OfflineAudioContext to achieve it. If it's something I can help with I'd be happy to lend a hand.

Forked On 05 Sep 2022 at 11:30:11

Mrkev

I had a quick look and I think I know what's creating at least the immediate exception in my app. There's this cache for modules, so that modules that have already been added aren't added again.

https://github.com/Smona/faust-loader/blob/8c6ff651ee3a6e95dda93f6dba2d219bcc9ee9ad/src/loadProcessor.ts#L21-L30

This cache doesn't consider the context they were added to, just the URL. So it returns a module that has been initialized to another context in my application (since I use a normal AudioContext at initialization, but am trying to initialize these modules with in OfflineAudioContext afterwards, when the user tries to bounce the tracks).

This explains at least one of the errors I get:

loadProcessor.js:144 DOMException: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'Panner' is not defined in AudioWorkletGlobalScope. 

The node is certainly not defined in AudioWorkletGlobalScope, because we skipped that part and returned one that's defined in another audio context!

I'll try to fiddle with this (maybe not today though).

Commented On 05 Sep 2022 at 11:30:11

Mrkev

started

Started On 05 Sep 2022 at 10:52:18

Mrkev

started

Started On 05 Sep 2022 at 10:12:05
Started

Mrkev

started

Started On 05 Sep 2022 at 10:03:47

Mrkev

started

Started On 04 Sep 2022 at 11:37:54

Mrkev

add checker

Pushed On 30 Aug 2022 at 07:19:02

Mrkev

nice scope errors

Pushed On 30 Aug 2022 at 12:30:49

Mrkev

anonymous function literals

Pushed On 29 Aug 2022 at 11:08:14

Mrkev

fixes to map, list literals

Pushed On 29 Aug 2022 at 11:53:41

Mrkev

add list and map literals

Pushed On 29 Aug 2022 at 11:43:45

Mrkev

work

Pushed On 26 Aug 2022 at 11:07:35

Mrkev

compile expressions

Pushed On 03 Aug 2022 at 10:17:04

Mrkev

add to-TypeScript complier

Pushed On 29 Jul 2022 at 02:35:18

Mrkev

update dependencies and add nodes

Pushed On 26 Jul 2022 at 11:10:48

Mrkev

add booleans

Pushed On 26 Jul 2022 at 11:10:22

Mrkev

bindings on pattern matching, scoping

Pushed On 26 Jul 2022 at 10:23:04

Mrkev

idk work

Pushed On 25 Jul 2022 at 04:17:52

Mrkev

Bump tzinfo from 1.2.7 to 1.2.10

Bumps tzinfo from 1.2.7 to 1.2.10.


updated-dependencies:

  • dependency-name: tzinfo dependency-type: indirect ...

Signed-off-by: dependabot[bot] support@github.com

Pushed On 22 Jul 2022 at 01:18:54

Mrkev

Merge pull request #12 from mrkev/dependabot/bundler/tzinfo-1.2.10

Pushed On 22 Jul 2022 at 01:18:54

Mrkev

Bump tzinfo from 1.2.7 to 1.2.10

Created On 22 Jul 2022 at 01:18:50

Mrkev

nested type identifiers

Pushed On 19 Jul 2022 at 02:09:05