public IUsingFingerprintServices From(float[] audioSamples, Song song) { createFingerprintsMethod = () => { MusicSpectrum music = new MusicSpectrum(dataStorageToUse); music.InsertSongToDB(audioSamples, song); }; return(this); }
public IUsingFingerprintServices From(string pathToAudioFile) { createFingerprintsMethod = () => { MusicSpectrum music = new MusicSpectrum(dataStorageToUse); music.InsertSongToDB(audioServiceToUse, pathToAudioFile); }; return(this); }