expo-juce 0.2.21 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -318,8 +318,9 @@ private:
318
318
  }
319
319
 
320
320
  - (void)setFrequency:(double)frequency {
321
- NSLog(@"[ExpoJuce] setFrequency: %.1f (NO-OP)", frequency);
322
- // DIAGNOSTIC: skip C++ call
321
+ NSLog(@"[ExpoJuce] setFrequency: %.1f, engine=%p", frequency, self.engine);
322
+ if (self.engine) self.engine->setFrequency(frequency);
323
+ NSLog(@"[ExpoJuce] setFrequency done");
323
324
  }
324
325
 
325
326
  - (void)setLevel:(double)level {
@@ -351,13 +352,15 @@ private:
351
352
  }
352
353
 
353
354
  - (void)noteOn {
354
- NSLog(@"[ExpoJuce] noteOn (NO-OP)");
355
- // DIAGNOSTIC: skip C++ call
355
+ NSLog(@"[ExpoJuce] noteOn, engine=%p", self.engine);
356
+ if (self.engine) self.engine->noteOn();
357
+ NSLog(@"[ExpoJuce] noteOn done");
356
358
  }
357
359
 
358
360
  - (void)noteOff {
359
- NSLog(@"[ExpoJuce] noteOff (NO-OP)");
360
- // DIAGNOSTIC: skip C++ call
361
+ NSLog(@"[ExpoJuce] noteOff, engine=%p", self.engine);
362
+ if (self.engine) self.engine->noteOff();
363
+ NSLog(@"[ExpoJuce] noteOff done");
361
364
  }
362
365
 
363
366
  // ── DSP Params ────────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-juce",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "Realtime DSP w/C++ & JUCE",
5
5
  "type": "module",
6
6
  "main": "build/index.js",