Text this: Generating femtosecond pulses in the mid-IR and THz ranges in GaSe1 − x Te xcrystals