electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
Live streaming at radio.electro-music.com

  host / artist show at your time
  Jez Adventures in Sound
Please visit the chat
 Forum index » DIY Hardware and Software » ChucK programming language
Asio Chuck
Post new topic   Reply to topic Moderators: Kassen
Page 2 of 2 [32 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2
Author Message
radarsat1



Joined: Mar 14, 2008
Posts: 85
Location: Montreal

PostPosted: Mon Aug 11, 2008 10:22 am    Post subject: asio build cvs aug 4. Reply with quote  Mark this post and the followings unread

Here's a build of the latest CVS with ASIO support. (Last commit was Aug 4.) I tested it with DS, but I don't have ASIO installed on this computer so I didn't actually test this build yet, so who knows.. Wink (Seems to run fine on silent mode.) DX9 SDK was installed. Please confirm that it works.

Built in VS2005, pre-SP1 Vista 32-bit. Included a patch detailing a few changes I needed to do to get it to compile.

Steve


chuck-asio-aug4.zip
 Description:
Here's a build of the latest CVS with ASIO support. (Last commit was Aug 4.) I tested it with DS, but I don't have ASIO installed on this computer so I didn't actually test this build yet, so who knows.. ;-) (Seems to run fine on silent mode.) DX9 SDK

Download
 Filename:  chuck-asio-aug4.zip
 Filesize:  458.28 KB
 Downloaded:  379 Time(s)

Back to top
View user's profile Send private message
radarsat1



Joined: Mar 14, 2008
Posts: 85
Location: Montreal

PostPosted: Mon Aug 11, 2008 12:48 pm    Post subject: another try Reply with quote  Mark this post and the followings unread

Look as though building on a combination of Vista and VS2005 led to a bad executable. Here's another try, this time built on XP.


chuck-asio-aug4-2.zip
 Description:
Look as though building on a combination of Vista and VS2005 led to a bad executable. Here's another try, this time built on XP.

Download
 Filename:  chuck-asio-aug4-2.zip
 Filesize:  455.05 KB
 Downloaded:  381 Time(s)

Back to top
View user's profile Send private message
radarsat1



Joined: Mar 14, 2008
Posts: 85
Location: Montreal

PostPosted: Mon Aug 11, 2008 6:54 pm    Post subject: one more time.. Reply with quote  Mark this post and the followings unread

I'll keep my expletives to myself and give it another shot: this one's built on XP using VS2003, without IE7 installed (to my knowledge; haven't had a chance to check properly, this was built remotely).


chuck-asio-aug4-3.zip
 Description:
I'll keep my expletives to myself and give it another shot: this one's built on XP using VS2003, without IE7 installed (to my knowledge, haven't had a chance to check).

Download
 Filename:  chuck-asio-aug4-3.zip
 Filesize:  442.85 KB
 Downloaded:  489 Time(s)

Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Tue Aug 12, 2008 7:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Please note that on XP (under some configurations?) this version may crash at shutdown. Right-clicking on the exe and turning on "compatibility mode" set to Windows2000 seems to fix this.
_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Arnaud06



Joined: Jul 13, 2009
Posts: 40
Location: France
Audio files: 1

PostPosted: Thu Aug 25, 2011 3:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi,
Sorry but I have a little problem with the ASIO Chuck, I don't know if it has been discussed already.

I want to do something like this :

adc.chan(5) => WvOut w => blackhole;

I have :

[chuck](VM): NullPointerException: (UGen link) in shred[id=1:Sampler.ck], PC=[31]

Can you help me ?
Back to top
View user's profile Send private message
eudes



Joined: Jul 31, 2014
Posts: 1
Location: Spain

PostPosted: Thu Jul 31, 2014 6:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hey.
I've successfully built the latest stable release (1.3.4.0) with ASIO support (attached to this post Very Happy).
This was a fantastically mind-numbing experience, as the documentation is sparse and disperse. Thanks to the users of this thread and this other one ( http://electro-music.com/forum/topic-20796.html ) for the info.

It sometimes crashes on shutdown. No compatibility mode in Win8 remedies this.

Exe inside the rar, simply extract and use.

For the daring souls who would like to try building it from source this is the process I followed: (Using Windos 8 and Visual Studio 2010).

IMPORTANT NOTE: DON'T ClOSE VISUAL STUDIO UNTIL YOU HAVE FINISHED. All of these config changes are volatile. If you close it, you will have to go back to step one (well, 2 or 3, since you don't have to install DirectX again, and its directory location will stay put).

Download and install DirectX SDK (August 2007). This is the last version that supports Chuck, since it uses deprecated libraries (dinput.lib, dxgui.lib...).
Open the project (dsw file) and say yes to everything.
Add the location (C:\Program Files (x86)\Microsoft DirectX SDK (August 2007)\Lib\x86 by default) to Visual Studio VC++ library include path (under Porject>Properties>VC++ directories>Library directories) at the beginning of the list.
In the same properties window, make sure that Release is selected on top, and go to C/C++>Preprocessor.
Substitute everything in Preprocessor definitions for:
NDEBUG;__PLATFORM_WIN32__;WIN32;_CONSOLE;__WINDOWS_ASIO__;__WINDOWS_DS__;_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
Go to Linker>Input and add ws2_32.lib to the additional dependencies list.
Now, download the matching release of RtAudio* (this version is http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-4.0.12.tar.gz).
Take the files in the Include folder and put them in the chuck/src/RtAudio folder.**
Make sure to ADD THESE FILES TO THE PROJECT in Visual Studio by selecting "See all" in the VS "Solution Browser" and rightclicking on them>add to project.
Select Release as target, compile (Ctrl+B) and hope it works.***

And that's all.

* You can check what version of RtAudio chuck uses in src/RtAudio/RtAudio.h.
Code:
// RtAudio version
static const std::string VERSION( "4.0.12" );

Also, you can find other releases of RtAudio at http://www.music.mcgill.ca/~gary/rtaudio/release/ , and the RtAudio site is
http://www.music.mcgill.ca/~gary/rtaudio/index.html

** To be honest, I had no idea where to put these files, so I put them everywhere. If the described process does not compile/link, and complains about not finding asiosys.h or something asio-ish, try this other approach, which is what I did:
Copy the files under include to all of these locations: src/, src/asio, src/RtAudio, src/RtAudio/include, src/RtAudio/asio.
Add the new files in src/ (only the ones at the root) to the project.

*** If it still doesn't compile, it might help installing the latest Windows SDK. I have no clue if this is necessary, but I had it installed when I built this.


chuck.rar
 Description:
Chuck 1.3.4.0 with ASIO support. Exe inside.

Download
 Filename:  chuck.rar
 Filesize:  579.82 KB
 Downloaded:  9 Time(s)

Back to top
View user's profile Send private message
sorenkj



Joined: Apr 27, 2014
Posts: 9
Location: Portugal

PostPosted: Mon Sep 01, 2014 5:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the effort, much appreciated!

However, it doesn't work for me - after copying/overwriting the .exe file I am still experiencing slow latency..

Are we supposed to have any visual indications as to whether this is working correctly? I can't see any changes in Chuck's preferences menu and also, normally when I start up Renoise - where I have set up ASIO4ALL - in the taskbar the ASIO4ALL control panel will pop up (with ASIO-Chuck it doesn't).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 2 of 2 [32 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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