Skip to content

sound library, reference examples not work #41

Closed

Description

@kllsamui

Issue description

all examples
cue, duration, jump, resize, read, write, pan, samplerate …
use like
sample = new AudioSample(this, 100000, 22050);

URL(s) of affected page(s)

one of them
https://processing.org/reference/libraries/sound/AudioSample_write_.html

Proposed fix

change all related examples using: stereo
sample = new AudioSample(this, 100000,false, 22050);

ref

https://discourse.processing.org/t/constructors-given-in-sound-library-documentation-not-working/10563/4

Activity

  1. changed the title [-]sound libraray, reference examples not work[/-] [+]sound library, reference examples not work[/+] on Apr 23, 2019
  2. REAS commented on Jul 25, 2019

    @REAS
    Member

    Hey, @kevinstadler, please have a look at this and advise.

  3. kevinstadler commented on Jul 25, 2019

    @kevinstadler
    Collaborator

    AudioSample(PApplet parent, int numFrames, int frameRate) should be a valid constructor actually, but for some reason I left it commented out in the final version. I will add it with an upcoming bugfix release (2.2.3).

    @kllsamui the examples should be working again with the Sound library update, hopefully out some time next week!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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