Search found 84 matches

by pongasoft
Sun Sep 15, 2019 4:31 pm
Forum: VSTGUI
Topic: Bitmap with 2 frames issue
Replies: 2
Views: 20

Re: Bitmap with 2 frames issue

I have not checked the code for my theory but this is what I think is happening: * because I am on macOS with HiDPI screen and I don't provide a 2x version of the image, the original image (which contains 2 frames) is scaled up. * the process of scaling the image up introduces artifacts which ends u...
by pongasoft
Sat Sep 14, 2019 6:01 pm
Forum: VSTGUI
Topic: Bitmap with 2 frames issue
Replies: 2
Views: 20

Bitmap with 2 frames issue

Hello I have the following bitmap with 2 frames: button_2frames.png The bitmap has a size of 26x52 (2 frames each 26x26). If I use this bitmap with an OnOff button and set the "size" to 26, 26, I end up with the following rendered button 1x.png As you can see there is a thin line at the very bottom ...
by pongasoft
Mon Sep 09, 2019 4:10 pm
Forum: VST 3 SDK
Topic: What DAWs use to differentiate plugins?
Replies: 2
Views: 82

Re: What DAWs use to differentiate plugins?

Yes I do confirm that it works... here is what I ended up doing: #ifndef NDEBUG static const ::Steinberg::FUID JambaTestPluginProcessorUID(0x1a410f8a, 0xbfb94a04, 0x9cf832e0, 0xd3f0e2ee); static const ::Steinberg::FUID JambaTestPluginControllerUID(0xf831107a, 0x489b4284, 0xbe16d9db, 0xe12bb012); #de...
by pongasoft
Sun Sep 08, 2019 3:35 pm
Forum: VST 3 SDK
Topic: What DAWs use to differentiate plugins?
Replies: 2
Views: 82

What DAWs use to differentiate plugins?

I have the following use case: On macOS, I build my plugin with all debug symbols and I generate a "~/Library/Audio/Plug-ins/VST3/VAC-6V_Debug.vst3" folder. I also build for "release" without debug symbols and I generate a "~/Library/Audio/Plug-ins/VST3/VAC-6V.vst3" folder. When I use the VST3 Plugi...
by pongasoft
Mon Sep 02, 2019 3:00 pm
Forum: VSTGUI
Topic: String128 -> UTF8String conversion
Replies: 1
Views: 74

Re: String128 -> UTF8String conversion

I think I found an answer in the code: https://github.com/steinbergmedia/vstgui/blob/bb93128afc4509e74d8556891b1f03647a1a9660/vstgui/plugin-bindings/vst3editor.cpp#L213 bool convertValueToString (float value, char utf8String[256]) { if (parameter) { Steinberg::Vst::String128 utf16Str; if (parameter ...
by pongasoft
Mon Sep 02, 2019 1:11 pm
Forum: VSTGUI
Topic: String128 -> UTF8String conversion
Replies: 1
Views: 74

String128 -> UTF8String conversion

The VST SDK api deal with char16 (through TChar), for example IEditController::getParamStringByValue (ParamID id, ParamValue valueNormalized /*in*/, String128 string /*out*/) where String128 is a TChar[128] array. VSTGUI defines the UTF8String and uses it in throughout (like CTextLabel). Is there a ...
by pongasoft
Wed Aug 28, 2019 1:34 pm
Forum: VST 3 SDK
Topic: Clarification of parameter handling in VST 3
Replies: 4
Views: 172

Re: Clarification of parameter handling in VST 3

I don't have authoritative answers since I did not write the VST SDK, but as the dev for jamba (https://jamba.dev) I do have some hands on experience. For #1, you can do beginEdit(paramID); performEdit(paramID, <value1>); performEdit(paramID, <value2>); performEdit(paramID, <value3>); performEdit(pa...
by pongasoft
Wed Aug 14, 2019 3:02 pm
Forum: VSTGUI
Topic: How to apply a transformation?
Replies: 1
Views: 90

How to apply a transformation?

I am implementing a custom view and I would like to have a "rotation" attribute that would rotate the drawing. So I would like to implement something like this: void MyCustomView::Draw(CDrawContext *ctx) { if(fRotation != 0) { // save state // apply rotation } ctx->draw... ctx->draw... ctx->draw... ...
by pongasoft
Sun Aug 04, 2019 2:22 pm
Forum: VST 3 SDK
Topic: SDK API
Replies: 2
Views: 202

Re: SDK API

Thank you. This helps a lot.

Yan
by pongasoft
Sat Aug 03, 2019 5:47 pm
Forum: VST 3 SDK
Topic: SDK API
Replies: 2
Views: 202

SDK API

Hello In short: If I wanted to write a VST3 host only what are the folders that are necessary and what are the ones that I can ignore? When I look at the VST3 sdk it comes with a lot of folders and subfolders and it is hard to know what is the "pure" VST3 API, and by that I mean, the classes/apis th...