当前位置:   article > 正文

c语言发出声音代码例题_代码编写1的语音播报指令

代码编写1的语音播报指令

#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
main()
{
Beep(0,500);

Beep(1,500);

Beep(2,500);

Beep(3,500);

Beep(4,500);

Beep(5,500);

Beep(6,500);

Beep(7,500);

Beep(8,500);

Beep(9,500);

Beep(10,500);

Beep(11,500);

Beep(12,500);

Beep(13,500);

Beep(14,500);

Beep(15,500);

Beep(16,500);

Beep(17,500);

Beep(18,500);

Beep(19,500);

Beep(20,500);

Beep(21,500);

Beep(22,500);

Beep(23,500);

Beep(24,500);

Beep(25,500);

Beep(26,500);

Beep(27,500);

Beep(28,500);

Beep(29,500);

Beep(30,500);

Beep(31,500);

Beep(32,500);

Beep(33,500);

Beep(34,500);

Beep(35,500);

Beep(36,500);

Beep(37,500);

Beep(38,500);

Beep(39,500);

Beep(40,500);

Beep(41,500);

Beep(42,500);

Beep(43,500);

Beep(44,500);

Beep(45,500);

Beep(46,500);

Beep(47,500);

Beep(48,500);

Beep(49,500);

Beep(50,500);

Beep(51,500);

Beep(52,500);

Beep(53,500);

Beep(54,500);

Beep(55,500);

Beep(56,500);

Beep(57,500);

Beep(58,500);

Beep(59,500);

Beep(60,500);

Beep(61,500);

Beep(62,500);

Beep(63,500);

Beep(64,500);

Beep(65,500);

Beep(66,500);

Beep(67,500);

Beep(68,500);

Beep(69,500);

Beep(70,500);

Beep(71,500);

Beep(72,500);

Beep(73,500);

Beep(74,500);

Beep(75,500);

Beep(76,500);

Beep(77,500);

Beep(78,500);

Beep(79,500);

Beep(80,500);

Beep(81,500);

Beep(82,500);

Beep(83,500);

Beep(84,500);

Beep(85,500);

Beep(86,500);

Beep(87,500);

Beep(88,500);

Beep(89,500);

Beep(90,500);

Beep(91,500);

Beep(92,500);

Beep(93,500);

Beep(94,500);

Beep(95,500);

Beep(96,500);

Beep(97,500);

Beep(98,500);

Beep(99,500);

Beep(100,500);

Beep(101,500);

Beep(102,500);

Beep(103,500);

Beep(104,500);

Beep(105,500);

Beep(106,500);

Beep(107,500);

Beep(108,500);

Beep(109,500);

Beep(110,500);

Beep(111,500);

Beep(112,500);

Beep(113,500);

Beep(114,500);

Beep(115,500);

Beep(116,500);

Beep(117,500);

Beep(118,500);

Beep(119,500);

Beep(120,500);

Beep(121,500);

Beep(122,500);

Beep(123,500);

Beep(124,500);

Beep(125,500);

Beep(126,500);

Beep(127,500);

Beep(128,500);

Beep(129,500);

Beep(130,500);

Beep(131,500);

Beep(132,500);

Beep(133,500);

Beep(134,500);

Beep(135,500);

Beep(136,500);

Beep(137,500);

Beep(138,500);

Beep(139,500);

Beep(140,500);

Beep(141,500);

Beep(142,500);

Beep(143,500);

Beep(144,500);

Beep(145,500);

Beep(146,500);

Beep(147,500);

Beep(148,500);

Beep(149,500);

Beep(150,500);

Beep(151,500);

Beep(152,500);

Beep(153,500);

Beep(154,500);

Beep(155,500);

Beep(156,500);

Beep(157,500);

Beep(158,500);

Beep(159,500);

Beep(160,500);

Beep(161,500);

Beep(162,500);

Beep(163,500);

Beep(164,500);

Beep(165,500);

Beep(166,500);

Beep(167,500);

Beep(168,500);

Beep(169,500);

Beep(170,500);

Beep(171,500);

Beep(172,500);

Beep(173,500);

Beep(174,500);

Beep(175,500);

Beep(176,500);

Beep(177,500);

Beep(178,500);

Beep(179,500);

Beep(180,500);

Beep(181,500);

Beep(182,500);

Beep(183,500);

Beep(184,500);

Beep(185,500);

Beep(186,500);

Beep(187,500);

Beep(188,500);

Beep(189,500);

Beep(190,500);

Beep(191,500);

Beep(192,500);

Beep(193,500);

Beep(194,500);

Beep(195,500);

Beep(196,500);

Beep(197,500);

Beep(198,500);

Beep(199,500);

Beep(200,500);

Beep(201,500);

Beep(202,500);

Beep(203,500);

Beep(204,500);

Beep(205,500);

Beep(206,500);

Beep(207,500);

Beep(208,500);

Beep(209,500);

Beep(210,500);

Beep(211,500);

Beep(212,500);

Beep(213,500);

Beep(214,500);

Beep(215,500);

Beep(216,500);

Beep(217,500);

Beep(218,500);

Beep(219,500);

Beep(220,500);

Beep(221,500);

Beep(222,500);

Beep(223,500);

Beep(224,500);

Beep(225,500);

Beep(226,500);

Beep(227,500);

Beep(228,500);

Beep(229,500);

Beep(230,500);

Beep(231,500);

Beep(232,500);

Beep(233,500);

Beep(234,500);

Beep(235,500);

Beep(236,500);

Beep(237,500);

Beep(238,500);

Beep(239,500);

Beep(240,500);

Beep(241,500);

Beep(242,500);

Beep(243,500);

Beep(244,500);

Beep(245,500);

Beep(246,500);

Beep(247,500);

Beep(248,500);

Beep(249,500);

Beep(250,500);

Beep(251,500);

Beep(252,500);

Beep(253,500);

Beep(254,500);

Beep(255,500);

Beep(256,500);

Beep(257,500);

Beep(258,500);

Beep(259,500);

Beep(260,500);

Beep(261,500);

Beep(262,500);

Beep(263,500);

Beep(264,500);

Beep(265,500);

Beep(266,500);

Beep(267,500);

Beep(268,500);

Beep(269,500);

Beep(270,500);

Beep(271,500);

Beep(272,500);

Beep(273,500);

Beep(274,500);

Beep(275,500);

Beep(276,500);

Beep(277,500);

Beep(278,500);

Beep(279,500);

Beep(280,500);

Beep(281,500);

Beep(282,500);

Beep(283,500);

Beep(284,500);

Beep(285,500);

Beep(286,500);

Beep(287,500);

Beep(288,500);

Beep(289,500);

Beep(290,500);

Beep(291,500);

Beep(292,500);

Beep(293,500);

Beep(294,500);

Beep(295,500);

Beep(296,500);

Beep(297,500);

Beep(298,500);

Beep(299,500);

Beep(300,500);

Beep(301,500);

Beep(302,500);

Beep(303,500);

Beep(304,500);

Beep(305,500);

Beep(306,500);

Beep(307,500);

Beep(308,500);

Beep(309,500);

Beep(310,500);

Beep(311,500);

Beep(312,500);

Beep(313,500);

Beep(314,500);

Beep(315,500);

Beep(316,500);

Beep(317,500);

Beep(318,500);

Beep(319,500);

Beep(320,500);

Beep(321,500);

Beep(322,500);

Beep(323,500);

Beep(324,500);

Beep(325,500);

Beep(326,500);

Beep(327,500);

Beep(328,500);

Beep(329,500);

Beep(330,500);

Beep(331,500);

Beep(332,500);

Beep(333,500);

Beep(334,500);

Beep(335,500);

Beep(336,500);

Beep(337,500);

Beep(338,500);

Beep(339,500);

Beep(340,500);

Beep(341,500);

Beep(342,500);

Beep(343,500);

Beep(344,500);

Beep(345,500);

Beep(346,500);

Beep(347,500);

Beep(348,500);

Beep(349,500);

Beep(350,500);

Beep(351,500);

Beep(352,500);

Beep(353,500);

Beep(354,500);

Beep(355,500);

Beep(356,500);

Beep(357,500);

Beep(358,500);

Beep(359,500);

Beep(360,500);

Beep(361,500);

Beep(362,500);

Beep(363,500);

Beep(364,500);

Beep(365,500);

Beep(366,500);

Beep(367,500);

Beep(368,500);

Beep(369,500);

Beep(370,500);

Beep(371,500);

Beep(372,500);

Beep(373,500);

Beep(374,500);

Beep(375,500);

Beep(376,500);

Beep(377,500);

Beep(378,500);

Beep(379,500);

Beep(380,500);

Beep(381,500);

Beep(382,500);

Beep(383,500);

Beep(384,500);

Beep(385,500);

Beep(386,500);

Beep(387,500);

Beep(388,500);

Beep(389,500);

Beep(390,500);

Beep(391,500);

Beep(392,500);

Beep(393,500);

Beep(394,500);

Beep(395,500);

Beep(396,500);

Beep(397,500);

Beep(398,500);

Beep(399,500);

Beep(400,500);

Beep(401,500);

Beep(402,500);

Beep(403,500);

Beep(404,500);

Beep(405,500);

Beep(406,500);

Beep(407,500);

Beep(408,500);

Beep(409,500);

Beep(410,500);

Beep(411,500);

Beep(412,500);

Beep(413,500);

Beep(414,500);

Beep(415,500);

Beep(416,500);

Beep(417,500);

Beep(418,500);

Beep(419,500);

Beep(420,500);

Beep(421,500);

Beep(422,500);

Beep(423,500);

Beep(424,500);

Beep(425,500);

Beep(426,500);

Beep(427,500);

Beep(428,500);

Beep(429,500);

Beep(430,500);

Beep(431,500);

Beep(432,500);

Beep(433,500);

Beep(434,500);

Beep(435,500);

Beep(436,500);

Beep(437,500);

Beep(438,500);

Beep(439,500);

Beep(440,500);

Beep(441,500);

Beep(442,500);

Beep(443,500);

Beep(444,500);

Beep(445,500);

Beep(446,500);

Beep(447,500);

Beep(448,500);

Beep(449,500);

Beep(450,500);

Beep(451,500);

Beep(452,500);

Beep(453,500);

Beep(454,500);

Beep(455,500);

Beep(456,500);

Beep(457,500);

Beep(458,500);

Beep(459,500);

Beep(460,500);

Beep(461,500);

Beep(462,500);

Beep(463,500);

Beep(464,500);

Beep(465,500);

Beep(466,500);

Beep(467,500);

Beep(468,500);

Beep(469,500);

Beep(470,500);

Beep(471,500);

Beep(472,500);

Beep(473,500);

Beep(474,500);

Beep(475,500);

Beep(476,500);

Beep(477,500);

Beep(478,500);

Beep(479,500);

Beep(480,500);

Beep(481,500);

Beep(482,500);

Beep(483,500);

Beep(484,500);

Beep(485,500);

Beep(486,500);

Beep(487,500);

Beep(488,500);

Beep(489,500);

Beep(490,500);

Beep(491,500);

Beep(492,500);

Beep(493,500);

Beep(494,500);

Beep(495,500);

Beep(496,500);

Beep(497,500);

Beep(498,500);

Beep(499,500);

Beep(500,500);

Beep(501,500);

Beep(502,500);

Beep(503,500);

Beep(504,500);

Beep(505,500);

Beep(506,500);

Beep(507,500);

Beep(508,500);

Beep(509,500);

Beep(510,500);

Beep(511,500);

Beep(512,500);

Beep(513,500);

Beep(514,500);

Beep(515,500);

Beep(516,500);

Beep(517,500);

Beep(518,500);

Beep(519,500);

Beep(520,500);

Beep(521,500);

Beep(522,500);

Beep(523,500);

Beep(524,500);

Beep(525,500);

Beep(526,500);

Beep(527,500);

Beep(528,500);

Beep(529,500);

Beep(530,500);

Beep(531,500);

Beep(532,500);

Beep(533,500);

Beep(534,500);

Beep(535,500);

Beep(536,500);

Beep(537,500);

Beep(538,500);

Beep(539,500);

Beep(540,500);

Beep(541,500);

Beep(542,500);

Beep(543,500);

Beep(544,500);

Beep(545,500);

Beep(546,500);

Beep(547,500);

Beep(548,500);

Beep(549,500);

Beep(550,500);

Beep(551,500);

Beep(552,500);

Beep(553,500);

Beep(554,500);

Beep(555,500);

Beep(556,500);

Beep(557,500);

Beep(558,500);

Beep(559,500);

Beep(560,500);

Beep(561,500);

Beep(562,500);

Beep(563,500);

Beep(564,500);

Beep(565,500);

Beep(566,500);

Beep(567,500);

Beep(568,500);

Beep(569,500);

Beep(570,500);

Beep(571,500);

Beep(572,500);

Beep(573,500);

Beep(574,500);

Beep(575,500);

Beep(576,500);

Beep(577,500);

Beep(578,500);

Beep(579,500);

Beep(580,500);

Beep(581,500);

Beep(582,500);

Beep(583,500);

Beep(584,500);

Beep(585,500);

Beep(586,500);

Beep(587,500);

Beep(588,500);

Beep(589,500);

Beep(590,500);

Beep(591,500);

Beep(592,500);

Beep(593,500);

Beep(594,500);

Beep(595,500);

Beep(596,500);

Beep(597,500);

Beep(598,500);

Beep(599,500);

Beep(600,500);

Beep(601,500);

Beep(602,500);

Beep(603,500);

Beep(604,500);

Beep(605,500);

Beep(606,500);

Beep(607,500);

Beep(608,500);

Beep(609,500);

Beep(610,500);

Beep(611,500);

Beep(612,500);

Beep(613,500);

Beep(614,500);

Beep(615,500);

Beep(616,500);

Beep(617,500);

Beep(618,500);

Beep(619,500);

Beep(620,500);

Beep(621,500);

Beep(622,500);

Beep(623,500);

Beep(624,500);

Beep(625,500);

Beep(626,500);

Beep(627,500);

Beep(628,500);

Beep(629,500);

Beep(630,500);

Beep(631,500);

Beep(632,500);

Beep(633,500);

Beep(634,500);

Beep(635,500);

Beep(636,500);

Beep(637,500);

Beep(638,500);

Beep(639,500);

Beep(640,500);

Beep(641,500);

Beep(642,500);

Beep(643,500);

Beep(644,500);

Beep(645,500);

Beep(646,500);

Beep(647,500);

Beep(648,500);

Beep(649,500);

Beep(650,500);

Beep(651,500);

Beep(652,500);

Beep(653,500);

Beep(654,500);

Beep(655,500);

Beep(656,500);

Beep(657,500);

Beep(658,500);

Beep(659,500);

Beep(660,500);

Beep(661,500);

Beep(662,500);

Beep(663,500);

Beep(664,500);

Beep(665,500);

Beep(666,500);

Beep(667,500);

Beep(668,500);

Beep(669,500);

Beep(670,500);

Beep(671,500);

Beep(672,500);

Beep(673,500);

Beep(674,500);

Beep(675,500);

Beep(676,500);

Beep(677,500);

Beep(678,500);

Beep(679,500);

Beep(680,500);

Beep(681,500);

Beep(682,500);

Beep(683,500);

Beep(684,500);

Beep(685,500);

Beep(686,500);

Beep(687,500);

Beep(688,500);

Beep(689,500);

Beep(690,500);

Beep(691,500);

Beep(692,500);

Beep(693,500);

Beep(694,500);

Beep(695,500);

Beep(696,500);

Beep(697,500);

Beep(698,500);

Beep(699,500);

Beep(700,500);

Beep(701,500);

Beep(702,500);

Beep(703,500);

Beep(704,500);

Beep(705,500);

Beep(706,500);

Beep(707,500);

Beep(708,500);

Beep(709,500);

Beep(710,500);

Beep(711,500);

Beep(712,500);

Beep(713,500);

Beep(714,500);

Beep(715,500);

Beep(716,500);

Beep(717,500);

Beep(718,500);

Beep(719,500);

Beep(720,500);

Beep(721,500);

Beep(722,500);

Beep(723,500);

Beep(724,500);

Beep(725,500);

Beep(726,500);

Beep(727,500);

Beep(728,500);

Beep(729,500);

Beep(730,500);

Beep(731,500);

Beep(732,500);

Beep(733,500);

Beep(734,500);

Beep(735,500);

Beep(736,500);

Beep(737,500);

Beep(738,500);

Beep(739,500);

Beep(740,500);

Beep(741,500);

Beep(742,500);

Beep(743,500);

Beep(744,500);

Beep(745,500);

Beep(746,500);

Beep(747,500);

Beep(748,500);

Beep(749,500);

Beep(750,500);

Beep(751,500);

Beep(752,500);

Beep(753,500);

Beep(754,500);

Beep(755,500);

Beep(756,500);

Beep(757,500);

Beep(758,500);

Beep(759,500);

Beep(760,500);

Beep(761,500);

Beep(762,500);

Beep(763,500);

Beep(764,500);

Beep(765,500);

Beep(766,500);

Beep(767,500);

Beep(768,500);

Beep(769,500);

Beep(770,500);

Beep(771,500);

Beep(772,500);

Beep(773,500);

Beep(774,500);

Beep(775,500);

Beep(776,500);

Beep(777,500);

Beep(778,500);

Beep(779,500);

Beep(780,500);

Beep(781,500);

Beep(782,500);

Beep(783,500);

Beep(784,500);

Beep(785,500);

Beep(786,500);

Beep(787,500);

Beep(788,500);

Beep(789,500);

Beep(790,500);

Beep(791,500);

Beep(792,500);

Beep(793,500);

Beep(794,500);

Beep(795,500);

Beep(796,500);

Beep(797,500);

Beep(798,500);

Beep(799,500);

Beep(800,500);

Beep(801,500);

Beep(802,500);

Beep(803,500);

Beep(804,500);

Beep(805,500);

Beep(806,500);

Beep(807,500);

Beep(808,500);

Beep(809,500);

Beep(810,500);

Beep(811,500);

Beep(812,500);

Beep(813,500);

Beep(814,500);

Beep(815,500);

Beep(816,500);

Beep(817,500);

Beep(818,500);

Beep(819,500);

Beep(820,500);

Beep(821,500);

Beep(822,500);

Beep(823,500);

Beep(824,500);

Beep(825,500);

Beep(826,500);

Beep(827,500);

Beep(828,500);

Beep(829,500);

Beep(830,500);

Beep(831,500);

Beep(832,500);

Beep(833,500);

Beep(834,500);

Beep(835,500);

Beep(836,500);

Beep(837,500);

Beep(838,500);

Beep(839,500);

Beep(840,500);

Beep(841,500);

Beep(842,500);

Beep(843,500);

Beep(844,500);

Beep(845,500);

Beep(846,500);

Beep(847,500);

Beep(848,500);

Beep(849,500);

Beep(850,500);

Beep(851,500);

Beep(852,500);

Beep(853,500);

Beep(854,500);

Beep(855,500);

Beep(856,500);

Beep(857,500);

Beep(858,500);

Beep(859,500);

Beep(860,500);

Beep(861,500);

Beep(862,500);

Beep(863,500);

Beep(864,500);

Beep(865,500);

Beep(866,500);

Beep(867,500);

Beep(868,500);

Beep(869,500);

Beep(870,500);

Beep(871,500);

Beep(872,500);

Beep(873,500);

Beep(874,500);

Beep(875,500);

Beep(876,500);

Beep(877,500);

Beep(878,500);

Beep(879,500);

Beep(880,500);

Beep(881,500);

Beep(882,500);

Beep(883,500);

Beep(884,500);

Beep(885,500);

Beep(886,500);

Beep(887,500);

Beep(888,500);

Beep(889,500);

Beep(890,500);

Beep(891,500);

Beep(892,500);

Beep(893,500);

Beep(894,500);

Beep(895,500);

Beep(896,500);

Beep(897,500);

Beep(898,500);

Beep(899,500);

Beep(900,500);

Beep(901,500);

Beep(902,500);

Beep(903,500);

Beep(904,500);

Beep(905,500);

Beep(906,500);

Beep(907,500);

Beep(908,500);

Beep(909,500);

Beep(910,500);

Beep(911,500);

Beep(912,500);

Beep(913,500);

Beep(914,500);

Beep(915,500);

Beep(916,500);

Beep(917,500);

Beep(918,500);

Beep(919,500);

Beep(920,500);

Beep(921,500);

Beep(922,500);

Beep(923,500);

Beep(924,500);

Beep(925,500);

Beep(926,500);

Beep(927,500);

Beep(928,500);

Beep(929,500);

Beep(930,500);

Beep(931,500);

Beep(932,500);

Beep(933,500);

Beep(934,500);

Beep(935,500);

Beep(936,500);

Beep(937,500);

Beep(938,500);

Beep(939,500);

Beep(940,500);

Beep(941,500);

Beep(942,500);

Beep(943,500);

Beep(944,500);

Beep(945,500);

Beep(946,500);

Beep(947,500);

Beep(948,500);

Beep(949,500);

Beep(950,500);

Beep(951,500);

Beep(952,500);

Beep(953,500);

Beep(954,500);

Beep(955,500);

Beep(956,500);

Beep(957,500);

Beep(958,500);

Beep(959,500);

Beep(960,500);

Beep(961,500);

Beep(962,500);

Beep(963,500);

Beep(964,500);

Beep(965,500);

Beep(966,500);

Beep(967,500);

Beep(968,500);

Beep(969,500);

Beep(970,500);

Beep(971,500);

Beep(972,500);

Beep(973,500);

Beep(974,500);

Beep(975,500);

Beep(976,500);

Beep(977,500);

Beep(978,500);

Beep(979,500);

Beep(980,500);

Beep(981,500);

Beep(982,500);

Beep(983,500);

Beep(984,500);

Beep(985,500);

Beep(986,500);

Beep(987,500);

Beep(988,500);

Beep(989,500);

Beep(990,500);

Beep(991,500);

Beep(992,500);

Beep(993,500);

Beep(994,500);

Beep(995,500);

Beep(996,500);

Beep(997,500);

Beep(998,500);

Beep(999,500);

}

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小桥流水78/article/detail/1006999
推荐阅读
相关标签
  

闽ICP备14008679号