Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alisomay/libpd-rs
/ functions
Functions
254 in github.com/alisomay/libpd-rs
⨍
Functions
254
◇
Types & classes
190
↓ 1 callers
Function
send_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 callers
Function
send_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 callers
Function
send_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 callers
Function
send_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 callers
Method
set_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 callers
Method
subscribe_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 callers
Method
unsubscribe_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 callers
Method
update
This function is called every frame.
examples/with_nannou/bubble.rs:200
Function
PD_BADFLOAT
tests/pd_binary/win/pd-0.52-2/src/m_pd.h:758
Function
PD_BADFLOAT
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/src/m_pd.h:742
Function
PD_BIGORSMALL
tests/pd_binary/win/pd-0.52-2/src/m_pd.h:766
Function
PD_BIGORSMALL
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/src/m_pd.h:750
Function
Tcl_AppInit
tests/pd_binary/win/pd-0.52-2/lib/tk8.6/tkAppInit.c:101
Function
Tcl_AppInit
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Scripts/tkAppInit.c:101
Function
Tcl_AppInit
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts/tclAppInit.c:107
Function
all_main_functionality
()
tests/general.rs:11
Function
all_process_functions
()
tests/process.rs:19
Function
apply_array_operations_in_a_row
()
tests/arrays.rs:12
Method
attack_dest
(&mut self, value: f32)
examples/with_nannou/bubble.rs:163
Method
attack_time
(&mut self, value: f32)
examples/with_nannou/bubble.rs:166
Method
audio_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
Function
audio_callback
This is where we process audio. We hand over all tasks to our pd patch!
examples/with_nannou/main.rs:146
Method
default
()
examples/with_nannou/bubble.rs:31
Function
dollar_zero
()
tests/pd_global_dollar_zero.rs:4
Method
dollar_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
Method
drop
(&mut self)
src/instance.rs:259
Method
drop
(&mut self)
src/lib.rs:1154
Function
dspobj_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
Function
dspobj_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
Function
dspobj_new
tests/pd_binary/win/pd-0.52-2/doc/6.externs/dspobj~.c:46
Function
dspobj_new
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/dspobj~.c:46
Function
dspobj_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
Function
dspobj_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
Function
dspobj_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
Function
dspobj_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
Method
eq
(&self, other: &Self)
src/instance.rs:39
Method
fmt
(&self, f: &mut fmt::Formatter)
src/atom.rs:84
Method
from
(ptr: *mut ffi::c_void)
src/types.rs:21
Method
from
(err: NulError)
src/error.rs:230
Method
from
(s: String)
src/atom.rs:93
Method
from_t_atom
Converts a C `t_atom` to a Rust `Atom`.
src/atom.rs:59
Method
get_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
Method
init_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
Method
inner
Returns a reference to the inner pd instance.
src/lib.rs:659
Method
inner_mut
Returns a mutable reference to the inner pd instance.
src/lib.rs:664
Method
input_channels
(&self)
src/lib.rs:1063
Method
instance_number
Returns the number of the instance.
src/lib.rs:681
Method
is_current_instance
Checks if this instance is set as the current instance.
src/instance.rs:187
Method
is_locked
Gets if this instance is locked. Returns `pd_islocked`.
src/instance.rs:169
Method
is_main_instance
Checks if this instance is the main instance. The main instance is always valid.
src/lib.rs:688
Function
listening
()
tests/listening.rs:12
Function
main
tests/pd_binary/win/pd-0.52-2/lib/tk8.6/tkAppInit.c:69
Function
main
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tk.framework/Versions/8.6/Resources/Scripts/tkAppInit.c:69
Function
main
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Frameworks/Tcl.framework/Versions/8.6/Resources/Scripts/tclAppInit.c:71
Function
main
()
examples/communicate.rs:8
Function
main
()
examples/simple.rs:4
Function
main
()
examples/with_nannou/main.rs:12
Method
make_bubble
Make a single bubble
examples/with_nannou/main.rs:111
Function
message_building
()
tests/message_building.rs:13
Function
model
(app: &App)
examples/with_nannou/main.rs:26
Method
new
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
Method
new
(x: f32, y: f32, r: f32, alpha: f32, id: usize)
examples/with_nannou/bubble.rs:120
Method
next
(&mut self)
examples/with_nannou/bubble.rs:64
Function
obj1_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
Function
obj1_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
Function
obj1_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
Function
obj1_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
Function
obj1_rats
this is called when obj1 gets the message, "rats". */
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj1.c:21
Function
obj1_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
Function
obj1_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
Function
obj1_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
Function
obj2_float
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:11
Function
obj2_float
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:11
Function
obj2_ft1
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:21
Function
obj2_ft1
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:21
Function
obj2_new
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:28
Function
obj2_new
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:28
Function
obj2_rats
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:16
Function
obj2_rats
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:16
Function
obj2_setup
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj2.c:36
Function
obj2_setup
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj2.c:36
Function
obj3_float
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:12
Function
obj3_float
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:12
Function
obj3_ft1
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:17
Function
obj3_ft1
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:17
Function
obj3_new
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:24
Function
obj3_new
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:24
Function
obj3_setup
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj3.c:32
Function
obj3_setup
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj3.c:32
Function
obj4_float
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj4.c:13
Function
obj4_float
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj4.c:13
Function
obj4_ft1
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj4.c:18
Function
obj4_ft1
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj4.c:18
Function
obj4_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
Function
obj4_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
Function
obj4_setup
tests/pd_binary/win/pd-0.52-2/doc/6.externs/obj4.c:37
Function
obj4_setup
tests/pd_binary/mac/Pd-0.51-4.app/Contents/Resources/doc/6.externs/obj4.c:37
Function
obj5_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
Function
obj5_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
Function
obj5_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
← previous
next →
101–200 of 254, ranked by callers