Skip to content

sound library, reference examples not work #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kllsamui opened this issue Apr 23, 2019 · 2 comments
Closed

sound library, reference examples not work #41

kllsamui opened this issue Apr 23, 2019 · 2 comments
Assignees

Comments

@kllsamui
Copy link

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

@kllsamui kllsamui changed the title sound libraray, reference examples not work sound library, reference examples not work Apr 23, 2019
@REAS
Copy link
Member

REAS commented Jul 25, 2019

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

@kevinstadler
Copy link
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!

@kevinstadler kevinstadler transferred this issue from processing/processing-docs Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants