/// Send a new score event.
/// # Arguments
/// * `event_type` is the score event type ('a', 'i', 'q', 'f', or 'e').
/// * `pfields` is a slice of f64 values with all the pfields for this event.
/// # Example
/// ```no_run
/// use csound::Csound;
///
/// let cs = Csound::new();
/// let pFields = [1.0, 1.0, 5.0];
/// while cs.perform_ksmps() == false {
///     cs.send_score_event('i', &pFields);
/// }
/// ```
Send a new score event.
Send a new score event .
pub fn send_score_event(&self, event_type: char, pfields: &[f64]) -> Status {
        unsafe {
            Status::from(csound_sys::csoundScoreEvent(
                self.engine.csound,
                event_type as c_char,
                pfields.as_ptr() as *const c_double,
                pfields.len() as c_long,
            ) as i32)
        }
    }
pub fn send_score_event ( & self , event_type : char , pfields : & [ f64 ] ) -> Status { unsafe { Status :: from ( csound_sys :: csoundScoreEvent ( self . engine . csound , event_type as c_char , pfields . as_ptr ( ) as * const c_double , pfields . len ( ) as c_long , ) as i32 ) } }
Send a new score event.
Send a new score event .
&self
event_type
char
pfields
&[f64]
example
```no_run
use csound::Csound.


` ` ` no_run use csound :: Csound .