for the benefit of a capacitor c , the circuit of the figure comprises a charging current source including two transistors 1 and 2 , a discharging current source including two transistors 3 and 4 and a switch including two transistors 7 and 8 . transistor 2 is of the pnp - type whereas all the other transistors of the circuit are of the npn - type . a resistor 5 is arranged in series with a transistor 6 which is connected as a diode and whose base is connected to the base of transistor 1 and to the bases of transistors 3 and 4 . the emitters of transistors 1 , 3 , 4 and 6 are connected to ground . the collector of transistor 1 is connected to a positive 12 v supply voltage via a resistor 9 and a compensating diode . the emitter of transistor 2 is connected to the supply voltage via a resistor 10 of substantially the same value as resistor 9 , while the base is connected to the collector of transistor 1 and the collector to capacitor c . the other terminal of capacitor c is connected to ground . the collectors of transistors 3 and 4 are interconnected and connected to the emitters of transistors 7 and 8 . the collector of transistor 7 is connected to the supply voltage whereas the collector of transistor 8 is connected to capacitor c . if the current flowing through resistor 5 is denoted by i , then it appears from the foregoing that the collector current of transistor 2 is substantially equal to current i . this collector current charges capacitor c . current source 1 , 2 may of course be replaced by a resistor . through the conductor between transistors 3 and 4 on the one hand and transistors 7 and 8 on the other hand , a current flows which is substantially equal to 2i and which is distributed over transistors 7 and 8 in response to drive signals , still further to be described , of these transistors . if transistor 8 conducts while transistor 7 is non - conductive , then a current approximately equal to 2i flows from capacitor c to the collector of transistor 8 , so that capacitor c is discharged by a current i . in these circumstances , a symmetrical triangular voltage is present across the capacitor . it will be obvious that a different choice for the current sources will result in a non - symmetrical voltage shape . if one current is many times larger than the other current , then the generated voltage is a sawtooth voltage . a comparison stage comprising four transistors 11 , 12 , 13 and 14 is connected to capacitor c . the emitters of transistors 11 and 12 are interconnected and connected to a current source 15 . similarly , the emitters of transistors 13 and 14 are interconnected and connected to a current source 16 . the base of transistor 11 and the base of transistor 14 are connected to capacitor c . the series arrangement of three resistors 17 , 18 and 19 is arranged between the supply voltage and ground . the base of transistor 12 is connected to the junction between the resistors 18 and 19 , at which junction a reference voltage of 3 v is present . similarly , the base of transistor 13 is connected to the junction between resistors 17 and 18 , at which junction a reference voltage of 6 v is present . the collectors of transistors 11 and 13 are connected to the supply voltage . in addition , the circuit comprises a bistable switching element in the form of a flip - flop having two transistors 20 and 21 . the emitters thereof are interconnected and connected to a current source 22 . the base of transistor 20 is connected to the collector of transistor 21 , to the collector of transistor 12 and also to the base of transistor 8 . similarly , the base of transistor 21 is connected to the collector of transistor 20 , to the collector of transistor 14 and also to the base of transistor 7 . between a point a , at which a positive supply voltage is present , and the collector of transistor 20 , a resistor 23 is connected , while between point a and the collector of transistor 21 , a resistor 24 is connected . the above - described circuit is well known to a person skilled in the art . during a portion of the period , transistor 8 is non - conductive , so that capacitor c is charged by the collector current of transistor 2 . the voltage v c across the capacitor is more than 3 v but less than 6 v and increases substantially linearly . transistors 11 and 12 form a level detector : transistor 11 conducts and transistor 12 is non - conductive . also the transistors 13 and 14 form a level detector , transistor 13 being conductive while transistor 14 is non - conductive . flip - flop 20 , 21 is in the state in which transistor 20 is non - conductive while transistor 21 conducts . the voltage at the collector of transistor 20 is high while the voltage at the collector of transistor 21 is low , as a result of which transistor 7 is kept in the conductive state and transistor 8 in the non - conductive state . when voltage v c reaches the value 6 v , the transistor 14 is rendered briefly conductive , causing the voltage at the collector of transistor 20 to become lower . flip - flop 20 , 21 switches to the state in which transistor 20 conducts while transistor 21 is non - conductive . this causes transistor 8 to become conductive while transistor 7 is rendered non - conductive . since the current from source 3 , 4 exceeds the collector current of transistor 2 , voltage v c decreases substantially linearly . because of the presence of the flip - flop 20 , 21 , this situation is maintained until voltage v c has reached the value 3 v , causing transistor 12 to become briefly conductive which resets the flip - flop 20 , 21 to the above - described state in which transistor 20 is non - conductive while transistor 21 conducts , the voltage v c generated across capacitor c then increasing again . with the arrangement described , point a is not connected directly to the supply voltage of the circuit but to the emitter of a transistor 28 which operates as an emitter - follower and whose collector is connected to the supply voltage . the emitters of two transistors 25 and 26 are interconnected and connected to a current source 29 . the collector of transistor 26 is connected to the base of a transistor 27 and to a resistor 30 , whose other end is connected to the supply voltage . the base of transistor 25 is connected to capacitor c . the anode of a diode 31 is connected to the emitter of transistor 27 and to the base of transistor 28 , while the cathode is connected to the base of transistor 26 and to a resistor 32 whose other terminal is connected to ground . the emitter current of transistor 25 and the emitter current of transistor 26 are both approximately equal to half the current from source 29 . if there is inequality between these currents , then the negative feedback path comprising transistor 27 and diode 31 ensures a change in the voltage at the base of transistor 26 , causing the difference to become smaller . in this situation , it is assumed that the current gain of the transistors is very high . in these circumstances , the voltage at point a is substantially equal to voltage v c . in the time interval in which voltage v c decreases and transistor 8 is conductive , the voltage at the base of this transistor 8 , which is connected to the collector of the non - conductive transistor 21 , is approximately equal to voltage v c , as the base current of transistors 20 and 28 produce only a small voltage drop across resistor 24 . transistor 8 , the base and collector of which have substantially the same potential , is not saturated and behaves substantially as a conducting diode . the voltage at the emitter is equal to the voltage at the base less the threshold voltage across the said diode . during the period of time in which voltage v c increases , the voltage at the base of the transistor 7 , which is then in the conductive state , which base is connected to the collector of the non - conducting transistor 20 , is approximately equal to voltage v c , as the base currents of transistors 21 and 28 produce only a small voltage drop across resistor 23 . the value of the voltage at the emitter of transistor 7 , and consequently that of transistor 8 , the last - mentioned transistor being non - conductive , differs therefore , little from the value of the same voltage in the conducting state of the transistor 8 . as transistors 7 and 8 switch low voltages and as the transistors are of the npn - type , cutting them off is effected very rapidly on reaching a reference voltage . as is known , npn - transistors have better high - frequency properties than pnp - transistors . the change of state of flip - flop 20 , 21 from one to the other stable state is also effected very rapidly as also this flip - flop comprises npn - transistors which do not go into the saturated state . for this , the values of resistors 23 and 24 and the value of the current from source 22 are chosen such that the variation of the voltage across transistors 20 and 21 is lower than a diode threshold voltage . in a practical embodiment , a triangle generator having a free - running repetition rate of approximately 6 mhz was constructed , the flip - flop switching voltages from 0 . 3 to 0 . 4 v . such a high frequency cannot be reached if point a is connected to the supply voltage in which case both the switch and the flip - flop must switch higher voltages . as in addition , the collector of the non - conductive transistor of the flip - flop carries in this case the potential of the supply voltage , the switch must comprise pnp - transistors . this is shown in fig6 of the u . s . pat . no . 3 , 745 , 367 . with the present circuit , transistor 2 is indeed of the pnp - type but this is a transistor which does not operate as a switch . the present circuit can be integrated in a semiconductor body . at high frequencies , capacitor c has a small capacitance , so that also this capacitor can be integrated in the semiconductor body . in that case resistor 5 , which partly determines the frequency of the generated voltage , is the sole external component of the circuit . in the above - mentioned embodiment , the generator is used as a teletext data clock in a television receiver . the frequency of the generated signal is divided so as to obtain a line - frequency signal whose phase is compared to the phase of the received line synchronizing signal for generating a control signal . the square - wave voltage present at a collector of the flip - flop is used as an output signal of the generator . the control signal is superposed on one of the reference voltages of the comparison stage to extend or shorten , respectively , the period of the triangular wave form . if a higher current gain is desired for the switch , darlington pairs may be substituted for single transistors . because of the additional diode threshold voltages , the voltages at the collectors of transistors 20 and 21 must then be higher , so that the supply voltage of the flip - flop must also be higher than was the case in the foregoing . while voltage v c varies between 3 and 6 v , the voltage at point a must then vary between , for example , 3 . 5 and 6 . 5 v , for which the buffer stage comprising elements 25 to 32 , inclusive , can be adapted in a simple way . in such a case the switching actions are also effected very rapidly and that for the same reasons as in the foregoing . it will moreover be obvious that it is of no real importance for the invention that the variation of the voltage at point a is approximately equal to the variation of voltage v c . for a fast change - over , it is sufficient for the voltage at point a to be of the same order of magnitude as voltage v c , that is to say with a small difference from the latter , and that it varies in the same direction , that is to say becomes higher when voltage v c becomes higher and lower when voltage v c becomes lower . it will also be obvious that the buffer stage which separates capacitor c and point a from each other to prevent the capacitor from being loaded , may be of a different construction than that shown in the figure . the only important element is the emitter - follower 28 , whose base carries a voltage which is higher than the voltage v c by one or more times a diode threshold voltage . the other , known portions of the circuit may also be of a different construction . in the embodiment described , transistors 7 , 8 , 20 and 21 are preferably not transistors of the pnp - type . the description is based on npn transistors i . e . bipolar switching elements the mode of operation of which is predominantly based on electron conduction . it will be obvious that alternatively unipolar switching element , such as field effect transistors , are suitable for the purpose aimed at .