jamoma / jamoma2

A header-only C++ library for building dynamic and reflexive systems with an emphasis on audio and media.
MIT License
30 stars 6 forks source link

Create new SampleBuffer class #89

Open nwolek opened 8 years ago

nwolek commented 8 years ago

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

nwolek commented 8 years ago

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 commented 8 years ago

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