Skip to content

Problems instantiating an Amplitude object (in Linux) #18

@tim-taylor

Description

@tim-taylor

I'm running Processing 3.3.7 with Sound library 2.0.2 on Linux (Kubuntu 18.04). I'm having problems running the basic Amplitude class example given in the online reference at https://processing.org/reference/libraries/sound/Amplitude.html

Specifically, the Processing IDE gives a red underline of three lines of code. I've attached a screenshot below. The first error is with the Amplitude constructor (see screenshot) - it looks like it doesn't properly recognise the this pointer as a PApplet pointer, which is weird.

screenshot_20181120_162448

The other aspects of the library that I've tried so far are working properly, e.g. SoundFile and the various oscillator classes. This is the first problem I've come across. I've tried removing all libraries from sketchbook/libraries and doing a fresh install of the sound library with no other libraries installed, but get the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions