User:Zorg/Manual:Audio/8

Example 8 - generative audio - decoders but sampling should be this, since samples can be long, and decoders can do a better job love.sound.newDecoder ...okay, no. sounddata makes for faster access, but still, Decoder:getBitDepth decoders will be seekable and will consume less RAM, so yeah, it should work. Decoder:getChannels basically, sounddatas are for samplers as well as generators, while decoders are for long audio clips. Decoder:getDuration Decoder:getSampleRate Decoder:decode will be introduced in 0.11 Decoder:seek will be introduced in 0.11

RecordingDevice love.audio.getRecordingDevices RecordingDevice:startRecording RecordingDevice:stopRecording RecordingDevice:getData RecordingDevice:getSampleCount RecordingDevice:getSampleRate RecordingDevice:getBitDepth RecordingDevice:getChannels RecordingDevice:getNane RecordingDevice:isRecording

Navigation

Previous Chapter
Home