Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

[sound] "...only works properly when the sketch is run as a 32-bit application"

$
0
0

Hey there! I've been using the sound library, and most of it works fine. However, when I try to generate a sinewave as follows:

import processing.sound.*;
SinOsc sine;

void setup() {
  size(640, 360);
  background(255);

  // Create the sine oscillator.
  sine = new SinOsc(this);
  sine.play();
}

void draw() {
}

I get the following error:

"A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application."

I get this error when I try and use any of Sound's oscillators (SinOsc, SawOsc, SqrOsc, TriOsc, Pulse), but not other features of this library.

I'm running 64-bit windows 10, Intel core i7-3610QM CPU @ 2.3GHz, 8GB RAM, Java v7 update 80 build 1.7.0_80-b15.

Any ideas why?


Viewing all articles
Browse latest Browse all 2896

Trending Articles