pub fn read_score(&self, score: &str) -> Result<(), &'static str> {
        unsafe {
            let s = Trampoline::convert_str_to_c(score)?;
            if csound_sys::csoundReadScore(self.engine.csound, s.as_ptr())
                == CSOUND_STATUS::CSOUND_SUCCESS
            {
                return Ok(());
            }
            Err("Invalid score")
        }
    }
/// Reads, preprocesses, and loads a score from an ASCII string.
/// It can be called repeatedly with the new score events being added to the currently scheduled ones.
Reads, preprocesses, and loads a score from an ASCII string.
It can be called repeatedly with the new score events being added to the currently scheduled ones.
Reads preprocesses and loads a score from an ASCII string . It can be called repeatedly with the new score events being added to the currently scheduled ones .
pub fn read_score(&self, score: &str) -> Result<(), &'static str> {
        unsafe {
            let s = Trampoline::convert_str_to_c(score)?;
            if csound_sys::csoundReadScore(self.engine.csound, s.as_ptr())
                == CSOUND_STATUS::CSOUND_SUCCESS
            {
                return Ok(());
            }
            Err("Invalid score")
        }
    }
pub fn read_score ( & self , score : & str ) -> Result < ( ) , & ' static str > { unsafe { let s = Trampoline :: convert_str_to_c ( score ) ? ; if csound_sys :: csoundReadScore ( self . engine . csound , s . as_ptr ( ) ) == CSOUND_STATUS :: CSOUND_SUCCESS { return Ok ( ( ) ) ; } Err ( " " ) } }
Reads, preprocesses, and loads a score from an ASCII string.
Reads preprocesses and loads a score from an ASCII string .
&self
score
&str
&self
score
&str