Closed MonteLogic closed 3 years ago
I'm going to try to iterate over a grid item.
I think I'm going to have to iterate over textButton and treat it like a button with extra functionaility.
So basically have that sampler look inside of a textButton.
I gotta split the LoadSaveXml file into a header file and .cpp file.
I think I just might re write it from scratch, cloning the og github made by tap. Then add the two files with Projucer. Figure out the button object dilema and go with it.
I can delete the BasicText and replace it with a component that displays list.
just start it off by average volume of a sample. Then assign that an int then plavce that in ascending order in the table.
The buffer track has to be analyzed once, i got this implemented, i am going to build upon it by using ff_meters.
https://youtu.be/VC4GCpvIIOE?t=1196
================================== Plugin processor . cpp
AudioBuffer
{
// get the last added synth sound as a SamplerSound*
auto sound = dynamic_cast<SamplerSound*>(mSampler.getSound(mSampler.getNumSounds() - 1).get());
if (sound)
{
return *sound->getAudioData();
}
// just in case it somehow happens that the sound doesn't exist or isn't a SamplerSound,
// return a static instance of an empty AudioBuffer here...
static AudioBuffer<float> dummybuffer;
return dummybuffer;
}
==================================
PluginProcessor.h
void processBlock (AudioBuffer<float>&, MidiBuffer&) override;
AudioBuffer<float>& getWaveForm();
====================================
===================================
I am going to have to add a button that says, add to list.
Then another button that says view list, and an option to examine that list.
The view list button will be to the right of the volume button and above the view list button will be an add to list button.
The list logic to begin this process is already in the ManyVoxV1 project that is there at this particular moment.
In order to add the view list button I am going to have to add the display code to line 121. As well as on line 14 of MainPanel.cpp
I think I am going to have to use the verbose option of making a header file and .cpp file and then expanding upon it as the baseline logic for the button.
Error List: "DisplayTable::DisplayTable(const DisplayTable &) " (declared at line 64 of "C:\Users\foo\Desktop\simpleAudioPlayerJUCE\Source\DisplayTable.h) is inaccessible.
Focusing on adding ListBox