electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » ChucK programming language
[chuck-users] 1.3.0.0 (chimera) unleashed!
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2067
Location: Berks County, PA
Audio files: 89

PostPosted: Sat Aug 25, 2012 4:44 pm    Post subject: [chuck-users] 1.3.0.0 (chimera) unleashed!
Subject description: The long awaited arrival of a new ChucK.
Reply with quote  Mark this post and the followings unread

From the ChucK maillist from yesterday, 24 August 2012:
Quote:

Dear all,

chuck-1.3.0.0 (chimera) is available:

http://chuck.cs.princeton.edu/
http://chuck.stanford.edu/

This release incorporates ChuGins, a new way to extend ChucK. ChuGins
are a continual work in progress, and we encourage feedback in
anticipation of rapid updates, tweaks, and fixes. Chugens and
Chubgraphs provide additional mechanisms for extending ChucK's
built-in audio capabilities. Furthermore, this release variety of
smaller fixes and additions.

To start developing ChuGins, please see several examples here, in
addition to the chuginate utility, which generates the skeleton
framework for a new ChuGin.
https://github.com/spencersalazar/chugins
and:
https://ccrma.stanford.edu/~spencer/publications/CCC2012.pdf

(Please see the release notes at the end of this email.)

Many many thanks once again to Kassen, Casper Schipper, Jorge Herrera,
Hongchan Choi, and everyone on chuck-users, as well as PLOrk, SLOrk,
the Food Services Division at Smule, Fernando Lopez-Lezcano, Carr
Wilkerson, Chris Chafe, and the rest of the chuck community for making
this release happen!

Thanks and Happy ChucKing, UpChucKing!

Best,
Ge + Spencer, on behalf of entire chuck team

---
1.3.0.0
- (added) Chugins: dynamically loaded compiled classes/ugens
see http://chuck.stanford.edu/extend/ for examples.
- (added) new command line options
--chugin-load:{auto|off} disable/enable chugin loading
-gFILE/--chugin:FILE load chugin at FILE
-GPATH/--chugin-pathATH load all chugins in directory PATH
--dac:NAME use dac with name matching NAME
--adc:NAME use adc with name matching NAME
- (added) Chubgraphs: create ugens by compositing existing UGens
see examples/extend/chubgraph.ck
- (added) ChuGens: create ugen by implementing audio-rate processing in ChucK
see examples/extend/chugen.ck
- (added) new ugens:
- WvOut2: stereo uncompressed audio file output
- SndBuf2: stereo uncompressed audio file input
- (added) new functions:
- me.sourcePath()
returns file path of source file corresponding to this shred
- me.sourceDir()
returns directory of source file corresponding to this shred
- MidiIn.open(string name)
open MIDI input matching name
- MidiOut.open(string name)
open MIDI output matching name
- Hid.open(string name)
open HID matching name
- (added) experimental OS X multitouch HID
- (fixed) real-time audio on Mac OS X 10.7 (Lion), 10.8 (Mountain Lion)
- (fixed) IO.newline() now flushes "chout"
- (fixed) "chout" and "cherr" now invoke member functions correctly
- (fixed) no for statement conditional handled correctly
- (fixed) STK WvOut correctly handles case when file open fails
- (fixed) << operator for arrays now correctly references counts
- (fixed) crashing bug when receiving external events at a high-rate
("the OSC bug")
- (fixed) scope closing correctly dereferences local objects
- (fixed) crash when exiting shreds with connected ugens
- (fixed) deallocation of "empty" Shred object no longer crashes
- (fixed) crash when HID events are sent to an exited shred
- (fixed) destructors for built-in objects are executed

_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
MusicMan11712



Joined: Aug 08, 2009
Posts: 1082
Location: Out scouting . . .

PostPosted: Sat Aug 25, 2012 7:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for sharing this. Any word on a Chuck GUI for Windows?
Steve
Back to top
View user's profile Send private message
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2067
Location: Berks County, PA
Audio files: 89

PostPosted: Sun Aug 26, 2012 8:24 am    Post subject: Reply with quote  Mark this post and the followings unread

MusicMan11712 wrote:
Any word on a Chuck GUI for Windows

I haven't seen anything. I don't follow the mail list too closely, but I did notice this new release heading as it went by.

