[Csnd] 6-ch out and Soundflower
Date | 2013-07-10 16:36 |
From | Matti Koskinen |
Subject | [Csnd] 6-ch out and Soundflower |
hi, I finally got my homemade 8-ch amp working correctly. The first version toasted my Mac mini audio output, but optical still works and usb-cards as well. Now I've been trying to get output from e.g iTunes to go to Soundflower and then reading it with csound. Stereo works ok, but 6-ch doesn't work. When I start csound, there's a short burst coming from all the six speakers, but then it comes only from 2 speakers, the same speakers as outputting to 6-ch usb-card from iTunes. If I replace the input from inch to diskin2, I get output from all 6 speakers. csound6 from git few weeks ago doesn't accept 2-ch input and 6-ch output. Portaudio gives error -9998 about channels, so I tried 64-ch Soundflower. Then csound6 crashes with a segmentation error. I had to install 5.19 from dmg to overwrite csound6. Is it possible to have both versions at the some time? the orc is nothing fancy, sr=48000 ksmps=10 kr = 4800 nchnls=6 instr 1 a1,a2 diskin2 "702.aiff",1 ; inch 1,2 gives stereo output, diskin2 works ok asum = (a1+a2)/2 adiff1 = (a1-a2)*1. adiff2 = (a2-a1)*1. ahighback butterhp adiff1,1000 ah1 balance ahighback,adiff1 ahighback2 butterhp adiff2,1000 ah2 balance ahighback2,adiff2 klfo lfo 5, .5, 5 klfo = klfo +1 outch 4,asum,5,adiff1,6,adiff2 ;,4,ah1,5,ah2,6,asum ; these are just for testing ;outh asum,adiff1,adiff2,ah1,ah2,asum ;outch klfo,asum endin I haven't been able to use AULab stereo -> 5.1 either, I get no sound out but some pops from speakers when dragging the panner. tnx -matti
"Grep less", sed tee uniq tail cat |