1. A computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to convert an input into one or more haptic effects, the converting comprising: receiving the input; segmenting the input into a plurality of waveforms, wherein each waveform comprises at least a portion of the input; combining each waveform with an envelope to generate a grain, wherein a plurality of grains is generated, and wherein each grain comprises an amplitude parameter, a waveform parameter, an envelope parameter, and a duration parameter; combining the plurality of grains to generate a cloud, wherein the cloud comprises a representation of the plurality of grains; and generating the one or more haptic effects based on the cloud.