Skip to content
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

Create new SampleBuffer class #89

Open
nwolek opened this issue Feb 29, 2016 · 2 comments
Open

Create new SampleBuffer class #89

nwolek opened this issue Feb 29, 2016 · 2 comments
Assignees

Comments

@nwolek
Copy link
Member

nwolek commented Feb 29, 2016

This should be a subclass of SampleBundle. Features that are more appropriate will move here such as:

  • interpolation
  • padding
  • generate
@nwolek
Copy link
Member Author

nwolek commented Feb 29, 2016

Although our initial design in Florida was motivated by the desire to serve both roles of vectors and buffers, this will potentially add a lot of overhead when SampleBundles are used to pass signals. Therefore, it makes sense at this time to parse these two roles from each other, but maintain a link via subclassing. This realization was made during a Skype between myself and @tap today.

@nwolek
Copy link
Member Author

nwolek commented Apr 19, 2016

After my initial review of the code in JamomaSample.h, these functions will be moved from SampleBundle to SampleBuffer in the subclassing process:

  • paddingSize
  • at
  • generate
  • applySamplePadding
  • applyZeroPadding

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

No branches or pull requests

1 participant