An optoelectronic device for frequency discrimination comprising: - an input for a pair of optical waves comprising a first wave at a first frequency (F 1) and a second wave at a second frequency (F 2), said waves not interfering; - means for separating said pair of optical waves into a first branch (V OA) and a second branch (V OB) at the first frequency and at the second frequency; - means (91, 92) for making said first optical wave and said second optical wave interfere in each branch, said means allowing, in each of said branches, a zone of non-interference, called the upstream zone (Zni), to be defined upstream of said interference means (91, 92), and a zone of interference (Zi), called the downstream zone, which is to be defined downstream of said interference means (91, 92) and in which a beat phase is generated at a beat frequency (F 1 -F 2) between said first and second interfering optical waves; - means (31, 32) for generating a delay on at least one of said two branches in a zone of interference; - optoelectronic means (5, 51, 71, 72) for comparing the beat phases of said two waves at the end of the branch providing an electronic or optical comparison signal; characterised in that said device further comprises: - means (41, 42) for generating an additional tuneable delay on one of said first or second optical waves in the zone of non-interference of at least one of said two branches; said first optical wave and said second optical wave not spatially coinciding at the input of said device so as not to interfere, said device comprising means (V OAN, V OBN) for creating a spatial offset between said first and said second optical wave in said zone of non-interference (Zni). - an input for a pair of optical waves comprising a first wave at a first frequency (F 1) and a second wave at a second frequency (F 2), said waves not interfering; - means for separating said pair of optical waves into a first branch (V OA) and a second branch (V OB) at the first frequency and at the second frequency; - means (91, 92) for making said first optical wave and said second optical wave interfere in each branch, said means allowing, in each of said branches, a zone of non-interference, called the upstream zone (Zni), to be defined upstream of said interference means (91, 92), and a zone of interference (Zi), called the downstream zone, which is to be defined downstream of said interference means (91, 92) and in which a beat phase is generated at a beat frequency (F 1 -F 2) between said first and second interfering optical waves; - means (31, 32) for generating a delay on at least one of said two branches in a zone of interference; - optoelectronic means (5, 51, 71, 72) for comparing the beat phases of said two waves at the end of the branch providing an electronic or optical comparison signal; - means (41, 42) for generating an additional tuneable delay on one of said first or second optical waves in the zone of non-interference of at least one of said two branches; said first optical wave and said second optical wave not spatially coinciding at the input of said device so as not to interfere, said device comprising means (V OAN, V OBN) for creating a spatial offset between said first and said second optical wave in said zone of non-interference (Zni).