Search found 7 matches

by humt
Tue Jul 07, 2020 2:56 pm
Forum: VST 3 SDK
Topic: Loading wav sample
Replies: 3
Views: 19

Re: Loading wav sample

Thanks a ton. Here my current setup. Each of the wav data is stored in files wav0.h to wav128.h . static std::vector<float> wav0 ={ .wav data here) I have a file audio_data.h class AudioData { public: static std::vector<float> getAudioVector(int pitch); }; Then I have the corresponding audio_data.cp...
by humt
Tue Jul 07, 2020 10:13 am
Forum: VST 3 SDK
Topic: Loading wav sample
Replies: 3
Views: 19

Loading wav sample

I am trying to build a sample based VST instrument. I have my samples ready and currently I have stored the data as static array of floats in header files which are then compiled directly. However since they are statically compiled, the samples take up memory space irrespective of wether i need them...
by humt
Fri Apr 03, 2020 9:41 pm
Forum: VST 3 SDK
Topic: Supporting both 32bit and 64 bit sample size without getting ugly
Replies: 1
Views: 166

Supporting both 32bit and 64 bit sample size without getting ugly

Hi Friends, I am developing my first plugin with VST SDK. I would like to know how to deal with the choice between Sample32 and/or Sample64. I built a 32 bit prototype and was happy with the results. Next I tried to introduce support for both 32bit and 64 bit using C++ template and the code started ...
by humt
Wed Apr 01, 2020 12:43 pm
Forum: VSTGUI
Topic: Custom Font with VSTGUI4
Replies: 2
Views: 193

Re: Custom Font with VSTGUI4

I found some reference here.. viewtopic.php?f=5&t=595
by humt
Tue Mar 31, 2020 10:09 pm
Forum: VSTGUI
Topic: Custom Font with VSTGUI4
Replies: 2
Views: 193

Custom Font with VSTGUI4

Hi Friends,

Is it possible to use custom font (added as say a ..ttf or .otf resource) for controls say for CTextLabel ?
Could not find anything in the documentation.

Thanks a lot
by humt
Tue Mar 24, 2020 3:12 pm
Forum: VST 3 SDK
Topic: Adelay use of tempBufferPos
Replies: 3
Views: 207

Re: Adelay use of tempBufferPos

Your implementation works only for one channel. That's why there is the temporary variable in the ADelay example, to let it work for any channel count. Thanks and sorry if my inital post was not very clear. `mCircularBuffers` is a 2d array , so its an array where the first index represent the chann...
by humt
Tue Mar 24, 2020 8:33 am
Forum: VST 3 SDK
Topic: Adelay use of tempBufferPos
Replies: 3
Views: 207

Adelay use of tempBufferPos

Good day freinds ! I am trying to understand the circular buffer implementation inside the 'adelay' sample plugin provided in the SDK folder. Here's the section that does the audio processing. int32 numChannels = SpeakerArr::getChannelCount (arr); int32 delayInSamples = std::max<int32> (1, (int32)(m...