the front of the tape deck 1 of the tape player of fig1 has a cartridge mounting slot ( not shown in the figs .) via which a tape cartridge 2 is inserted . a cartridge guide 11 extends to the inside of the tape player along the cartridge mounting slot . a capstan shaft 3 is in the contact with the magnetic tape 21 accommodated in the tape cartridge 2 . the capstan shaft 3 drives the tape 21 by the friction force between said shaft and said tape , and is provided at the rear of the tape deck 1 . a magnetic tape head 4 picks up or records signal information on the magnetic tape 21 . the capstan shaft 3 has a flywheel 31 , which is freely rotatable around said shaft . the flywheel 31 is coupled to a driving motor 33 via a flat drive belt 32 . the magnetic tape head 4 is mounted on the tape deck 1 together with the head shift device , so that said head may shift freely on the multitrack tape 21 . fig2 and 3 illustrate the mounting apparatus of the tape head . the tape head 4 is affixed in a u - shaped bracket 41 via screws 42 . the u - shaped bracket 41 is mounted on one side 41a of a cam follower 5 by a screw 43 and is mounted on the other side 41b of said cam follower via a spring 44 and an azimuth adjusting screw 45 . therefore , when the azimuth adjusting screw 45 is rotated right or left , the tape head 4 rotates in a desired direction around the center of the screw 43 , making it possible to adjust the azimuth of said tape head for the magnet tape 21 . the cam follower 5 is mounted on a main shaft 13 which is mounted on the sub - chassis 12 on the tape deck 1 and can move only in the vertical direction . the rotation of the cam follower 5 is restricted because the contact relation between the tape head 4 and the magnetic tape 21 must be maintained normal . this is realized by engaging a notch 51 formed at one end of the cam follower 5 with a mechaniclly supporting rib 34a formed on the outer case ( capstan housing ) 34 of the capstan shaft 3 . the capstan housing 34 is molded on the sub - chassis 12 . the cam follower 5 is always urged or pushed upward by a spring 52 provided between the sub - chassis 12 and said cam follower . a boss 53 on the upper surface of the cam follower 5 is in direct contact with a cam surface 61 of a cam 6 . the cam 6 is mounted on the shaft 13 and may rotate and move in vertical directions . several cam surfaces 61 are provided at the lower surface of the cam 6 at different heights above the sub - chassis 12 . the cam surfaces 61 respectively correspond to the position of each track of the multitrack magnetic tape 21 . the cam 6 has a ratchet wheel 7 and moves and rotates together with said ratchet wheel 7 as it moves . fig6 illustrates the mounting of the ratchet wheel 7 on the cam 6 . as shown in fig6 a flat area 67 is formed at the hub of the cam 6 and the ratchet wheel 7 in order to prevent relative rotation between said cam and said ratchet wheel . the ratchet wheel 7 and the cam 6 rotate together , as a unit , since said ratchet wheel is tightly fitted onto said cam , besides being keyed thereto , in the aforedescribed manner . an auxiliary chassis 14 is affixed to a rear wall 15 of the sub - chassis 12 and extends between the cam 6 and the ratchet wheel 7 . the shaft 13 passes through the auxiliary chassis 14 . the auxiliary chassis 14 has a circular electrical pattern ( not shown in the figs .) at the surface around an axial hole 14a through said auxiliary chassis . the electrical pattern forms a change - over switch 70 with an electrical contact 71 provided at the lower surface of the ratchet wheel 7 and may serve for program indication of the tape player by cooperation with lamps ( not shown in the figs .) which display the track position on the magnetic tape used , the cam surface position of the cam 6 and the program name . the upper end of the shaft 13 is slightly tapered down and is externally threaded . a washer 16 and a nut 17 are mounted on the tapered end of the shaft 13 . the washer 16 and the ratchet wheel 7 are positioned above and below a spring 18 , which always pushes the ratchet wheel downward . this maintains the electrical contact 71 in firm electrical contact with the electrical pattern on the auxiliary chassis 14 . in the aforedescribed structure , the shift operation of the tape head 4 is as follows . when the ratchet wheel 7 rotates , the cam 6 also rotates . when the cam 6 rotates , the boss 53 of the cam follower 5 contacts the cam surfaces of other cams , thus shifting said cam follower in a vertical direction along the shaft 13 . this results in upward or downward vertical shifting of the tape head 4 . the rotation of the ratchet wheel 7 is limited to a specified angle , which is 90 ° in the illustrated example , and the upper surface of the cam 6 is also leveled corresponding to said angle . thus , the tape head 4 is shifted so that it corresponds to different tracks on the magnetic tape 21 used each time the ratchet wheel 7 rotates a specified angle . when the nut 17 is rotated clockwise or counterclockwise , the cam 6 and the cam follower 5 may move vertically along the main shaft 13 due to the vertical movement of the nut itself . this permits fine adjustment of the tape head height to be made . the driving mechanism of the cam 6 is explained with reference to fig2 to 5 . as hereinbefore described , the cam 6 is driven by the ratchet wheel 7 . as shown in fig5 the ratchet wheel 7 comprises a disc base portion 74 and a ratchet portion 75 which is formed like a windmill and is mounted on said disc base portion with a slight difference in horizontal level . the circumference of the disc base portion 74 has two types of cutouts 72 and 73 , which are cut with different radial lengths . when the ratchet wheel 7 is driven via the first and second cutouts 72 and 73 , said cutouts prevent the disc base portion 74 from colliding with an auxiliary lever hereinafter described . a reverse rotation of the ratchet wheel 7 is prevented by the difference 72a in radius of the first cutout 72 when it engages a ratchet 76 formed like a plate spring , as shown in fig1 . over - rotation of the ratchet wheel 7 is prevented by the difference 73a in radius of the second cutout 73 when it engages the auxiliary lever , hereinafter described . the flywheel 31 is mounted via the capstan shaft 3 at the upper part of the ratchet wheel 7 , as shown in fig2 . the flywheel 31 has two projections 31a which project downward from a line connecting the center line . as shown in fig2 when considering the relation between the projection 31a and the ratchet wheel 7 in their horizontal location and height , the projection 31a faces the ratchet portion 75 of said ratchet wheel . the projection 31a therefore always collides with the ratchet portion 75 and rotates the ratchet wheel 7 when it so collides . however , this blocks the driving of the tape 21 and causes wow and flutter . in addition , the tape head 4 is subjected to a shifting force undesirably . in order to eliminate such phenomena , the ratchet wheel 7 is usually placed as shown in fig5 so that the projection 31a moves as shown by broken lines b above the disc base portion 74 of said ratchet wheel . a solenoid 8 and an auxiliary lever 9 are mounted under the flywheel 31 , as shown in fig4 , 7a , 7b and 7c . the auxiliary lever 9 is mounted on a sub - shaft 19 mounted vertically on the sub - chassis 12 , and is able to slide freely . the auxiliary lever 9 is always pressed downward by a return spring 91 , as shown in fig4 . furthermore , the auxiliary lever 9 is folded in a folded portion 92 at one end . the folded portion 92 selectively contacts the projection 31a of the flywheel 31 and a tongue portion 93 of the auxiliary lever 9 is projected to the lower space of the first cutout 72 of the ratchet wheel 7 , as shown in fig1 and 5 . on the other hand , the lower end of the auxiliary lever 9 engages a rocking lever 81 , which is operated by the solenoid 8 , as shown in fig4 . furthermore , the auxiliary lever 9 is provided with a wire spring 94 in the space between the sub - shaft 19 and the solenoid 8 . the wire spring 94 always holds the auxiliary lever 9 in its position shown in fig5 . the rocking lever 81 is provided with a coil spring 82 , which maintains said rocking lever separated from the magnetic pole 83 of the solenoid 8 . brokenn lines a and b in fig5 a , 7b and 7c show the loci of the flywheel 31 and its projection 31a in order to maintain the clarity of the drawings . the driving operation of the ratchet wheel 7 is described as follows . when the magnetic tape 21 is being driven , the flywheel 31 rotates together with the capstan shaft 3 , as is well known , and the projection 31a rotates with said flywheel . from the viewpoint of the engagement between the projection 31a and the ratchet wheel 7 , as described , with relation to fig2 and 5 , the locus of the rotating projection 31a always passes over the disc base portion 74 of the ratchet wheel 7 . the projection 31a will therefore never collide with the ratchet portion 75 of the ratchet wheel 7 and rotate said ratchet portion . a manual program change - over switch ( not shown in the figs .) is provided at the front of the tape deck . an automatic program change - over switch ( not shown in the figs .) comprises electrically conductive foil adhered to the tape end and a pair of electrical contacts which are electrically short - circuited by said foil . when the manual or automatic program change - over switches are closed , the rocking lever 81 is drawn up in resistance to the coil spring 82 , through the cooperation of the solenoid 8 . as a result , the auxiliary lever 9 is pulled up , as shown in fig4 and moves as long as a first distance . thus , the tongue portion 93 of the auxiliary lever 9 enters the cutout 72 of the ratchet wheel 7 , as shown by the broken line in fig2 . when the projection 31a of the flywheel 31 engages the auxiliary lever 9 , the ratchet wheel 7 proceeds one step in the sequence shown in fig7 a , 7b and 7c . in other words , the projection 31a contacts the folded portion 92 of the auxiliary lever 9 , as shown in fig7 a , rotating said auxiliary lever in a direction indicated by an arrow f1 of fig7 a , against the wire spring 94 . the tongue portion 93 of the auxiliary lever 9 collides with an end 75a of the ratchet portion 75 of the ratchet wheel 7 , rotating said ratchet wheel in the direction indicated by an arrow f2 of fig7 a , about the main shaft 13 . as a result , the ratchet portion 75 of the ratchet wheel 7 is guided into the path of travel b of the projection 31a , as shown in fig7 b , is further guided to the folded portion 92 of the auxiliary lever 9 , and in turn moves to said ratchet portion , which is the operation of the first step , as the flywheel 31 rotates further . the projection 31a is separated from the folded portion 92 of the auxiliary lever 9 in the succeeding operation , and moves into contact with a side 75b of the ratchet portion 75 of the ratchet wheel 7 . the ratchet wheel 7 is thereby rotated directly in the direction indicated by an arrow f3 of fig7 b . as the flywheel 31 rotates further , the projection 31a causes the ratchet wheel 7 to rotate further . thereafter , in the condition shown in fig7 c , the projection 31a separates itself from the side 75b of ratchet portion 75 , stopping the driving of the ratchet wheel 7 , which is the operation of the second step . at such time , the ratchet wheel 7 may continue to rotate further , due to inertia , but this is suspended when the tongue portion 93 of the auxiliary lever 9 collides with a stop 73a of the second cutout 73 of the disc base portion 74 . as hereinbefore described , with the operations of the first and second steps , the ratchet wheel 7 rotates at the specified angle , which is 90 ° in this case , realizing one step . after the one step , the solenoid 8 is automatically deenergized and the rocking lever 81 is depressed downward by the coil spring 82 . the auxiliary lever 9 is thereby returned to the initial position by the return spring 91 and the wire spring 94 . thus , the ratchet wheel 7 and the interlocking cam 6 are rotated through the specified angle . this operation is repeated by the energization and deenergization of the solenoid 8 , and the ratchet wheel 7 and the cam are again rotated up to the specified angle . as is clear from the foregoing explanation , in the apparatus of the present invention for shifting the magnetic tape head , the ratchet wheel , and therefore the cam device , is directly rotated by the projection of the capstan flywheel . in other words , the shifting of the head is not accomplished via the proper medium and is accomplished positively , resulting in a reduction in size of said apparatus . in addition , the lever device , or auxiliary lever of the apparatus of the present invention has only the function of guiding the ratchet portion of the ratchet wheel to the area within the rotating locus of the projection via operation by the projection of the flywheel . the engaging angle of the lever device and the projection therefore becomes considerably narrower than 90 °, as shown in fig5 a , 7b and 7c , and the shock resulting from the contact of the lever device and the projection is very small . for this reason , there is little probability of the occurrence of erroneous shift operation of the tape head . moreover , a less expensive and smaller power solenoid may be used , as compared with the existing structure in which the ratchet wheel is driven by the solenoid . thus , the apparatus of the present invention for shifting magnetic head is very useful when it is adapted to the head shift apparatus of a cartridge type tape player , which requires a small size , a light weight and a low cost . while the invention has been described by means of a specifiic example and in a specific embodiment , i do not wish to be limited thereto , for obvious modifications will occur to those skilled in the art without departing from the spirit and scope of the invention .