I usually do my GUI in Java and pass messages to/from ChucK using OSC (see this thread for some examination of ChucK's OSC), although ChucK's pattern matching on OSC address strings is a little deficient, making the OSC approach somewhat cumbersome. I am hoping that they have improved OSC pattern matching for addresses.

_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Sun Aug 26, 2012 8:44 am    Post subject: Reply with quote  Mark this post and the followings unread

party!

I had almost given up hope for a new version. Very nice! It will be interesting to try to write my own UGens.

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2067
Location: Berks County, PA
Audio files: 89

PostPosted: Sun Aug 26, 2012 1:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

I may be able to get around some of the OSC address matching limits by writing a ugen, too. I'm glad to see this happening.
_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
solipse



Joined: Oct 01, 2006
Posts: 5
Location: france

PostPosted: Tue Aug 28, 2012 4:28 am    Post subject: Initialisation audio device Reply with quote  Mark this post and the followings unread

Hello,

With last version (1.3.0.0) on Win 7, I have this error message :

"cannot initialize audio device"...

What is the problem?

Thank,
solipse
Back to top
View user's profile Send private message
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2067
Location: Berks County, PA
Audio files: 89

PostPosted: Tue Sep 11, 2012 10:38 am    Post subject:
Subject description: 64 bit ChucK now available
Reply with quote  Mark this post and the followings unread

Ge posted the following to the mail list on Sept. 6 regarding 64-bit ChucK:
Quote:

Dear all,

chuck-1.3.1.0 (chimera) is available:

http://chuck.cs.princeton.edu/
http://chuck.stanford.edu/

ChucK is, at last, 64-bit compatible.

Lack of native 64-bit support has been a long standing issue with ChucK,
and many people in our community over the last few years have contributed
to making this happen. They include Kassen for his ever helpful voice of
reason, Paul Brossier (who did a 64-bit port of ChucK 1.2.0.8 to ubuntu, a
port that this release is largely based upon), Stephen Sinclair, who also
provided a comprehensive and well-executed 64-bit port, and more recently
Robin Haberkorn, who has jumped into the ChucKian development fire, as
well as Michael Wilson -- your initiative and insights have definitely
helped to make this happen. There have been many helpful discussions on
chuck-users and chuck-dev, at CCRMA, as well as much encouragement and
support from friends and colleagues like Fernando Lopez-Lezcano. ... Of
course, had we/I architected the VM instructions to not make integer,
float, and pointer size assumptions in the first place in 2006 with ChucK
1.2, it would have made things quite a bit easier for everyone. Yeah...
Oops.

This is the very first release of ChucK that natively support 64-bit as
well as 32-bit. There are a few additional features (and likely a few
new, uh, "features"). I imagine a few hot-fixin' rapid incremental
releases might be needed. We have tried to test this thoroughly, in
particular on Linux and Mac OS X, and less so on windows. To be totally
honest, we have not been able to even test compilation for 64-bit on
windows - if someone out there with access to 64-bit windows (XP or
Windows7) who can give this a shot, that would be much appreciated! In
general, users of all supported systems, please let us know if/how well
this works for you!

Part 2 -- on the way!

Not unlike the final installment of the Harry Potter movies, or perhaps
the video game ->Final<- Fantasy XIII (there is a FF XIII-2 and what is
effectively FF XIII-3 was just announced), this 1.3.1.0 release will take
place in multiple parts, mostly because Spencer is traveling to ICMC in
Ljubljana, Slovenia, where he will present our paper on Chugins, Chugens,
and Chubgraphs. Also, there is a little bit more work to do for 64-bit
miniAudicle, so that's going to come in CK 1.3.1.0, part 2, and probably
from Slovenia (it seems only fitting to release ChucK from the
international computer music conference). Also, our dear friend Graham
Coleman has asked about a chuck-1.3 version of (gasp) Audicle, so there
might be a 1.3.1.0, part 2, b.

As usual, please see the release notes at the end of this email. Thanks
and Happy ChucKin, UpChucKin, Chugin'! gg!! ChucK on!!

Best,
Spencer + Ge, on behalf of entire chuck team

---
1.3.1.0
- (added) 64-bit support for all platforms (OS X, Linux, Windows)
many thanks to Paul Brossier, Stephen Sinclair,
Robin Haberkorn, Michael Wilson, Kassen, and
Fernando Lopez-Lezcano, and all of chuck-users!
- (added) Math.random(), random2(), randomf(), random2f(), srandom(),
and Math.RANDOM_MAX; NOTE: randomf() returns range 0.0 to 1.0
these use the much better random() stdlib functions
the existing Std.rand*() and Std.srand() is still
be available for compatibility (these to be deprecated
in the future; please start using Math.random*())
* (NOTE: on windows, Math.random() still uses the same
generator as Std.rand() -- we hope to improve this in
a future version!)
* (NOTE: also see removed below)
- (added) chuck --version | chuck --about now print architecture
(32-bit or 64-bit)
- (added) Machine.intsize() will return int width in bits
(e.g., 32 or 64)
- (added) examples/array/array_mmixed.ck to verify mixed-index
fix (see below), based on Robin Haberkorn's test code
- (fixed) multi-dimensional arrays now correctly support mix-typed
indices (e.g., strings & ints) (thanks Robin Haberkorn)
- (fixed) constants in Math library now cleaner, they include:
* Math.PI
* Math.TWO_PI
* Math.e or Math.E
* Math.i or Math.I or Math.j or Math.J // as 'complex' type
* Math.INFINITY
* Math.RANDOM_MAX
* Math.INT_MAX // currently, differs on 32-bit and 64-bit
* Math.FLOAT_MAX
* Math.FLOAT_MIN_MAG // minimum positive float value
- (fixed) Chubgraph.gain(), .last(), and .op()
- (fixed) error message printing system for variable arguments
- (fixed) StifKarp.sustain now works properly
- (fixed) all examples now use Math.random*() instead of Std.rand*()
- (removed) Math.rand*() removed --> please use Math.random*();
(see 'added' above; Std.rand*() still there, but to be
deprecated; please use Math.random*() moving forward)
_______________________________________________
chuck mailing list
chuck@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck

_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2067
Location: Berks County, PA
Audio files: 89

PostPosted: Tue Sep 11, 2012 10:39 am    Post subject: Re: Initialisation audio device Reply with quote  Mark this post and the followings unread

solipse wrote:
Hello,

With last version (1.3.0.0) on Win 7, I have this error message :

"cannot initialize audio device"...

What is the problem?

Thank,
solipse

Your best bet is to join the mail list and post that question. See the quote in the previous post above for the mail list.

Good luck.

_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use