❤️ My pleasure to review your piece ❤️
I'll take from the beginning for more clarity.
Write your nuances cause it's really important for us to be able to feel how tragic or calm you want your music to be and how it changes. ❤️
You are definitly adopting a contrapuntal style in the beginning and it makes total sense with Baroque music. There are at minimum 3 principles that structure this kind of composing.
Counterpoint definition: https://en.wikipedia.org/wiki/Counterpoint
1) Melodic quality: Counter point is a style that revolves around vocality and polyphony (wich is how to combine melodic lines). The quality of the melody is always important. As personnal or traditionnal the melodies you compose can be, the more interesting they are on their own the better. When you play them separatly idealy they should be epxressive, have their own purpose like their own personnality.
-For exmaple bar 3 to 5: The Viola melody (and therefore the Cello line) seems a little bit systematic wich makes the line predictable. Although you are making a strict canon in this short passage wich is very clever, the systematism of the line makes it a little too rigid.
Here a random example from the Bach's canons: https://imslp.simssa.ca/files/imglnks/usimg/f/f7/IMSLP88821-PMLP18465-BWV_1073.pdf. If you look at the melody used for this canon, the melody doesn't repeat itself too much because it is already going to be repeated through the other voices during the canon.
2) Rythmic complementarity: It is important for the clarity and the interaction between the lines and the motifs you are using.
bar 3 -5 is a good example of the kind of things you can do with rythms: Viola plays half notes when Contrabass plays quarter notes and the opposite and your motif alternates from one voice to the other. They are not stepping on each other toes. It's the same thing as in a conversation, you don't want two people to talk about complicated unrelated things at the same time.
3) Harmony and intervals between notes. When two voices are playing at the same time you can hear intervals between them (example at bar 1 you wrote a 3rd then a 5th, 8ve,6th, 8ve). The sequence of intervals created by these two voices singing together determines a lot how well your counterpoint is going to sound.
Whitout talking about how counterpoint uses intervals traditionnally I'd just say that the first thing to do is to play your piece slowly listening to these intervals and judging if you like how they succeed to each other.
*🧁You can look at that if you want it's written with two voices only 🧁
Bach 15 Inventions https://ks.imslp.net/files/imglnks/usimg/6/6b/IMSLP396133-PMLP03267-Bach,_Johann_Sebastian-Werke_Breitkopf_Band_3_01_BWV_772-786.pdf
🐞In your piece you can begin by trying to avoid writing things too similar between your two instruments. For example bar 9-10 they both play the same things in octaves but it won't sound very good. At bar 14-18 The Cb. is playing the octave of Viola on each first quarter note, same it won't sound very well returning every beat on the octave. It is also very true to be carefull with the writing of the Contrabass that can easily overwhelm your Viola part with too much quarter notes.
I hope it Helps ! 🦸♂️