XHip--Please finish your synth!!

VST, AU, AAX, CLAP, etc. Plugin Virtual Instruments Discussion
Post Reply New Topic
RELATED
PRODUCTS

Post

let me see your mockup if you have one and decide if any changes need to be made. i can provide the source for the version i already created so you can use it as a starting point.

Post

Mockup: http://stashbox.org/229158/mockup_all_windows.png

When installing MingW, do I need to install all the compilers?
Also is it possible to make a guicolor switchbutton like the one already in Xhip but for the use in this mockup?

Post

of course, you can do just about anything. certainly if you've already seen me implement something it's possible in any gui.

it's possible to use the mingw installer, if that works for you then great. if not here are the required archives from my server. you could also just check the filenames and download these packages from sourceforge yourself. it requires winrar to extract - if you don't have winrar i'll make a jumbo zip with everything in it for you.

http://xhip.cjb.net/temp/public/binutil ... 9-2.tar.gz 8.4m
http://xhip.cjb.net/temp/public/gcc-cor ... 7-3.tar.gz 2.7m
http://xhip.cjb.net/temp/public/gcc-g++ ... 7-3.tar.gz 3.9m
http://xhip.cjb.net/temp/public/w32api-3.11.tar.gz 1.6m
http://xhip.cjb.net/temp/public/mingw32 ... 6-3.tar.gz 0.2m (this didn't have make.exe for some reason?)
http://xhip.cjb.net/temp/public/gnumake.zip 0.8m

just extract these files to something like c:/code/mingw

then you can extract the xgdb to c:/code/xgdb, or wait for me to upload the new version which i'm working on at the moment. i'll just upload a partial version for you to get started fiddling with and i'll get everything in order that you need for your gui in a day.

put something like this http://xhip.cjb.net/temp/public/start.bat into c:/code/mingw and run it to set the path for the compiler and utilities. you can put a link on your desktop, startmenu or toolbar for this if you want to have quick access. (i use a toolbar icon)

in addition, i have several small utilities you can extract to the mingw/bin directory if you like: http://xhip.cjb.net/temp/public/adapps.zip 36k

(fake miniature rm, ls, eh, and others)

once everything is in place you can edit the makefile for the project you want to compile, such as "standard", and set the correct path (rootpath=c:/code/xgdb), then just type "make" in that directory from the shell and watch it compile the standard.xhipgui which you can then test with your version of xhip.

Post

here is the source for the limeflavour gui i wrote: http://xhip.cjb.net/temp/public/limeflavour.zip 96k

extract this to for example c:/code/xgdb

if that is where you put it you don't even need to edit the makefile.

here is the xgdb library glob: http://xhip.cjb.net/temp/public/library.zip 80k

same thing, c:/code/xgdb

i'm still working on trimming the junk out of the library and cleaning up the source to the xhipgui module, but this should all work fine for you. i need to do a little work on the gsoto style sliders you've used and adjust the pagebox, probably rename it as "pageregion" to allow the side buttons and other features you want. that's really, really minor work, maybe 20 minutes tops. i'm just sleepy now, 11:45pm.

Post

Sleepy? I just woke, 9 in the morning here. :D

I actually don't have time to try making the code now, I'll go away for work soon and will be away atleast til thursday. I'll bring my laptop with me and try to do some work though.

Post

probably you won't be able to do anything useful, but it will be good to play with the code and modify things in that older limeflavour version to start to get to know the code. once you're more comfortable next week i'll have all the other stuff you need to work on your gui.

(the xgdb thing is still sort of alpha.. it's not ready for everyone yet and needs testing. it's usable though of course.)

Post

aciddose wrote:
Is it compiled under VS2005? Or do I need to use MinGW32?
it's easier to use mingw because i can write all the makefiles and stuff for you. the code all works 100% in msvc though and the executables are quite a lot smaller. that could be important if the plugins were getting into the 500k range but i don't consider it a major problem at this point.

i just prefer using gcc because i'm able to unify my whole build process using makefiles, and i prefer the slightly better standards compliance (less extensions and 'optimizations') in gcc in addition to the compiler's smaller size and ease of use. different people have different opinions on ease of use, i'm a shell guy so i like gcc. a gui person might like msvc a lot more and their IDE is absolutely great, no denying that.

you just need to manually add each source file while creating a project and it should compile no problem. i'll be releasing a new version of the gui library and examples soon so please wait for that to do any serious work - but you can check out the existing stuff at http://xhip.cjb.net/xhip/xgdb
For me, I'm fine with either (MSVC or MinGW) as I've used both. I'll wait for your updated library and I think I could also use whatever you have done with gsoto's GUI as a starting point. That should get things going quickly. :)
Peace, my friends. I'm not seeking arguments here. ;)

Post

This one will be short: Aciddose, thank you from the bottom of my heart for all of your hard work, and I freaking mean it. ;) You're the man and a really cool and very intelligent guy. Thank you! I like the way you think, we're so much alike ;). Pitty we can't have a beer or two packs as we're on a different continent :).

