Inductivity and Deductivity on Music.

Is music a primarily, inductive science?

Is there a way to become an excellent composer, solely based on deductive reasoning? While having zero experience listening or composing music?

Can a scientist deduce that a minor chord sounds sad, by simply reading the frequency numbers, without ever actually hearing a minor chord before in hisher life, and before ever knowing any emotions associated with minor chords?

Are all musical motifs either the result of accidental experimentation, or clonings of other accidental experimentation?

Or is there an actual, deductive way a scientist, never hearing music before in hisher life, can compose a great song, based only on a couple of data points, logics, wisdoms and algorithms?

Is music mostly illogical, and mostly unmappable, except through experiment and recording, documenting and rating the successes and failures? Is it an emotional rollercoaster with no real equation other than it’s own goodness?