LMMS needs coders

Anything that doesn't fit into other topics goes here!
69 posts
Thank you watching it now. :)
I can't say I understand all yet, but I do recognize some stuff from basic.

10 print "Lmms rules" will be

#include <string>
cout << "Lmms rules"

its a start :P

I doubt people who never coded anything should start with this vid, but I like it.

I might also need to do some refreshing on general coding.
But the guy in the vid is already talking about that too.

For now I say, its definitely helping me I know some BASIC, and have been messing with it.

The syntax is quite different, but the principals are not. :)
Been looking at this: https://www.onlinegdb.com/

I started to wonder, gdb sounds familiar.
So I checked what software is installed on my Linux (OpenSUSE tumbleweed)

And Bingo:

Installed:
gdb - A GNU source-level debugger for C, C++, Fortran and other languages

Not installed yet:
gede - Qt-based GUI to GDB

But that will be fixed after this post.

Not surprised suse installs GDB by default. :)
And there is probably by default no gui, but gede fixes that part. :P
Many thanks to all coders who contribute to LMMS! Many thanks for utilizing your special skills in developing this great DAW! You are the true kings! 👑
Monospace wrote:
Thu Mar 17, 2022 4:13 pm
I don't think I can help you beyond that, since I myself know very little about programming. However, I can direct you to the LMMS Discord, which is where the devs usually are- they're not on the forums, you'll have noticed. There, you can ask for help compiling, request resources for learning C++, etc. They can definitely help you a lot more. And there, you can also discuss more easily and directly.
Good luck, GPS, one needs lots of it with programming languages :]
I like to get back to this. You gave very good info which should help people wanting to start coding.

For me personal though, I am not totally new to coding. Watching the C++ vid also made me realize I know more then I thought.
The guy talks about boolean operations. I got those at at school, although it might surprise some, in which contexts.
Pneumatic. Our teachers told us, that every circuit you can make electrical, you can also do pneumatic.
In theory, although not practical, you could build a pneumatic computer. (the cpu part)

Control technology was one of my trades at school.

The math behind pneumatic and electric circuits is the same.

It seems this forum does not allow me to type nor paste boolean formulas.
So I will have to do it with words.
Y= A+ not B for example.

Now I don't want to scare of potential coders. Its not as hard as it might look.
Stuff like this you read ones, and then use it in coding and like with music-theory you read it , and then can forget most of it.

All that formula says, that there is an output Y , when button A is pressed and button B is not pressed.
Some of this is used for safety with dangerous machines.
To start the machine you need both hands, operate two buttons, so you cant stick your hand into the machine while it s working.

Y= A and B in formula form.
Gps wrote:
Sat Mar 19, 2022 3:17 pm
It seems this forum does not allow me to type nor paste boolean formulas.
Not so, you can post formulas
The button to the right : </> is for unformatted ascii chars, or 'code' as it is called
You get a block where indentation and precise usage of all chars, are preserved
Your example Y= A+ not B
would in c++ be

Code: Select all

#include <iostream> //input / output
#include <string> 
using namespace std; //controversial but used a lot
int main()
{
    bool Y, A, B; //3 boolean-states
    Y=false; //Make sure no dangerous event takes place initially
    
    cout<<"Insert state of A & B: "<<endl; //1: True 0: False
    cin>>A>>B; //input 
        if(A&&!B) //boolean expression Y= A+ not B 
            Y=true; //condition is correct
        else Y=false; //all other conditions are WRONG
            cout << Y << endl; //State of the machine
        if(Y) 
            cout<<"All fine"; //check passed
        else //checks failed!!!
            cout<<"DANGER! REMOVE PLUG! ";    
}
You can copy paste this directly into
https://www.onlinegdb.com/
In fact this opens the code in question
https://onlinegdb.com/wKYzRa5gA
It is yet one more great feature in GDB (Share)
Thank you.
Maybe the problem is with the code at the site, were I tried to copy paste from.

I tried using the </> code option here, but pasting did not work, so probably you can't copy paste from that site.

Interesting piece of code. :)
Slightly confused.

Do I need to install just plain qt and or the debugger ?

Its funny, that I am according to openSUSE finally using my Linux version right.
Tumbleweed is aimed at developers they say.

https://doc.qt.io/qtcreator/creator-deb ... gines.html ??

How to make sure I am using C++ 17 ? Install it ?

Are there maybe some pointers at the git hub?

Or use the online gdb ? But thats just for C++, if I understand it right, and not for the gui part which I assume is qt ?
Might this help you? https://github.com/LMMS/lmms/wiki/Compiling
The lmms' github wiki has details on contributing. Also, for any questions, really the best place would be to ask the discord ( https://lmms.io/chat ). There, there are devs and people who have compiled LMMS and/or will have this knowledge. Trust me, the help there- at least on this topic- is much faster, more detailed, and worth any and all possible hassle involved in joining the discord.
Nope that compile page is not helping. Reminds me of me once contributing there.
It looks better now.

There was one for Ubuntu, and I said that basically for opensuse you replace, sudo apt get with sudo zypper. :)

Musikbear wrote something about C++17 with a qt layer.

Right now I am hunting what part and or parts of qt I need to install.

You are right about discord and Github though. I should ask this question there.


Also gonna talk with the openSUSE people. I am wondering about installing a virtual machine. (already have one for win10, but that has nothing to do with LMMS)
So I can keep my install of openSUSE clean, or maybe other ways, were I will set up a separate opensuse for the coding part.

LMAO, I already have somebody on the Linux musicians forum talking about a broken arpeggio in LMMS 1.2.2.
69 posts