Not just Psalms, but the whole of Hebrew Scripture. - The mode is inferred, as I mention here, by the relationship of the melodic and verbal lines. From the example of Genesis 1:1ff, modality seems parallel to verbal grammar, and the latter can be used to infer the former.