Using sampler and midi bass

Hello, is There a way to triger sounds from a sampler (like in ableton simpler or sampler) using a single note or a range of notes midi bass? Jam origin Bass.

Example. Triger the same sound when playing E note or next or previos notes in electric bass like D# to F.?

Thanks

this midi machine can be used to trigger exactly one note
https://jamosapien.com/t/range-to-one-note/668/2