C5,W3,A2 Ex: Exercise 4 - create_training_example

i read threads about this but none have answer, every one just leaving this & passing grader with 100/100.

AssertionError: Spectrogram is wrong. Check the parameters passed to the insert_audio_clip function

what should i do?

Are you solving the assignment in coursera lab environment?

I’ve faced this issue because of music21. Use 6.5.0 and see if the assertion continues. Here’s a post which lists the dependencies.

indeed.
btw problem solved : i was passing random_activate to audio clip funtion when it should be random_negative while inserting negative clip in background.
anyway thanks.