Re: [chuck-users] Hello and the state of ChucK question
Hi chuckers, I'm also new to chuck and this list. I'm a hobbyist musician and software engineer. I like chuck and it's concepts very much.
From the docs and examples I thought it could simplify all my near future sound programming needs, as it has all the building blocks (buffers, sound file handling, midi, osc, network) and very nice concepts (chuck operator, realtime), allowing me to express what I need in a few lines.
I then tried to use it for my new project, which means I tried to create a kind of stereo looper with recording and beat detection etc. So I learned to use SndBuf, LiSa etc. and all the concepts in chuck. I then read from internet sources, that saving stereo files is not implemented. So I tried to save two single files (not nice but better than nothing). I further experienced that a SndBuf cannot be used to record sound. And on the other hand I couldn't create more than one (working) LiSa objects at the time (is this right?). So it seems I cannot record and save stereo sounds to files? So as being a software developer myself, I tried to look into chuck's source code and explored if I could solve some of these things. (Note that I am experienced in other fields but totally new to sound programming) The basic materials for my plans are all part of chuck, e.g. it seems STK should contain all things I need. I then also managed to change SndBuf (in a quick and dirty way) to be used for recording. But I didn't manage to save this as a stereo sound file. My main problem was that I don't really understand how multichannel and buffers are supposed to work. I see it is in the design at many places, but it seems to be unfinished. It looks that there are very different implementations of UGens and when looking at those tick functions I got a little bit confused. Running out of free time, I had to abandon the implementation of the project in chuck and am trying my way in pure C++ now.
ChucK development is indeed alive and well! Actually a new release is nearing completion
Ge, from your comment I get some hope again... Will the new release have changes in multichannel behaviour? Will it be possible to save multichannel files? When I looked last (somewhere in March), the repository had it's last checkins at the end of 2010, so I thought development had been stopped. I think I found the repo in a forum post...but cannot post the address here, because I'm at work now. I assume there must be another repo to work with? Or don't you use a central repo? It is also very unclear to me, how chuck development is coordinated. An integrated system like sourceforge would make this more easy, as all the development is (virtually) bundled in one place. How should external developers contribute to chuck? Thanks for great software, Harald
Harald; I'm also new to chuck and this list.
I'm a hobbyist musician and software engineer.
Welcome on board!
And on the other hand I couldn't create more than one (working) LiSa
objects at the time (is this right?).
Fortunately that's not correct. You can use quite a few, if you like; LiSa a => dac; LiSa b => dac; //etc If this gave you trouble there is likely something else that went wrong. If you send a (minimal) example that demonstrates the trouble you had we can look at it and try to help.
So it seems I cannot record and save stereo sounds to files?
Not right now, no. This is clearly a missing feature.
So as being a software developer myself, I tried to look into chuck's source code and explored if I could solve some of these things.
Cool!
(Note that I am experienced in other fields but totally new to sound programming)
As long as you stay away from spectral analysis and filters I think you'll find that the math is quite easy, most of the time. Various online and printed tutorials on DSP exist may also help.
I then also managed to change SndBuf (in a quick and dirty way) to be used for recording. But I didn't manage to save this as a stereo sound file.
Did you do that because WvOut, didn't suit your needs, or did you perhaps overlook it? Maybe this was a result of your problem with LiSa? I don't think this should be needed, but perhaps your needs are somehow unique.
My main problem was that I don't really understand how multichannel and buffers are supposed to work.
Dan announced once that he is working on a multi-channel version of LiSa. This might suit your needs?
I see it is in the design at many places, but it seems to be unfinished.
I agree. It is also very unclear to me, how chuck development is coordinated.
An integrated system like sourceforge would make this more easy, as all the development is (virtually) bundled in one place. How should external developers contribute to chuck?
I think there was talk of a CVS repository. I'd be interested in this too; I've been writing some new "nodes" (the local term for UGens) for Fluxa (the livecoding synth that goes with Fluxus) and I would be happy to try port some of that to ChucK too. Aside from these topics; I too am quite excited about the news of a upcomming new release. Full steam ahead! Yours, Kas.
Kas,
And on the other hand I couldn't create more than one (working) LiSa objects at the time (is this right?).
Fortunately that's not correct. You can use quite a few, if you like; LiSa a => dac; LiSa b => dac; //etc
I had tried different versions of chuck, first I used versions available for debian or ubuntu (currently it is 1.2.0.8.dfsg-1.3+b1), then I compiled from the released sources and then I compiled from the repo. My tests were at different stages, so they don't necessarily fit together, so my conclusions may have been wrong. When I tried multiple LiSa's I got an error message on creation. Today I tried my old chuck file again and it works (using chuck 1.2.0.8). Thanks for pushing me to try again.. At first I had also a confusion about LiSa's voices, which I thought were like channels, but they seem to be for playing the same samples in a different way.
So it seems I cannot record and save stereo sounds to files? Not right now, no. This is clearly a missing feature.
here you mean saving stereo sound to a single file, right? However, it would be ok for me to save a stereo sound to two files. How would you do this, once you have recorded into n LiSa buffers?
As long as you stay away from spectral analysis and filters I think you'll find that the math is quite easy, most of the time
data processing is ok for me, but I have to explore interfacing to jack/alsa/midi/osc and the hard realtime processing is also new to me. For me, using chuck simplifies exactly this. I then don't have to bother with those "details". Also chuck allows a higher level of abstraction. Yesterday I made a big step in c/c++ jack programming. I see projects, where chuck might be too slow and I'll need to use c++ (or googles golang?) instead. For most things chuck would fit very well, if some simple things can be done.
I then also managed to change SndBuf (in a quick and dirty way) to be used for recording. But I didn't manage to save this as a stereo sound file.
Did you do that because WvOut, didn't suit your needs, or did you perhaps overlook it? Maybe this was a result of your problem with LiSa?
I did many test and always there was one thing missing... Then I tried to dig into chuck source code and took the easiest thing I could manage at this knowledge level. Also LiSa has many features, I don't really need or don't need them the way they are implemented. It was not very difficult to allow a SndBuf to record. Then I tried to allow it to do multichannel which I thought would be easy, too. But I failed managing the buffer. For my looper project I need some special things, for which I don't have a solution yet. When I have time (not now because I'm at work), I can describe what I want to do.
I think there was talk of a CVS repository. I'd be interested in this too;
I used this: cvs -d :ext:anon-chuck at cvs.cs.princeton.edu:/cvs checkout chuck_dev
Hi everyone,
ChucK development is indeed alive and well! Actually a new release is nearing completion Ge, from your comment I get some hope again...
Will the new release have changes in multichannel behaviour? Will it be possible to save multichannel files?
When I looked last (somewhere in March), the repository had it's last checkins at the end of 2010, so I thought development had been stopped. I think I found the repo in a forum post...but cannot post the address here, because I'm at work now.
I assume there must be another repo to work with? Or don't you use a central repo?
It is also very unclear to me, how chuck development is coordinated. An integrated system like sourceforge would make this more easy, as all the development is (virtually) bundled in one place. How should external developers contribute to chuck?
This is exactly what interests me. I mean, what is the development model for ChucK? I'm an open source evangelist (my day job is open government in Poland), so open source development model seems the most obvious and exciting for me. With ChucK I feel a little lost, becuase I see no roadmap, nothing like a real features proposal or some steering committee, outdated documentation and no real info about the current state of the language. There's no obvious way to join the project as an average developer or volunteer (helping with keeping information up to date, managing the community, documenting or so). So my question is: what is the role of the ChucK community in the language development and maintenance? Wouldn't be better to make it more open source way? I say that only because I do my music exclusively in ChucK, but more advanced stuff I'm doing more "unimplemented" or "undocumented" features come up. What's event worst - I do want to do sth about it, but I can't, because there's no easy way to get involved. In other words - making it open source way would possibly bring some new energy to ChucK. As I wrote before - I'm really eager to help where I can (everywhere besides hard-core language coding). On the other hands - it's obviously great to read that new release is coming!!!!! All the best, trzewiczek ChucK => now; -------------
participants (3)
-
Harald Gutsche
-
Kassen
-
Krzysztof Trzewiczek