A machine for treating a fabric (T) with air, comprising a duct for pneumatic transfer of the fabric, means for injecting air into the duct above the fabric and comprising a first diverter valve located substantially at half of the duct and having two channels oriented to direct the air flow (F) introduced into the duct in either direction, said valve having an angularly orientable deflector for entirely or partially blocking access of air to said channels , said deflector being controlled by means of a pneumatic cylinder , characterized in that said pneumatic cylinder is a double action cylinder having two chambers and in that the machine further comprises: - an electronic sensor for measuring the angular position of the deflector ; - means for actuating the pneumatic cylinder comprising two pneumatic solenoid valves arranged in parallel, both being in flow communication with both chambers of the cylinder and having different flow rates, the first pneumatic solenoid valve having a greater flow rate than the second pneumatic solenoid valve , the different flow rates of the two pneumatic solenoid valves causing the operating speeds of the pneumatic cylinder to be higher or lower respectively depending on whether the actuation occurs by means of the first solenoid valve or the second solenoid valve ; and - a control unit (UC) connected to the sensor and to the solenoid valves for detecting the angular position of the deflector and the actuation of the cylinder. having two channels oriented to direct the air flow (F) introduced into the duct in either direction, said valve having an angularly orientable deflector for entirely or partially blocking access of air to said channels , said deflector being controlled by means of a pneumatic cylinder , characterized in that said pneumatic cylinder is a double action cylinder having two chambers and in that the machine further comprises: - an electronic sensor for measuring the angular position of the deflector ; - means for actuating the pneumatic cylinder comprising two pneumatic solenoid valves arranged in parallel, both being in flow communication with both chambers of the cylinder and having different flow rates, the first pneumatic solenoid valve having a greater flow rate than the second pneumatic solenoid valve , the different flow rates of the two pneumatic solenoid valves causing the operating speeds of the pneumatic cylinder to be higher or lower respectively depending on whether the actuation occurs by means of the first solenoid valve or the second solenoid valve ; and - a control unit (UC) connected to the sensor and to the solenoid valves for detecting the angular position of the deflector and the actuation of the cylinder. - an electronic sensor for measuring the angular position of the deflector ; - means for actuating the pneumatic cylinder comprising two pneumatic solenoid valves arranged in parallel, both being in flow communication with both chambers of the cylinder and having different flow rates, the first pneumatic solenoid valve having a greater flow rate than the second pneumatic solenoid valve , the different flow rates of the two pneumatic solenoid valves causing the operating speeds of the pneumatic cylinder to be higher or lower respectively depending on whether the actuation occurs by means of the first solenoid valve or the second solenoid valve ; and - a control unit (UC) connected to the sensor and to the solenoid valves for detecting the angular position of the deflector and the actuation of the cylinder. <EOS>