Peace be upon you and God's mercy and blessings.
Ayatollah Khamenei (may God protect him):
Musical instruments that are commonly recognized as permissible and can be used in a non-entertaining manner for lawful purposes are allowed. However, instruments that are generally considered to be specifically for entertainment and lead people away from the path of God are not permissible to use.
Instruments that are typically used in entertainment that diverts from the path of God and causes intellectual or doctrinal deviation, or leads to sin, and do not have a lawful benefit, are considered instruments of entertainment.
Ayatollah Sistani (may God protect him):
Music that is suitable for entertainment and play, such as that played with instruments like the oud, tambour, qanun, and lyre, is forbidden like singing. As for other types, such as military and funeral music, it is also advisable to avoid them.
May you be successful in all good.