Changes

Jump to navigation Jump to search
Line 35: Line 35:  
::(c) In addition, earlier versions of Record (<v64 or so) create ogg SPEEX soundfiles; even the recent versions of Csound (actually, libsndfile) do not handle this (lo-fi) format.
 
::(c) In addition, earlier versions of Record (<v64 or so) create ogg SPEEX soundfiles; even the recent versions of Csound (actually, libsndfile) do not handle this (lo-fi) format.
   −
:2. jname1 stores the soundfile name (complete path); jobject1 stores the object itself. This is key to being able (in Csound) to locate and load the selected soundfile. jname1 is then a channel opened to send the named soundfile to Csound.
     −
:3. If the user closes the Object Chooser box instead of clicking on a sound object, the result is not accepted, and jname1 reverts to "0" - which is a flag (in Csound) to revert to the default soundfile included in FileMix.
+
:2. self.path stores the soundfile name (complete path); self.jobject stores the object itself. This is key to being able (in Csound) to locate and load the selected soundfile. self.path is then a channel opened to send the named soundfile to Csound.
 +
 
 +
:3. If the user closes the Object Chooser box instead of clicking on a sound object, the result is not accepted, and self.path reverts to "0" - which is a flag (in Csound) to revert to the default soundfile included in FileMix.
    
:4. The str() cast for self.jname1 converts the filename to the usual path format readable by Csound (this too is required). It is dbus string object... maybe we need to this type cast in sugar-toolkit code (though in most cases this casting should happen implicitly).
 
:4. The str() cast for self.jname1 converts the filename to the usual path format readable by Csound (this too is required). It is dbus string object... maybe we need to this type cast in sugar-toolkit code (though in most cases this casting should happen implicitly).
    
''Art Hunkins and Aleksy Lim''
 
''Art Hunkins and Aleksy Lim''

Navigation menu