From a9ce625d3ace746b0802560f4886f1b30d901504 Mon Sep 17 00:00:00 2001 From: flykhan Date: Sat, 22 Jul 2023 15:40:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=8C=E8=AF=8D=E8=A7=A3=E6=9E=90:=20?= =?UTF-8?q?=E6=95=B4=E7=90=86=E6=96=87=E4=BB=B6=E5=A4=B9,=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BC=98=E5=8C=96=20Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lyric_analysis/Makefile | 31 +++++++++++++++++++ lyric_analysis/bin/main | Bin 14144 -> 0 bytes lyric_analysis/lrc/简单爱copy.lrc | Bin 1507 -> 0 bytes lyric_analysis/{lrc => lrcs}/简单爱.lrc | 0 lyric_analysis/{lrc => lrcs}/简单爱.lrc.bak | 0 lyric_analysis/objs/console.o | Bin 3008 -> 0 bytes lyric_analysis/objs/lrc.o | Bin 1992 -> 0 bytes lyric_analysis/objs/main.o | Bin 2800 -> 0 bytes lyric_analysis/objs/start_mplayer.o | Bin 1976 -> 0 bytes lyric_analysis/objs/time_delay.o | Bin 1440 -> 0 bytes lyric_analysis/songs/简单爱.mp3 | Bin lyric_analysis/srcs/Makefile | 19 ------------ lyric_analysis/srcs/console.c | 0 lyric_analysis/srcs/includes/console.h | 0 lyric_analysis/srcs/includes/lrc.h | 8 +++++ lyric_analysis/srcs/includes/start_mplayer.h | 0 lyric_analysis/srcs/main.c | 4 +-- lyric_analysis/srcs/start_mplayer.c | 0 lyric_analysis/srcs/time_delay.c | 0 19 files changed, 41 insertions(+), 21 deletions(-) create mode 100644 lyric_analysis/Makefile delete mode 100755 lyric_analysis/bin/main delete mode 100644 lyric_analysis/lrc/简单爱copy.lrc rename lyric_analysis/{lrc => lrcs}/简单爱.lrc (100%) mode change 100755 => 100644 rename lyric_analysis/{lrc => lrcs}/简单爱.lrc.bak (100%) mode change 100755 => 100644 delete mode 100644 lyric_analysis/objs/console.o delete mode 100644 lyric_analysis/objs/lrc.o delete mode 100644 lyric_analysis/objs/main.o delete mode 100644 lyric_analysis/objs/start_mplayer.o delete mode 100644 lyric_analysis/objs/time_delay.o mode change 100755 => 100644 lyric_analysis/songs/简单爱.mp3 delete mode 100644 lyric_analysis/srcs/Makefile mode change 100755 => 100644 lyric_analysis/srcs/console.c mode change 100755 => 100644 lyric_analysis/srcs/includes/console.h mode change 100755 => 100644 lyric_analysis/srcs/includes/start_mplayer.h mode change 100755 => 100644 lyric_analysis/srcs/start_mplayer.c mode change 100755 => 100644 lyric_analysis/srcs/time_delay.c diff --git a/lyric_analysis/Makefile b/lyric_analysis/Makefile new file mode 100644 index 0000000..b0fe016 --- /dev/null +++ b/lyric_analysis/Makefile @@ -0,0 +1,31 @@ +# 定义路径变量 +SRC_DIR = srcs +OBJ_DIR = objs +BIN_DIR = ./ + +# 定义编译器 +CC = gcc +# 定义目标文件 +TARGET = $(BIN_DIR)/debug +# 定义源文件 +SRCS = $(wildcard $(SRC_DIR)/*.c) +# OBJS = $(OBJ_DIR)/lrc.o $(OBJ_DIR)/console.o $(OBJ_DIR)/start_mplayer.o $(OBJ_DIR)/time_delay.o $(OBJ_DIR)/main.o +OBJS = $(patsubst $(SRC_DIR)/%.c, $(OBJ_DIR)/%.o, $(SRCS)) + +# 编译规则 +$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c + $(CC) -c $< -o $@ + +# 链接规则 +$(TARGET): $(OBJS) + $(CC) $^ -o $@ + +# 默认构建目标 +all: $(TARGET) + +# 清理规则 +clean: + rm -rf $(OBJ_DIR)/*.o $(TARGET) + +# 伪目标 +.PHONY: all clean \ No newline at end of file diff --git a/lyric_analysis/bin/main b/lyric_analysis/bin/main deleted file mode 100755 index 97384a41bc812542914e19bda5b695346ade4842..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14144 zcmeHOeQ;FQb-%kS5C~W#8v_Pxb`se$tDfzXka-v4&}zvl ztWL}pKC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LY}k#nBSpilP6+1fm}e4g7@aQ6hcvA{kxHlFBaZJe~%Gt2gLzPNxM0RT>CeR)8e?^>`v2i{>#JWN}PmGElkRh#|akn7qh(yJBDs zy$^RYx+2tQe0TxW#ac+KDX{sI1~O|XP%z3 ztoHmKY$%5-SW!{CeFN}Y*!$q}PdR;3lb$arvHc8_&F&8=R_s7#4lcGIcKX2K+^Yi0 z6{Yd%jfs>K2_mQC_}D4>oMI2 zIqeNG&+qeRm4Qdu+v~4jLGNEwRkr8%{#TSe??-X@_Vz!i?CX_7-rpKm2D~3eEcKb) z{wu(!PqO=Qr9N=ze+mjD-sdwpv#y*cn!;tZ=lzCJW$&|fIGx3z#PqL_x7vHu`>bcS zRLj=a|H3F%C9!nvv;=V_j4AIE+wWF$aC3Jpl(sGnVHLq3b(P+ m56>N|{kX^E+SCN3a9D?n`;FIs5*I4}v+9L$p>4w0%l}_?qd`po diff --git a/lyric_analysis/lrc/简单爱copy.lrc b/lyric_analysis/lrc/简单爱copy.lrc deleted file mode 100644 index a2d9b82c88eae2d4aa967c29de627bfb6ebef513..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1507 zcmbVMOK;Oa5awKo|KKA?Xk~lXPV6f;t{jmMMM46p5)uNT-qI$m(k5vVT4+dw$kA40FMtsD;HkR2wkahDj0mVf|PExWRbFBg$ew z0ptSzOK^RyDO{W%2Pl#o5prV)OHG2ARH`F9Dw^9&cRZvI^A~6cbb4^w0Y9(7*&rD2 z2a`5^enl25Db!(3CV>irnYJgVyK!?1I!p2L5c(^q7?oR4>>*{e(Sz1;)GUOBJ*aLg zyfKp&HZw9_czz)#0}P5g8ybc~Z4k9{(7l9eU5h)7v{chI9G2A+VGD&VFIv08K+KT@ z)=FC7=ir~kz{x6{{!m$(S;kET za#+UkkX&B47U$tZA^O6&ZVj}7=EL|+n?|^5pb8IDmiS@E<^f;tD`=@)$jG? z^kcaH^RF_{>TqiUqgxt>*;z&7FiwPqi$jQn*l>y6#m?l%(A^7rzMQsb{;$u%^G{)G zEnGf_&6Gw6W>V8kS8(Q#i%4V9tf|gxkk}D_sUw3NAF3L#K^av8?(7tmWx6#(y(^Rd zty0)|7uE793JpuO9A;7ShHEA%Icz!1AW0N=n64Vdb$SWVVW^&=!?X?$@Ybt~ zj}|G1gHabwFDM(~>ReULlO0d8;TF?{M`ISZ_os;&4xnY%arjTUrnc~S%|jw!pot`&cJ7a*tv_lR7ar0 z$!(yg1J$UL#XbuDYOE-S4XjD!g!6-!9{YDQ-c_H5Ufhh9)QXPaUacCE%%T*J$yI+1 MmpY~Y7th_f-!*jG-2eap diff --git a/lyric_analysis/lrc/简单爱.lrc b/lyric_analysis/lrcs/简单爱.lrc old mode 100755 new mode 100644 similarity index 100% rename from lyric_analysis/lrc/简单爱.lrc rename to lyric_analysis/lrcs/简单爱.lrc diff --git a/lyric_analysis/lrc/简单爱.lrc.bak b/lyric_analysis/lrcs/简单爱.lrc.bak old mode 100755 new mode 100644 similarity index 100% rename from lyric_analysis/lrc/简单爱.lrc.bak rename to lyric_analysis/lrcs/简单爱.lrc.bak diff --git a/lyric_analysis/objs/console.o b/lyric_analysis/objs/console.o deleted file mode 100644 index f62fa4af8a274c18d043c2773898cedb12cf02c3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3008 zcmbuBO=uHQ5P&C*R;^a5h!(3Dk&1#{lF~-}L8GNwMFqv+K_zaJjV(>GWp^X~TTz72 zOK)C0coHuj1rfo5;LpLc7ZERt2R(S}p`bInGiLgl;NOFN^X8kMH`&>Jn;U~i4z$E# zAR`8Qpsoo8m{?q2XToI$+Mx}yL$yysx4w4NuFck}Gn3ib$-$Z0%je|rgr+Yv4NWc# zMeS9nPQ7_SVZU)Y`_E2Oe-X;HPY%xhVb%43ThncS5Yu(KyRfUfFa%wveY~o8?d|O^ zq3At~Q+J^ZaByH?XJSisxLOISiGHikO7^6yp_aOyN?XZ3E7iL-G9-GFsdO@(+(9=K z$Erv`?D7eSUF?W;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WQ5j^Py<$_AL?`6AC* zD`e9n^7RosK7wBy!J%yB^*q$-teQnLTP&3s6v>4<%yv+tw2r93*a{SFRxX3Z?v|o!QA@Qul!xFDad{W}~I2Uup7w|~RKP2UA z5~pVplH>+4y2L(!-dL;HW)8J&xq4Yx7Au>&%~oyD3#M&?o@+Efw`#7FuT?6nim__V zX8Pjw%uK^J^DCG@Wo$WHw9E?QWB*%e*n!TB`Xwfjk!-oDcUS*$^!?E(N%k^a!{7`0 zn)8FGsaBkXM-uh5$XB18(jW3fq3Nt2z)PJ^%xk`Yw7#;a^Y;L(Z_i}_ diff --git a/lyric_analysis/objs/main.o b/lyric_analysis/objs/main.o deleted file mode 100644 index 31b4d84725c6d8e931406a2f799d2a2c0f041388..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2800 zcmbVNU5FD`6h7IgTUS@NYO!FEAlO!@cN1NMKhQ>(=sbuNA@nhw%}#d1W-{r_1a<}M zintikfFOc>*GKZgls|iVAdvu;1bhvBi&20FgZ+6G9SdD_ zUNf41{7NV51wrg7+I^szUtY{F5$ElRX9K8YqOJT=``bjbu!Mn@o4?7tACsS4l@a=9 zF)#*ZwhWD@!Jg^{w8Kc>-=9+i6d^`Er#9t{zPdNxY2SQx?V+&ihY7B_B@ILiR_^}P zz29DG-sn7;@7#XaeRK!PPTi_e9JO}y!AkpH=i0*StL@Ih)y~~pif5bEs#AjDA=p1D zHt+X_0M3k$A5VQ*m}u1eM(T(d6X}E5hO{z2X0jqZCNhT(1PiG{=}b1AO&_}qI*1?ai=tpdv0}g%`_}ss;6i??K&iUB?BxUNz?|w@3=6 zEMKy`$^{D@Wkr`=%bWzycYS9D{EBTACoSUE-Ac_b11?)oE>#`R!bDKE1`4*I)~kZ+ zn(^I=mr|PA0e&>_j+zxpTH%CIoUfF9L}}tvEao3qIP{2P6xDl6*bSmcp4&@0H|wpd??<^A`=Ldgpy*OGKOF z$R>sMqQ?JNxJ}=R1wRQ{(er8S{DHE!1dG=zjEl_h~rQ0Ov0>{1XjN z;hcox(CCTq=4{`b0711V^)%01tVrQovp$GP(>Fm(cpeDX35=3s+g1(NYL0J-Gv^8i zJ>M+NAc5Sh>0;S6ZB@O!-9C7dLQgtcxRd1&BjNrPSOJ&kq^W;Vm(AhOWmUD_oVpaM zDcXlS>8FbPxx&L8d`{iBqV-f5rtgemeyD#2eJSR9?+)#Gwb2~Tb>aLO!@of3&)+}e z|0@4114?uLtWPQb5DiAd35EQb|DEy=)6)t#%0#8Z`JYET>iwk$0|$Oj^!~_~{TZik uCw%whX()e_3{Cjl43Qnqoz|umIHEN5n9VrC`x6$m|E#J%57%`G@Bbfs`JOZY diff --git a/lyric_analysis/objs/start_mplayer.o b/lyric_analysis/objs/start_mplayer.o deleted file mode 100644 index 29b4460aec8b6fe9cfdba151cf5c045e38d4b3d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1976 zcmbu9&ubGw6vy8twZCjj{BaN}vLJ|xS&~rW4@6Q+Yzk7L67(Wv8>gl;$)>v-Nrmd6 zAOtV{Q#@7=M)2g>zdGdpi)UY8%-PZVBXL0bDWz53 zmJjCN!*!|mDd<1I_=vwC!#=byXsGRd`MmD9o0Q$^YzUvSUc-JNsM&7V+rlMUTv)hm zUaqcnT7Jj8Zp~S_Y_Stq`B(X(m7BBjg)8BJS;*y!xnk}XazoCB9T_iI$mnK_*{QMd zJzn>D=4g;E{^n;gZ&C}>qbZL)0OAFoJVL(?<3`i5J57}4U!0^lQ=FvfL>%TUV+lNd z!D$*j=6{OGX>Fasw==uIEpyD9=wbrDn!s}j{6+#N&$nHFRo2?7sj9D{_!OLqws2j? zrCP)B1c|PwHQL;5_?(gW%!YykILU2r7|N{VVES&FlEeQbH|1Z@_>{))B=BX)Rem+c zqXd6ytmXK^T3oJXxm2}Hc0ib@udcgxQw-<%PsQYT+^y(| zEir?ra~fKquhP+@-ndOAZo2%Gn=y{$ET}nDbz{x}vRvW@9=)mi7>p5_Za8v{HRSx) z_&moV=U=sBTg|V|GowJF^W(t-!~N6ct2Bx_WL?Fp{+`Bk*9qmI!x-Pkl10~_k?}Vp z@oN7SUSTD!e!u00syd;5h*j~5<6VpHJtNA| zUh)zA1mZXF;K`duKY&8P9Q2k$pq<&BvCo&yMStP#%>3T`%e?pA)E+%3ISvRMxCdvJ zumJB%XL^{aA&jaVI+^9a_5)k!bt#>@mGX0W-3A%riy6HGChGm zKgKU0vuN~_{YT`k;Hr#yBcb<_czY*)86BvmVPq<9U*Z@#)>&MmlN{G3@UFodR{=n! z2Z@dvD0MrRyP~zRy3%o1gW8F71gepypql$h61R|R?dw==KCZ8(I%>WEmAS{e+t1rk z5_7r#7SuPLv3&v|as-)UZsoqBlU&9{ryAliG2}<$F?j(cQF7NVGk=|V`^I#6-xi$q z4}B9g%K5MHKE_f`=@ZoqQa=!arPLR>fxPIZ>j%>?bldj{$NzO_ko(9n_WWgjlJX%c zMe|?bgfeHEKfNZ27oP69Jv*cz%+wPs*k2&TS%Q=)(+pbS #include +typedef struct lrc +{ + int time; // 歌词时间点 + char lrc_buf[200]; // 歌词内容 + int lrc_cur_num; // 当前歌词行数, 用于标记当前歌词(第几句歌词 从1开始) + struct lrc *next; // 指向下一行歌词(指向链表下一个节点) +} LRC; + FILE *open_lrc_file(const char *lrc_path); // 打开歌词文件 long get_lrc_size(FILE *fp); // 获取歌词文件大小 diff --git a/lyric_analysis/srcs/includes/start_mplayer.h b/lyric_analysis/srcs/includes/start_mplayer.h old mode 100755 new mode 100644 diff --git a/lyric_analysis/srcs/main.c b/lyric_analysis/srcs/main.c index 490569a..6436d18 100644 --- a/lyric_analysis/srcs/main.c +++ b/lyric_analysis/srcs/main.c @@ -6,8 +6,8 @@ int main() { // 定义歌曲和歌词文件路径 - const char *song_path = "../songs/简单爱.mp3"; - const char *lrc_path = "../lrc/简单爱.lrc"; + const char *song_path = "./songs/简单爱.mp3"; + const char *lrc_path = "./lrcs/简单爱.lrc"; FILE *fp = open_lrc_file(lrc_path); // 打开歌词文件 if (NULL == fp) diff --git a/lyric_analysis/srcs/start_mplayer.c b/lyric_analysis/srcs/start_mplayer.c old mode 100755 new mode 100644 diff --git a/lyric_analysis/srcs/time_delay.c b/lyric_analysis/srcs/time_delay.c old mode 100755 new mode 100644