Slow rise and fall on ATtiny 85v

JeanneD4RK:
it works perfectly

I'm sorry to be pedantic, but as your post later indicates, using the phrase "it works perfectly" is dangerous. The circuit may be working, as expected, but without measurements and verification plan that tests for failure, you cannot verify it is "perfect." A minor issue on a breadboard can manifest itself into a non-working circuit board.

So be careful not to trap yourself in that mindset. It worked "as expected."

JeanneD4RK:
on the breadboard, it works perfectly. On the PBC, it does not work, plus the signal rises and falls slowly ONLY on this pin (3rd picture).

You say "the signal" and "this pin" but you never identify the actual pin. Your code refers to the Tiny's pin/port identify but without comments (or reasonable variable name) it isn't clear to me which traces on the schematic/PCB refer to your code. (Sorry, I don't know the Tiny's pinout by memory.)

Also, what you mean by "radio" in this context. Are you using a 433MHz radio module? If so, which one? What are the B1, B2, and B3 connections for? What is the frequency of the signal you're measuring?

JeanneD4RK:
Ok nevermind the problem of slow rise and fall, the problem appeared on the breadboard

That drifting could be a result of the input-filtering of your audio input and not related to the behavior of the circuit.

JeanneD4RK:
Any idea what is causing that ?

Keep in mind that breadboards have very lousy ground paths. From your PCB diagram, I can't tell how you did your ground plane. Without one, any signals operating at a relatively high frequency (10KHz+) is going to suffer quite a bit of noise and ground loops. Did you fill the unused top side and the bottom side of the board with a ground plane?