Cheers!
It is no measure of health to be well adjusted to a profoundly sick society. - Jiddu Krishnamurti

Post

Hey
I was away for the week end : i see there had more than 5 pages of the whole thread ! :shock:
So, to make it quick for anyoen who followed closely the whole story : is there any Gsoto/Branis/Limflavour guified Xhip available somewhere ?

Thank you !

Post

Don't think so, atleast for me the "coding" will probably take ages. And there's probably no reason for anyone to actually start implementing the skins before the library update aciddose is talking about.
But then I can only speak for myself not for Gsoto or Branis.

Post

ok, thank you for the reply, LimeFlavour

Post

is there any Gsoto/Branis/Limflavour guified Xhip available somewhere ?
http://xhip.cjb.net/upload

i've been using the temp dir for this stuff. no official releases yet of course and xhip is going through a transformation at the moment, updating the patch data format. so far patches are loading into the new format from the old (translation) OK, but it needs some more testing because there are some corner cases. float isn't a really nice format.. there are a lot of places you have to add something like "* 256.002" to get the output correct. dealing with ints is fine for me, but i have to do this to save others from needing to deal with the int code. i tried to avoid it for a long time, damn floats :hihi:

notable would be:
http://xhip.cjb.net/temp/public/limefla ... rx.xhipgui
http://xhip.cjb.net/temp/public/limefla ... ry.xhipgui
http://xhip.cjb.net/temp/public/limefla ... ar.xhipgui

http://xhip.cjb.net/temp/public/one.xhipgui

http://xhip.cjb.net/temp/public/standard.xhipgui

the same version of xhip works with any xhipgui module - and i think they should be backward compatible most of the time.

Post

http://xhip.cjb.net/xhip/xgdb/xgdb_v3.zip

i haven't really done much with the gsoto gui at this point. i've found the regions in the gui holding controls, and now i need to write a small app to divide the mockup into these regions so i can easily calculate all the offsets. i also need to update the gsoto style sliders and a few other things.

i'm attempting to seperate the gui library from all my other code so that it can be maintained without any cross linkages / interference from other projects.

so far only some controls are here, and they're not 100% in the condition i want them, either.

controls are:
http://xhip.cjb.net/xhip/xgdb/controls

so, obviously there are some major problems. one is that the slider control isn't very good, and the main controls should be a little more intelligently designed. for example the button has both a textbox and box object inside it, where it only really needs a textbox. (the 2nd box is redundant!) (fixed this now..)

so, a bit more work to get everything neat and tidy, but things are pretty good as they are. there should be no reason to avoid writing your own controls as well if you need to do that. just follow the same methodology as you see applied in the existing controls and contact me for assistance or advice if needed.

Post

limeflavour has asked me in private about this, and i realize i really need to write documentation and instructions for this stuff to help you guys get started. i think my answer would be better in the thread because it is quite short:
I've downloaded and unpacked all the mingw and xgdb stuff you posted in the Xhip-thread.
I also dowloaded the sources to the limeflavour skin and I've looked a bit in the code (did not change anything yet), the question I have is: How do I compile the sources to a actual xhipgui file?

I don't know if this is the right way but i've tried using the "start.bat" file and navigate to the limeflavour folder and used the command "make" without any sucess.
answer:

the "makefile" file simply contains a line: .include makefile.make

this is because the make program expects to find "makefile" by default, and you can't associate a file based upon contents in windows, nor does windows behave well at all without an extension on the filename. so, i use the "makefile.make" files which can be associated with notepad, or your editor of choice. i recommend notepad2 (1) for those without one.

you need to open the makefile.make file in an editor and adjust the line at the beginning of the file, ("rootpath=c:/code/xgdb"). if this is not the path you have placed the xgdb archive in, you must change it to reflect the true path to the "library" directory. (the makefile attempts to access $(rootpath)/library for the library files.)

if anyone had used the older files i posted, please either remove them or back them up and in their place use the new package at (2). some of my utilities might be useful also, you can get the sources for those at (3). in order to compile them use a command such as:
g++ -Os -fno-rtti -fno-exceptions adls.cpp -o ls.exe
simply adjust the name of the source file and the output executable as desired. once you compile crc32.exe you can for example:
crc32 ".bin"
to get the codes for extensions used in adls.cpp. you can also for example:
toc "mybackground.jpg" > "mybackground.cpp"
to generate a c array version of a data file.

once you have done that, the method limeflavour employed is correct: run start.bat and make your way to the root of the project, then simply type ("make").

the start.bat file also includes a path to ("c:/code/mingw/bin"). if you did not install mingw in this path you must also edit the bat file to reflect the true path to the mingw bin directory.

#1: http://www.flos-freeware.ch/notepad2.html
#2: http://xhip.cjb.net/xhip/xgdb/xgdb_v3.zip
#3: http://xhip.cjb.net/xhip/xgdb/adutilities.zip

Post

is the BRANIS GUI almost ready? :hyper:

Post Reply

Return to “Instruments”