| Author |
Message |
vadimred13
Joined: Mar 09, 2009 Posts: 17 Location: Albany, NY
|
Posted: Mon Mar 30, 2009 10:27 pm Post subject:
ChucK based text editor |
 |
|
Hey all,
I started working on a ChucK based editor with context sensitive code completion (because I'm a lazy bastard who doesn't like to reference API documentation while writing code), and hopefully I can integrate a shell for running shreds as well. Here's a couple of screenies.
Cheers. |
|
|
Back to top
|
|
 |
kijjaz

Joined: Sep 20, 2004 Posts: 760 Location: bangkok, thailand
Audio files: 4
|
Posted: Mon Mar 30, 2009 11:30 pm Post subject:
|
 |
|
| Oh.. it looks like it's gonna be a very nice editor for all chuckers. especially for starters. fight fight vadimred13 ! |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7682 Location: The Hague, NL
G2 patch files: 3
|
Posted: Tue Mar 31, 2009 12:21 am Post subject:
|
 |
|
That looks totally lovely! What is this written in? Is there any chance of merging this with the MiniAudicle? _________________ Kassen |
|
|
Back to top
|
|
 |
kijjaz

Joined: Sep 20, 2004 Posts: 760 Location: bangkok, thailand
Audio files: 4
|
Posted: Tue Mar 31, 2009 1:07 am Post subject:
|
 |
|
| That definitely looks like it's in Windows. I really wanna see this tool go multiplatform, if possible. But if the editor is on Windows only, I'd like to try running with Wine on Linux & Mac OS. |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 5457 Location: San Antonio, Tx, USA
Audio files: 236
|
Posted: Tue Mar 31, 2009 4:12 am Post subject:
|
 |
|
That's impressive! _________________ No matter how much society beats it out of me, I STILL want to make the world a better place. I am sick of the abuse yet I am powerless to stop it. |
|
|
Back to top
|
|
 |
vadimred13
Joined: Mar 09, 2009 Posts: 17 Location: Albany, NY
|
Posted: Tue Mar 31, 2009 10:05 pm Post subject:
|
 |
|
| It's being written in C#. For now it's Windows only, but once I get it running, I'd like to try to port it for Linux/Mac. Though it would be my first foray into cross platform development, it would give me a good excuse to learn more about Mono (I think Mono 2.4 was just released today). |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 5457 Location: San Antonio, Tx, USA
Audio files: 236
|
Posted: Tue Mar 31, 2009 10:55 pm Post subject:
|
 |
|
vadimred13, do you have any ChucK programs that you would like to share? _________________ No matter how much society beats it out of me, I STILL want to make the world a better place. I am sick of the abuse yet I am powerless to stop it. |
|
|
Back to top
|
|
 |
vadimred13
Joined: Mar 09, 2009 Posts: 17 Location: Albany, NY
|
Posted: Sun Apr 05, 2009 10:01 am Post subject:
|
 |
|
| I don't really have anything worth sharing at the moment, and I'm spending most of my "computer" time working on the editor. |
|
|
Back to top
|
|
 |
Inventor

Joined: Oct 13, 2007 Posts: 5457 Location: San Antonio, Tx, USA
Audio files: 236
|
Posted: Sun Apr 05, 2009 10:10 am Post subject:
|
 |
|
OK, coolness... _________________ No matter how much society beats it out of me, I STILL want to make the world a better place. I am sick of the abuse yet I am powerless to stop it. |
|
|
Back to top
|
|
 |
vadimred13
Joined: Mar 09, 2009 Posts: 17 Location: Albany, NY
|
|
|
Back to top
|
|
 |
vadimred13
Joined: Mar 09, 2009 Posts: 17 Location: Albany, NY
|
Posted: Tue Jun 02, 2009 2:43 pm Post subject:
|
 |
|
| Already broken. If you happened to grab it already, please regrab it. |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7682 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Jun 07, 2009 7:34 am Post subject:
|
 |
|
I'll have a good look at this as soon as possible. One thing that might help; you wrote in your README;
| Quote: | | it has its limitations; the biggest one being lack of hanging shred detection (thats what you get for writing endless while loops without advancing the time!). the workaround for that is a panic function which resets the VM. |
I believe there is a command to get ChucK to abort the shred that's currently claiming the CPU, in the case of a stuck VM that will be the offending Shred. "Panic" is still good as well as you can also get a stuck UGen, for example the FM instruments can get stuck when fed infinitely high frequencies and LiSa can get stuck with infinitely short loops.
At any rate I'm quite interested in this project. _________________ Kassen |
|
|
Back to top
|
|
 |
