I used to play tennis at La Pontaise, Olympic stadium of Lausanne. They have couple of courts and are open from 0700 and till 2200. I was playing with someone who was a member, but non-members can also play but at a different fee. In fact most of courts accept non-members.
You have to reserve a court in advance. Members can reserve online. For non-members you usually reserve there directly just prior your play. For the Lausanne one you can reserve at their restaurant. And it is 35 chf per reservation if am not mistaken. But you usually can check online their reservation before going so you know when it is free.
If you chose to be a member I am not sure how much it is for the one in Lausanne but it is anything between 300 and 500 chf per month depending on the court.
Here goes their website https://sites.google.com/site/tennislausannesport/
Hope it helps and good luck.