Record with fade in and out
This patch shows a slight improvement on the basic way of recording and playing back a sound file, fading the sound in and out quickly when recording in order to avoid clicks.
This patch shows a slight improvement on the basic way of recording and playing back a sound file, fading the sound in and out quickly when recording in order to avoid clicks.
This patch shows the basics of how to record and play back a sound file.
This patch shows the use of sfplay~ to play pre-recorded sound files, the use of gain~ to control their loudness, and a few other features of controlling soundfile playback in MSP.
This is a subpatch that can be used for playing sound cues from an sflist~ object. It has one inlet and one outlet, and—serving the same purpose—it also has an in object and an out~ object; thus, it can be used either as a normal subpatch or as the content of a poly~ object. It's monophonic, but one could easily adapt it to make a stereo version.
This example demonstrates how to modulate the playback speed of an audio file. The value in the right inlet of sfplay~ determines the playback rate; 1. is normal speed, 0.5 is half speed, 2.0 is double speed, and so on. The rate can be provided as a continuously changing control signal instead of as a single constant value, allowing us to warp the speed at will. Here we're using a cycle~ object to produce a low-frequency sinusoid over the course of ten seconds (i.e. at the frequency of 0.1 Hz).
Thie example demonstrates a simple setup for playing a sound file using sfplay~.
This patch demonstrates how to use gain~ to smoothly scale a signal.
This exmaple demonstrates a simple way to ramp amplitude with number~.
The example demonstrates a simple way to play an audio file.
This example demonstrates how to play an audio file.