FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Sound
(Moderators: pitaru, REAS)
   sonia input from a firewire m-audio device
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: sonia input from a firewire m-audio device  (Read 1269 times)
mattgilbert

tangramkid WWW Email
sonia input from a firewire m-audio device
« on: Nov 13th, 2004, 1:18am »

hi all,
 
Has anyone tried to use a M-Audio recording interface as Sonia input? on Mac OS X?
 
I'm trying to use a firewire solo recording interface to get audio input on my mac (since the mic inputs are a bit noisy). While the OS is set to recognize the device as the input source, and the OS is recieving sound signals from the device fine, processing and sonia sont seem to be recieving the input. When a sketch is launched, it says:
 
JSyn for OS X, built 4/16/03
Input Device #1: FireWire Solo Multichannel has 4 channels
Input Device #2: Built-in Audio has 2 channels
 
Then my processing sketch recieves silence (when it should be hearing stuff), or if i amplify the signal it's just a lot of noise. This happens with LiveInput as well as Sample.startRec(). My guess is that it's listening to some built-in input that doesn't have anything coming in, but it should be listening to the Firewire, since that's what the OS has set as it's input.
 
Any ideas about what the problem is? Could it hae something to do with the Firewire input having 4 channels instead of 2?
 
Thanks,
 
Matt
 
« Last Edit: Nov 13th, 2004, 1:21am by mattgilbert »  
pitaru


WWW Email
Re: sonia input from a firewire m-audio device
« Reply #1 on: Nov 27th, 2004, 12:59am »

hey matt, this is an old post. have you figured it out yet?
 
from what i've seen so far, Sonia will grab channel 1/2 automatically. But i've not tested m-audio on a mac yet. Does it work when you hook the device to a pc?
 
amit
 
mattgilbert

tangramkid WWW Email
Re: sonia input from a firewire m-audio device
« Reply #2 on: Nov 27th, 2004, 8:13am »

no, i haven't found a solution. and i haven't tried it on a pc. i wonder if there's a way to tell JSyn directly what input/channel to use
[EDIT: oh i see you've addressed the question of accessing JSyn directly here: http://processing.org/discourse/yabb/board_Contributions_Audiov_isual_action_display_num_1100541311.html ].
 
i would try it on an old pc i have, but it has no firewire (it's quite old).
 
i have been able to get the right input in Pure Data (which is like Max/MSP, but open source), so i know that it's coming into the OS and everything.
 
matt
 
 
 
 
« Last Edit: Nov 27th, 2004, 8:38am by mattgilbert »  
pitaru


WWW Email
Re: sonia input from a firewire m-audio device
« Reply #3 on: Nov 27th, 2004, 3:31pm »

Matt, is the problem just with the firewire inputs, or are the firewire outputs also not working?
 
amit
 
mattgilbert

tangramkid WWW Email
Re: sonia input from a firewire m-audio device
« Reply #4 on: Dec 1st, 2004, 11:37am »

oh man. i hadn't tried the firewire outputs until you asked, and it turns out they don't work either. But when they don't work, it doesn't even recognize the outputs, while it did recognize the inputs when I tried them. When I start a sketch using Sonia output (that works fine with the Built-In Audio), it prints:
 
 JSyn for OS X, built 4/16/03  
[then something along the lines of "Cannot recognize output"]
[then,] PaOSX_HandleOutput: AudioConverterFillBuffer failed: error = 0xFFFFFFCE = "[some weird characters]"
 
It then prints that last "PaOSX..." line over and over until I can quit Processing. One time it even crashed my computer.
 
yuck.
 
matt
 
 
artkast

artkast WWW
Re: sonia input from a firewire m-audio device
« Reply #5 on: Dec 19th, 2004, 9:55pm »

Can someone direct me to instructions for installing Sonia in "Panther" OSX. I have tried moving the Sonia "jars" to the code folder, that is moving them from the "Sonia_*" folder and from the "code" folder into my processing "code" folder I run this simple script:
 
void setup() {  
  size(200,200);  
  Sonia.start(this, 44100);  
}  
 
I get the error no field named "Sonia" was found in type.
 
One more thing I was wondering does anyone know how to get around the icons not showing up in "Tiger".
 
Pages: 1 

« Previous topic | Next topic »