From jsyn at music.columbia.edu Thu Apr 3 12:11:44 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 3 12:11:59 2008 Subject: [jsyn] RadioVillageNomade: send some sound Message-ID: <47F501C0.3010506@softsynth.com> A friend of mine is soliciting audio works for a new web project. I thought JSyn folks might be interested in contributing. If you want to capture a JSyn piece by streaming audio to disk then check out this example in the JSyn SDK: com.softsynth.jsyn.examples.TJ_NonRealTime.java The example is non-real-time. But the streaming to disk will also work with real-time synthesis. Phil Burk ------------------------------------------------------------------- From: sudhu tewari Dear Friends, I hope this email finds you well. As you may know, I am involved in a project, RadioVillageNomade, for which we plan to collect sound recordings and compositions from contributors worldwide. We're going to post a piece each day for 7 months and compile the end result (214 pieces) into a 24 hour DVD and museum exhibit. The pieces can be 7 seconds to 7 minutes in length, field recordings or composed works, and are intended to capture a moment in time. More info and the official call for submissions on the website: http://www.jourparjour.net/radio/VNR_Home.htm Please submit something and take part in this project. We need submissions soon as we'll begin posting on May 1st. We'd like to get this call out to as many people as possible, preferably as far outside of our circle of friends as possible, so forward this request for sounds to anyone (and everyone) who might be interested or capable of forwarding the request further around the world. thank you Sudhu From jsyn at music.columbia.edu Thu Apr 3 22:19:18 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 3 22:19:43 2008 Subject: [jsyn] amplitude value from index of Sample Data? In-Reply-To: <47F501C0.3010506@softsynth.com> References: <47F501C0.3010506@softsynth.com> Message-ID: <626D80F0-9877-4B7E-98DB-B2AD74D07C07@remotedigitalmedia.com> Hi all, Please bear with me, I'm pretty new to jSyn, but have some familiarity with Synthesis, java in general, and with the chuck programming language. Anyhow, I was wondering if it was possible to get the amplitude value (presumably float) of a given index in a sample of audio data. I feel like I'm missing something in the javadocs and tutorials, but I don't seem to be able to find anything on this. I want to be able to fill an array with zero crossing values from an audio file for subsequent processing, by parsing the data sample by sample. If this is not possible, is there any way to query a unit generator for the last sample value it has computed? In chuck you can call last() on any Ugen, just wondering if there was a similar method jSyn-side. Any help or workarounds would be very helpful, and I thank y'all in advance for a response. -Jack From jsyn at music.columbia.edu Thu Apr 3 23:18:47 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 3 23:19:01 2008 Subject: [jsyn] amplitude value from index of Sample Data? In-Reply-To: <626D80F0-9877-4B7E-98DB-B2AD74D07C07@remotedigitalmedia.com> References: <47F501C0.3010506@softsynth.com> <626D80F0-9877-4B7E-98DB-B2AD74D07C07@remotedigitalmedia.com> Message-ID: <47F59E17.5060209@softsynth.com> Hello Jack, You can call get() to get the current value of a a SynthOutput. double val = osc.output.get(); But you are just grabbing random samples and cannot really do any analysis on that. You can write a signal to a sample and then read the sample. That is how the scope works. If you want to analyse a sample use the read() method to get the data from the sample, which is stored down in the native code engine. Thank you, Phil Burk --------------------------------------- SoftSynth, Audio Research and Development http://www.softsynth.com/ 75 Pleasant Lane, San Rafael, CA, 94901 USA Phone/FAX: 1-415-453-4320 --------------------------------------- jsyn@music.columbia.edu wrote: > Hi all, > > Please bear with me, I'm pretty new to jSyn, but have some familiarity > with Synthesis, java in general, and with the chuck programming > language. Anyhow, I was wondering if it was possible to get the > amplitude value (presumably float) of a given index in a sample of audio > data. I feel like I'm missing something in the javadocs and tutorials, > but I don't seem to be able to find anything on this. I want to be able > to fill an array with zero crossing values from an audio file for > subsequent processing, by parsing the data sample by sample. If this is > not possible, is there any way to query a unit generator for the last > sample value it has computed? In chuck you can call last() on any Ugen, > just wondering if there was a similar method jSyn-side. Any help or > workarounds would be very helpful, and I thank y'all in advance for a > response. > > -Jack > _______________________________________________ > JSyn mailing list > JSyn@music.columbia.edu > To change digest mode or to make other administrative changes visit: > http://music.columbia.edu/mailman/listinfo/jsyn > > From jsyn at music.columbia.edu Thu Apr 10 08:38:56 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 10 08:39:08 2008 Subject: [jsyn] Multiple output channels in Linux Message-ID: <1796.146.227.22.107.1207831136.squirrel@europa.cse.dmu.ac.uk> Hi. I have an M-Audio Fasttrack Pro USB interface which has four output channels. I would like to be able to write a JSyn program which outputs sound to all four of these outputs simultaneously to create quadraphonic sound. In Linux it appears that JSyn can only use the default audio output in /dev/dsp. If I hotplug in the USB interface, then the default output is the laptop onboard audio. And JSyn will only output through the onboard aaudio. However, if I boot my laptop with the M-Audio device attached, it becomes the default audio interface in alsa (and OSS). JSyn will then output through the M-Audio interface. I then attempted to use ChannelOut objects to connect to all four outputs on the USB interface. AudioDevice.getNumDevices() returns 1. This is suspicious, as in ALSA my M-Audio box is configured as two separate alsa devices, with one being the first two outputs, and one being the second two. I can use xmms (and other software) to output to either of these devices. But JSyn only reports one. If I create a new SynthContext for the sole device ID (0), then AudioDevice.getMaxOutputs( 0 ) returns 16. Only the first two work, though JSyn does not throw any error if I try to connect to channels 2 and 3 (counting 0, 1, 2, 3, ...). I just don't hear anything. Suspiciously, I also get 16 outputs from my onboard audio, which also definitely does not have 16 outputs. I'm presuming that JSyn can only use the default OSS output device (/dev/dsp). And hence the other device is unreachable --> quadraphonic output is impossible in Linux with my hardware, and possibly any hardware if the splitting of multiple output devices into multiple virtual devices is standard. Is this true? Is there anything I can do to make this work? Is the 1.44 version of JSyn for Linux available yet? I am running the version that reports "JSyn using native library JSynV142". Thanks in anticipation, Ross Clement. From jsyn at music.columbia.edu Thu Apr 10 09:38:52 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 10 09:39:59 2008 Subject: [jsyn] Multiple output channels in Windows Message-ID: <1964.146.227.22.107.1207834732.squirrel@europa.cse.dmu.ac.uk> Hi. I'm now working in Windows with JSyn V144. In Windows, I can access both "halves" of my four channel output M-Audio Fast Track Pro. However, again, as two individual devices, not a single four channel device. I haven't tried multi-channel JSyn before, but it seems that to access all four channels of my hardware, I need to create two different SynthContexts. And this will create two native JSyn threads which, I'm guessing, cannot share information. So I can't create a single oscillator, and send the output of this single oscillator to all four channels at once. Is this correct? I'm thinking that having two parallel synthesisers creating the two "halves" of a surround mix would be ... difficult. It's looking to me that I will need different output hardware to be able to create quadraphonic or surround JSyn applications. Thanks in anticipation, Ross Clement. From jsyn at music.columbia.edu Thu Apr 10 13:59:30 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 10 13:59:40 2008 Subject: [jsyn] Multiple output channels in Linux In-Reply-To: <1796.146.227.22.107.1207831136.squirrel@europa.cse.dmu.ac.uk> References: <1796.146.227.22.107.1207831136.squirrel@europa.cse.dmu.ac.uk> Message-ID: <47FE5582.7010700@softsynth.com> Hello Ross, > Is the 1.44 > version of JSyn for Linux available yet? The Linux release for V144 has not been released. I am actually installing Linux on a new system as I type. I have been working on getting PortAudio migrated to a new server. When that is complete I hope to get JSyn V144 for Linux released. The new PortAudio V19 has improved support for ALSA and may solve the problems you were seeing. Thank you, Phil Burk --------------------------------------- SoftSynth, Audio Research and Development http://www.softsynth.com/ 75 Pleasant Lane, San Rafael, CA, 94901 USA Phone/FAX: 1-415-453-4320 --------------------------------------- From jsyn at music.columbia.edu Thu Apr 10 14:14:46 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 10 14:15:01 2008 Subject: [jsyn] Multiple output channels in Windows In-Reply-To: <1964.146.227.22.107.1207834732.squirrel@europa.cse.dmu.ac.uk> References: <1964.146.227.22.107.1207834732.squirrel@europa.cse.dmu.ac.uk> Message-ID: <47FE5916.8080202@softsynth.com> Hello Ross, > In Windows, I can access both "halves" of my four channel output M-Audio > Fast Track Pro. However, again, as two individual devices, not a single > four channel device. Windows MME like to access multi-channel devices as multiple stereo devices. This is not convenient for the reasons you mention. If I recall correctly, you are a licensed JSyn developer. You, therefore, have access to the licensee page here: http://www.softsynth.com/restricted/ On that page there is a version of JSyn that links to PortAudio using a DLL. That means that you can use the latest PortAudio libraries or tweak your own copy. We have included in that ZIP archive a precompiled DLL for PortAudio that uses MME and ASIO. ASIO provides the best support for multi-channel devices that appears as a single device with multiple channels. Thank you, Phil Burk --------------------------------------- SoftSynth, Audio Research and Development http://www.softsynth.com/ 75 Pleasant Lane, San Rafael, CA, 94901 USA Phone/FAX: 1-415-453-4320 --------------------------------------- jsyn@music.columbia.edu wrote: > Hi. I'm now working in Windows with JSyn V144. > > In Windows, I can access both "halves" of my four channel output M-Audio > Fast Track Pro. However, again, as two individual devices, not a single > four channel device. > > I haven't tried multi-channel JSyn before, but it seems that to access all > four channels of my hardware, I need to create two different > SynthContexts. And this will create two native JSyn threads which, I'm > guessing, cannot share information. So I can't create a single oscillator, > and send the output of this single oscillator to all four channels at > once. Is this correct? I'm thinking that having two parallel synthesisers > creating the two "halves" of a surround mix would be ... difficult. > > It's looking to me that I will need different output hardware to be able > to create quadraphonic or surround JSyn applications. > > Thanks in anticipation, > > Ross Clement. > > _______________________________________________ > JSyn mailing list > JSyn@music.columbia.edu > To change digest mode or to make other administrative changes visit: > http://music.columbia.edu/mailman/listinfo/jsyn > > From jsyn at music.columbia.edu Thu Apr 10 17:47:49 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 10 17:47:59 2008 Subject: [jsyn] Multiple output channels in Windows In-Reply-To: <47FE5916.8080202@softsynth.com> References: <1964.146.227.22.107.1207834732.squirrel@europa.cse.dmu.ac.uk> <47FE5916.8080202@softsynth.com> Message-ID: <46689.80.176.151.208.1207864069.squirrel@europa.cse.dmu.ac.uk> Phil wrote: > We have included in that ZIP archive a precompiled DLL for PortAudio > that uses MME and ASIO. ASIO provides the best support for multi-channel > devices that appears as a single device with multiple channels. ASIO won't work on the windows partition of my computer. Similar to some other people who have written on various web forums, when I try to install ASIO, then run ASIO settings, it crashes windows. I even tried older versions of ASIO. Same problem. I'm going to try using one of the Creative Audigy USB interfaces we have. On windows, the Audigy gets reported twice by AudioDevice.getName(). But once it (according to AudioDevice.getMaxOutputChannels()) has 0 output channels, the other time 65535(!) audio output channels. The Audigy, I'm told, has four outputs, two analogue, and two SPDIF. Which may be a bit of a wiring nightmare, but I'll give it a go. Otherwise, waiting until the new Linux JSyn version comes out might be the best solution. Cheers, Ross From jsyn at music.columbia.edu Thu Apr 10 18:23:35 2008 From: jsyn at music.columbia.edu (jsyn@music.columbia.edu) Date: Thu Apr 10 18:23:52 2008 Subject: [jsyn] Re: Wire problem: can't connect objects on OSX 10.5 Message-ID: <829D84B2-9881-4630-B91B-3E99FF7CB273@venus.dti.ne.jp> Hi, I've been having the exact same problem - was waiting to see if someone would get the same symptoms! I have tried on multiple computers and get the same problem, so I am now pretty sure it's a design issue. Have no problem on computers running 10.4. Best, Wataru Itoh > Date: Fri, 28 Mar 2008 20:10:49 -0400 > From: jsyn@music.columbia.edu > Subject: [jsyn] Wire problem: can't connect objects on OSX 10.5 > To: jsyn@music.columbia.edu > Message-ID: <50E95C54-3148-4C70-A5E0-0197015F692B@gmail.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > Hi, I'm having a problem with Wire where I can't connect objects > together. Patch cables do not appear when I drag. I can add objects, > but not connect them. I'm using the .zip distribution of Wire from > the softsynth site. > > Is anyone else having this problem? > > thanks, > Peter McCulloch