Making drum sessions with SCAMP

I am trying to play drum sounds with SCAMP, but so far not very succesful.

from scamp import *
s=Session(default_soundfont="C:/soundfonts/GiantSoundfontDrumkit2.1.sf2")
drums = s.new_part("drums")

for test in range(40,60):
    drums.play_note(test,1,1)

I get this ‘feedback’:

WARNING:root:Could not find preset matching drums. Falling back to preset 0 (probably piano).
fluidsynth: error: no MIDI in devices found
fluidsynth: error: There is no preset with bank number 0 and preset number 0 in SoundFont 1

Any help or links to relevant reading material will be appreciated.

Sounds like it’s not finding an appropriated preset name. Try:

s.print_default_soundfont_presets()

Does it print out the expected drum presets?

Solved! THX!