vadimred13
Joined: Mar 09, 2009 Posts: 17 Location: Albany, NY
|
Posted: Sun Jun 07, 2009 10:50 am Post subject:
|
 |
|
Ah, great idea, Kassen! After rooting around the ChucK source this morning, I found a couple of useful command line switches: --watchdog lets you specify how long a shred will run for until it times out, and when it does - it sends a message. And the command you're talking about is --abort.shred which aborts the current shred. I can use both of these to address the hanging shreds dilemma... Oh, and I've set up a blog where I can post updates to the project without wasting space on the forum.
-Vadim |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7682 Location: The Hague, NL
G2 patch files: 3
|
Posted: Mon Jun 08, 2009 5:32 am Post subject:
|
 |
|
I subscribed to your RSS.
Blogging is very nice as well, of course, but please do know that nobody will feel work like yours here is "wasting space". You're more than welcome to post and debate your progress, maybe people will inspire you, maybe you'll inspire others, it's win/win for everybody. _________________ Kassen |
|
|
Back to top
|
|
 |
moudi
Joined: Oct 07, 2006 Posts: 63 Location: Bern Switzerland
|
Posted: Tue Jun 16, 2009 12:43 pm Post subject:
|
 |
|
hey vadimred13
back from a long absent i've just saw your post here about your new IDE.
it looks truly incredible and implements what i was really missing in the mini - code completion.
I did some little development for the mini in the past, namely a File Browser:
http://electro-music.com/forum/topic-23179.html
I would be interested in porting it to your IDE and also to help you implementing other things as well,
if you could imagine to count me in as a code monkey?
if you're intersted, please contact me using a PM here or by sending an email to (moudi at gmx dot net).
cheers
/moudi |
|
|
Back to top
|
|
 |
vadimred13
Joined: Mar 09, 2009 Posts: 17 Location: Albany, NY
|
Posted: Wed Jul 01, 2009 8:54 pm Post subject:
|
 |
|
Hey guys,
Me and moudi have been working on a new release. Grab it here and let us know what you think. We've also got a bug tracker up at the Google Code Project page, so feel free to post a bug if you're up for it.
Cheers,
Vadim |
|
|
Back to top
|
|
 |
MusicMan11712

Joined: Aug 08, 2009 Posts: 286 Location: Upstate New York USA
Audio files: 46
|
Posted: Sun Aug 16, 2009 9:37 pm Post subject:
|
 |
|
I am new to Chuck (less than 48 hrs) and gave your editor a try with some scripts I had written with miniAudicle and with some of the midi demos (mandolin and clarinet). After I figured out where to point the editor to find ChucK, it worked great!!!
So far I am playing around/teaching myself the language by developing a MIDI router. See sample output below from 2 MIDI echo scripts (simple In to Out; no data filtering, complex mapping, etc. yet).
I am looking forward to giving your ChucK Editor a try for actual code development. One thing I wish miniAudicle had was a search/replace feature (for text, not shreds). I found I had to rename some variables and kept wishing I could search for each place I used it.
A very nice feature of your editor is the ability to turn the output off with the touch of a button. With that, I was able to see if ChucK can play tones with real-time midi input without choking.
Thanks for developing the editor and posting it.
Steve
SAMPLE OUTPUT FROM CHICK EDITOR:
------------------------------------------------
[chuck] 2:SYSTEM): running virtual machine...
[chuck](VM): sporking incoming shred: 1 (echoUSBtoP2500rev1.ck)...
MIDI device: 2 -> MK-449C USB MIDI In
MIDI device: 1 -> MT4 Out 01
echoing 90 48 53 from MK-499C to P2500
echoing 90 48 00 from MK-499C to P2500
[chuck](VM): sporking incoming shred: 2 (echoDM2toXL-1rev1.ck)...
MIDI device: 3 -> In From MIDI Yoke: 1
MIDI device: 24 -> Port 7 on MXPXT
echoing 95 4A 7F from DM2MIDI to XL-1 Orchestral
echoing 85 4A 00 from DM2MIDI to XL-1 Orchestral
echoing 95 4A 7F from DM2MIDI to XL-1 Orchestral
echoing 85 4A 00 from DM2MIDI to XL-1 Orchestral
==================================
Footnotes for the curious:
1. Two of my goals were (1) to get midi output in hex (I don't understand it in decimal) and (2) to use "friendly names" for the midi devices, instead of the names of the midi ports.
2. If ChucK can handle it, it might be nice to have ChucK scripts as midi routing patches so that 3 or 4 controllers can be re-routed on-the-fly with minimal effort. |
|
|
Back to top
|
|
 |
|