The invention discloses a music teaching method and
system based on a
vocal music live classroom, and relates to the technical field of music teaching, and the method comprises the steps: respectively collecting audio signals of a teacher end and a student end in the
vocal music live classroom, carrying out the preprocessing, and generating frame-level acoustic feature vectors of teachers and students; based on frame-level acoustic feature vectors of teachers and students, generating a mapping
feature vector, category probability and an adversarial sample set through mapping, domain discrimination and a CTC model, constructing a total
loss function in combination with a
loss function value of the model, and performing iterative optimization, gradient fixed-point
rounding and feedback of
model parameters; according to the invention, through constructing the total
loss function, introducing the gradient inversion layer and the gradient fixed-point
rounding mechanism, combining the three-state HMM state path and calculating the pronunciation quality logarithm
score, the robustness and precision of student pronunciation evaluation in a
vocal music live broadcast teaching scene are significantly improved, and thus a high-resolution teaching feedback basis is provided for teachers.