jmod.sampleplayer2~

sampleplayer with separate control of pitch and speed

Table of Contents | Index of Modules | Credits | Donate | Jamoma.org

Configuration

Module Type: control
Algorithm Type: default

Interface Size: 300x105 pixels

Number of signal inlets: 0
Number of signal outlets: 2

Parameters

/name /type /range/bounds /range/clipmode /ramp/drive /ramp/function /dataspace /dataspace/unit /repetitions/filter /description
audio/gain decimal 0 127 none scheduler linear gain midi 1 Set gain (as MIDI value by default).
audio/mute boolean 0 1 none none linear none none 1 When active, this attribute turns off the module's processing algorithm to save CPU
loop boolean 0 1 none none linear none none 1 Loop soundfile.
loopsync/active boolean 0 1 none none linear none none 1
loopsync/mode string 0 1 none none linear none none 1 modes: normalized, loop_time, sample_time
pitch/active boolean 0 1 none none linear none none 1 turn on/off pitchshifting.
pitch/ratio decimal -12 12 none scheduler linear none none 1 playback pitch in [semitones]
reverse boolean 0 1 none none linear none none 1 whether sample is played forward or backward
sample/start decimal 0 1000000 low scheduler linear none none 1 start time in ms
sample/stop decimal 0 1000000 low scheduler linear none none 1 stoptime time in ms
sample/vzoom decimal 0 1 non none linear none none 1
speed/active boolean 0 1 none none linear none none 1 turn on/off vari-speed.
speed/ratio decimal -4 4 none scheduler linear none none 1 playback speed
view/freeze boolean 0 1 none none linear none none 1 Turn off the updating of user interface elements when parameters change. This may be done to conserve CPU resources.
view/highlight string 0 1 none none linear none none 1 Highlight the module with a color tint such as red, green, or similar.

 

Messages

/name /type /range/bounds /range/clipmode /ramp/drive /ramp/function /dataspace /dataspace/unit /repetitions/filter /description
direct generic 0 1 none none linear none none 1 direct communication with the groove~ module
documentation/generate generic 0 1 none none linear none none 1 Generate a html documentation page for this module and save it to disk. The argument 'tex' creates a Latex document.
init none 0 1 none none linear none none 1 Initialize a module completely to the original state.
open generic 0 1 none none linear none none 1 Open sound file specified by filename. Without a filename a standard open file dialog allows you to choose a file.
play boolean 0 1 none none linear none none 1 Play sound file.
preset/clear none 0 1 none none linear none none 1 Clears all presets, providing a blank slate for saving new presets.
preset/copy generic 0 1 none none linear none none 1 Create a new preset (2nd argument) by copying the contents of another preset (1st argument)
preset/default none 0 1 none none linear none none 1 Open the default preset file and recall the first preset in that file.
preset/dump none 0 1 none none linear none none 1 Dump all preset names.
preset/interpolate generic 0 1 none none linear none none 1 Interpolate between two named presets (argument 1 and 2) using a ratio (float in the range [0.0, 1.0]) specified as the third argument.
preset/mix generic 0 1 none none linear none none 1 Mix list of pairs of (preset name, mix value) using a ratio (float).
preset/post none 0 1 none none linear none none 1 Post all presets to the Max window.
preset/read generic 0 1 none none linear none none 1 Open an xml-preset file and recall the first preset in that file. An optional argument defines the file to open.
preset/recall generic 0 1 none none linear none none 1 Recall a preset by number - you can also choose presets from the module menu.
preset/store generic 0 1 none none linear none none 1 Store a preset by number in memory. All presets present in memory will be written to disk when you send a /preset/write message to the module.
preset/storecurrent none 0 1 none none linear none none 1 Store on the last recalled or stored preset
preset/storenext none 0 1 none none linear none none 1 Store a preset in the next preset slot. Handy so that you do not need to specify a preset number manually.
preset/write generic 0 1 none none linear none none 1 Write an xml-preset file to disk. An optional argument defines the file to open.
preset/writeagain none 0 1 none none linear none none 1 Write on same xml-preset file.
sample/buffername string 0 1 none none linear none none 1 Name of buffer used
sample/displaylength decimal 0 1000000 low scheduler linear none none 1 display length in ms
sample/displaystart decimal 0 1000000 low scheduler linear none none 1
view/color/border decimalArray 0 1 both none linear none none 1 The border color of the module in the format RGBA where values range.
view/color/contentBackground decimalArray 0 1 both none linear none none 1 The background color of the module in the format RGBA where values range.
view/color/toolbarBackground decimalArray 0 1 both none linear none none 1 The background color of the module's toolbar in the format RGBA where values range.
view/color/toolbarText decimalArray 0 1 both none linear none none 1 The color of the module's toolbar text in the format RGBA where values range.
view/internals none 0 1 none none linear none none 1 Attempts to open the internal algorithm for viewing. This works for most modules. Some modules may choose to cloak the algorithms - preventing this message from functioning.
view/panel none 0 1 none none linear none none 1 Open an a module's control panel (inspector) if one is present.
view/refresh none 0 1 none none linear none none 1 Update displayed values for module to reflect current state.
view/script generic 0 1 none none linear none none 1 Low-level module hacking. Any arguments arguments to this message will be interpreted as patcher scripting for the top-level patcher of the module.
view/size generic 0 1 none none linear none none 1 The size of the module's UI: [Width Height]

 

Return

/name /type /range/bounds /range/clipmode /ramp/drive /ramp/function /dataspace /dataspace/unit /repetitions/filter /enable /description
audio/amplitude.1 decimal 0 1 none gain linear 1 0 instant amplitude of the signal number 1
audio/amplitude.2 decimal 0 1 none gain linear 1 0 instant amplitude of the signal number 2
info/filename string 0 1 none none none 1 1 returns the name of the loaded file
info/length integer 0 1 none time none 1 1 returns the length in [ms] of the internal buffer
info/playername string 0 1 none none none 1 1 returns the name of the internal buffer

 

About Jamoma

Jamoma is a system for creating and exchanging structured Max patches. It consists of both a set of guidelines and an implementation of those guidelines. For more information please visit jamoma.org.