12 Apr
2009
12 Apr
'09
7:15 p.m.
Fellow ChucKists, I was trying to detect the successful loading of a wave file, hoping that SndBuf.read() wpuld return "true" upon successfully opening a file like when opening a HID device and "false" otherwise. Instead it turns out that the following code seg-faults. SndBuf foo; <<<"kick.wav" => foo.read>>>; Aside from how this means losing the whole VM, which is bad, such functionality would permit for the implementation of search-paths. For example; when a relative location doesn't work we might want to append the file-name to a string expressing the absolute location of some directory filled with samples. Yours, Kas.
5754
Age (days ago)
5754
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kassen