Every entry of a dictionary that answers a query, in dictionary order.
Order is preserved so a selection made from the result is reproducible: the same dictionary and the same query always offer the same candidates in the same positions.
The entries to search.
What the generator knows about the moment.
The matching entries, in the order they appear in the dictionary.
import { BASS_LICKS, selectVocabulary } from '@libraz/libcantus';const candidates = selectVocabulary(BASS_LICKS, { genre: 'motown', difficulty: 3 }); Copy
import { BASS_LICKS, selectVocabulary } from '@libraz/libcantus';const candidates = selectVocabulary(BASS_LICKS, { genre: 'motown', difficulty: 3 });
Every entry of a dictionary that answers a query, in dictionary order.
Order is preserved so a selection made from the result is reproducible: the same dictionary and the same query always offer the same candidates in the same positions.