MCPcopy Create free account

hub / github.com/alisomay/libpd-rs / functions

Functions254 in github.com/alisomay/libpd-rs

↓ 1 callersFunctionsend_poly_after_touch
Sends a MIDI poly after touch message to `|polytouchin|` objects in pd. Channel is zero-indexed, pitch is `0-127` and value is `0-127`. Channels enc
src/functions/send.rs:667
↓ 1 callersFunctionsend_program_change
Sends a MIDI program change message to `pgmin` objects in pd. Channel is zero-indexed, value is `0-127`. Channels encode MIDI ports via: `libpd_chan
src/functions/send.rs:560
↓ 1 callersFunctionsend_sys_realtime
Sends a raw MIDI byte to `|midirealtimein|` objects in pd. Port is zero-indexed and byte is `0-255` # Example ```rust use libpd_rs::functions::send:
src/functions/send.rs:766
↓ 1 callersFunctionsend_sysex
Sends a raw MIDI byte to `|sysexin|` objects in pd. Port is zero-indexed and byte is `0-255` # Example ```rust use libpd_rs::functions::send::{send_
src/functions/send.rs:733
↓ 1 callersMethodset_as_current
Makes this instance the current instance. So that all subsequent calls to libpd functions will be made on this instance.
src/instance.rs:148
↓ 1 callersMethodsubscribe_to
Starts listening messages from a source. If the source is already being listened to, this function will early return not doing anything without an er
src/lib.rs:886
↓ 1 callersMethodunsubscribe_from_all
Stops listening from all sources. # Examples ```no_run use libpd_rs::Pd; let mut pd = Pd::init_and_configure(1, 2, 44100).unwrap(); pd.open_patch("t
src/lib.rs:981
↓ 1 callersMethodupdate
This function is called every frame.
examples/with_nannou/bubble.rs:200
FunctionPD_BADFLOAT
tests/pd_binary/win/pd-0.52-2/src/m_pd.h:758
FunctionPD_BADFLOAT
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/src/m_pd.h:742
FunctionPD_BIGORSMALL
tests/pd_binary/win/pd-0.52-2/src/m_pd.h:766
FunctionPD_BIGORSMALL
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/src/m_pd.h:750
FunctionTcl_AppInit
tests/pd_binary/win/pd-0.52-2/lib/tk8.6/tkAppInit.c:101
FunctionTcl_AppInit
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Scripts/tkAppInit.c:101
FunctionTcl_AppInit
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts/tclAppInit.c:107
Functionall_main_functionality
()
tests/general.rs:11
Functionall_process_functions
()
tests/process.rs:19
Functionapply_array_operations_in_a_row
()
tests/arrays.rs:12
Methodattack_dest
(&mut self, value: f32)
examples/with_nannou/bubble.rs:163
Methodattack_time
(&mut self, value: f32)
examples/with_nannou/bubble.rs:166
Methodaudio_active
Checks if the audio is active. # Important The state is tracked by libpd internally for the instance and we expose other functions to modify this st
src/lib.rs:1016
Functionaudio_callback
This is where we process audio. We hand over all tasks to our pd patch!
examples/with_nannou/main.rs:146
Methoddefault
()
examples/with_nannou/bubble.rs:31
Functiondollar_zero
()
tests/pd_global_dollar_zero.rs:4
Methoddollar_zero
Gets the `$0` of the running patch. `$0` id in pd could be thought as a auto generated unique identifier for the patch. # Errors A list of errors t
src/lib.rs:1000
Methoddrop
(&mut self)
src/instance.rs:259
Methoddrop
(&mut self)
src/lib.rs:1154
Functiondspobj_dsp
called to start DSP. Here we call Pd back to add our perform routine to a linear callback list which Pd in turn calls to grind out the sample
tests/pd_binary/win/pd-0.52-2/doc/6.externs/dspobj~.c:41
Functiondspobj_dsp
called to start DSP. Here we call Pd back to add our perform routine to a linear callback list which Pd in turn calls to grind out the sample
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/dspobj~.c:41
Functiondspobj_new
tests/pd_binary/win/pd-0.52-2/doc/6.externs/dspobj~.c:46
Functiondspobj_new
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/dspobj~.c:46
Functiondspobj_perform
this is the actual performance routine which acts on the samples. It's called with a single pointer "w" which is our location in the DSP call
tests/pd_binary/win/pd-0.52-2/doc/6.externs/dspobj~.c:25
Functiondspobj_perform
this is the actual performance routine which acts on the samples. It's called with a single pointer "w" which is our location in the DSP call
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/dspobj~.c:25
Functiondspobj_tilde_setup
this routine, which must have exactly this name (with the "~" replaced by "_tilde) is called when the code is first loaded, and tells Pd how t
tests/pd_binary/win/pd-0.52-2/doc/6.externs/dspobj~.c:57
Functiondspobj_tilde_setup
this routine, which must have exactly this name (with the "~" replaced by "_tilde) is called when the code is first loaded, and tells Pd how t
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/dspobj~.c:57
Methodeq
(&self, other: &Self)
src/instance.rs:39
Methodfmt
(&self, f: &mut fmt::Formatter)
src/atom.rs:84
Methodfrom
(ptr: *mut ffi::c_void)
src/types.rs:21
Methodfrom
(err: NulError)
src/error.rs:230
Methodfrom
(s: String)
src/atom.rs:93
Methodfrom_t_atom
Converts a C `t_atom` to a Rust `Atom`.
src/atom.rs:59
Methodget_instance_data
Get custom instance data Returns `None` - If the stored type does not match the requested type. - If no data is stored.
src/instance.rs:237
Methodinit_and_configure
Initializes a pd instance. It calls [`PdInstance::new`](crate::instance::PdInstance::new) and [`initialize_audio`](crate::initialize_audio) with the
src/lib.rs:638
Methodinner
Returns a reference to the inner pd instance.
src/lib.rs:659
Methodinner_mut
Returns a mutable reference to the inner pd instance.
src/lib.rs:664
Methodinput_channels
(&self)
src/lib.rs:1063
Methodinstance_number
Returns the number of the instance.
src/lib.rs:681
Methodis_current_instance
Checks if this instance is set as the current instance.
src/instance.rs:187
Methodis_locked
Gets if this instance is locked. Returns `pd_islocked`.
src/instance.rs:169
Methodis_main_instance
Checks if this instance is the main instance. The main instance is always valid.
src/lib.rs:688
Functionlistening
()
tests/listening.rs:12
Functionmain
tests/pd_binary/win/pd-0.52-2/lib/tk8.6/tkAppInit.c:69
Functionmain
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Scripts/tkAppInit.c:69
Functionmain
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts/tclAppInit.c:71
Functionmain
()
examples/communicate.rs:8
Functionmain
()
examples/simple.rs:4
Functionmain
()
examples/with_nannou/main.rs:12
Methodmake_bubble
Make a single bubble
examples/with_nannou/main.rs:111
Functionmessage_building
()
tests/message_building.rs:13
Functionmodel
(app: &App)
examples/with_nannou/main.rs:26
Methodnew
Create a new instance of Pd. If this is the first instance created, it will be the main instance. The main instance is always valid. - If this is no
src/instance.rs:75
Methodnew
(x: f32, y: f32, r: f32, alpha: f32, id: usize)
examples/with_nannou/bubble.rs:120
Methodnext
(&mut self)
examples/with_nannou/bubble.rs:64
Functionobj1_float
this is called back when obj1 gets a "float" message (i.e., a number.) */
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj1.c:15
Functionobj1_float
this is called back when obj1 gets a "float" message (i.e., a number.) */
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj1.c:15
Functionobj1_new
this is called when a new "obj1" object is created. */
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj1.c:31
Functionobj1_new
this is called when a new "obj1" object is created. */
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj1.c:31
Functionobj1_rats
this is called when obj1 gets the message, "rats". */
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj1.c:21
Functionobj1_rats
this is called when obj1 gets the message, "rats". */
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj1.c:21
Functionobj1_setup
this is called once at setup time, when this code is loaded into Pd. */
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj1.c:39
Functionobj1_setup
this is called once at setup time, when this code is loaded into Pd. */
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj1.c:39
Functionobj2_float
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:11
Functionobj2_float
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:11
Functionobj2_ft1
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:21
Functionobj2_ft1
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:21
Functionobj2_new
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:28
Functionobj2_new
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:28
Functionobj2_rats
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:16
Functionobj2_rats
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:16
Functionobj2_setup
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:36
Functionobj2_setup
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:36
Functionobj3_float
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:12
Functionobj3_float
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:12
Functionobj3_ft1
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:17
Functionobj3_ft1
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:17
Functionobj3_new
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:24
Functionobj3_new
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:24
Functionobj3_setup
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:32
Functionobj3_setup
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:32
Functionobj4_float
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj4.c:13
Functionobj4_float
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj4.c:13
Functionobj4_ft1
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj4.c:18
Functionobj4_ft1
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj4.c:18
Functionobj4_new
as requested by the new invocation of "class_new" below, the new routine will be called with a "float" argument. */
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj4.c:27
Functionobj4_new
as requested by the new invocation of "class_new" below, the new routine will be called with a "float" argument. */
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj4.c:27
Functionobj4_setup
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj4.c:37
Functionobj4_setup
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj4.c:37
Functionobj5_new
same for the "new" (creation) routine, except that we don't have "x" as an argument since we have to create "x" in this routine. */
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj5.c:31
Functionobj5_new
same for the "new" (creation) routine, except that we don't have "x" as an argument since we have to create "x" in this routine. */
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj5.c:31
Functionobj5_rats
the "rats" method is called with the selector (just "rats" again) and an array of the typed arguments, which are each either a number or a sym
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj5.c:14
← previousnext →101–200 of 254, ranked by callers