| Author |
Message |
d2leo
Joined: Aug 29, 2008 Posts: 7 Location: USA
|
Posted: Sat Aug 30, 2008 4:35 pm Post subject:
Audicle newbie problem Subject description: Chuck |
 |
|
I have installed Audicle and when I start it from the command prompt it starts and at the chuck prompt I type chuck and I am not in the right directory and I can't change directory.
Please advise
Pd |
|
|
Back to top
|
|
 |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sun Aug 31, 2008 1:57 pm Post subject:
|
 |
|
do you mean miniAudicle? Audicle is experimental and not yet ready for prime time as far as I know. _________________ "Let's make noise for peace." - Kijjaz |
|
|
Back to top
|
|
 |
d2leo
Joined: Aug 29, 2008 Posts: 7 Location: USA
|
Posted: Sun Aug 31, 2008 4:49 pm Post subject:
|
 |
|
This is Audicle not mini Audicle. I will try mini Audiclae and see if I have the same problem.
Pd |
|
|
Back to top
|
|
 |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sun Aug 31, 2008 6:05 pm Post subject:
|
 |
|
Oh, you may have much better luck with miniAudicle. Audicle seems to be so far ahead of it's time that it demands every ounce of computing power from the fastest of machines to run properly, or that's what I understand to be true.
Folks generally use either the command line version or miniAudicle. That should help. _________________ "Let's make noise for peace." - Kijjaz |
|
|
Back to top
|
|
 |
d2leo
Joined: Aug 29, 2008 Posts: 7 Location: USA
|
Posted: Sun Aug 31, 2008 6:42 pm Post subject:
|
 |
|
I tried the miniAudicle I get the same result. I add any chuck and I get command not found. It seems I do not have it configured properly.
How do you use Chuck?
I wanted to use it in Ubuntu and have jack record my output into Ardour but I don't have the chops to configure it so I am using it in Vista.
Pd |
|
|
Back to top
|
|
 |
Inventor
Stream Operator

Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 267
|
Posted: Sun Aug 31, 2008 6:57 pm Post subject:
|
 |
|
I'm on a Mac, but it should be similar for Vista. After installation, which consisted of just copying one file, i created an icon in my toolbar that points to that icon, then i click on the icon to start miniAudicle.
Alternatively I could just click on the icon in my Applications folder, if I didn't know how to make the toolbar icon.
Sorry but I don't have any Windows so I cannot advise specifically, but try reading the installation instructions - that should tell you. _________________ "Let's make noise for peace." - Kijjaz |
|
|
Back to top
|
|
 |
kijjaz

Joined: Sep 20, 2004 Posts: 765 Location: bangkok, thailand
Audio files: 4
|
Posted: Mon Sep 01, 2008 4:32 am Post subject:
|
 |
|
I'm on linux also (Ubuntu, debian)
for compiling the newest miniAudicle and ChucK:
install bison flex build-essential libsndfile1-dev libwxgtk2.6-dev
then for jack support: install libjack-dev
and for ALSA support: install libasound2-dev
- - -
now the miniAudicle source code downloadable from ChucK website is version 0.1.3.8 and the ChucK included in the package is version 1.2.1.1 which is not the newest.
extract the whole miniAudicle-0.1.3.8.tgz, you'll see chuck-1.2.1.1 directory there,
you can just delete the files in there.
then get chuck 1.2.1.2 source code, extract and put in the chucl-1.2.1.1 directory we extracted from the miniAudicle package..
after than, in miniAudicle-0.1.3.8 directory, execute make linux-jack
that'd produce miniAudicle executable in wxw directory
i usually copy that to /usr/bin/miniAudicle-jack so i can execute from anywhere.
- - -
do the same and produce the ALSA version by make linux-alsa
i usually put the miniAudicle executable as /usr/bin/miniAudicle
- - -
Normally, if all the compilation and installation is correct,
i just run miniAudicle,
Edit -> Preferences, set for the sound card / sample rate you'd like to use,
Chuck -> Start Virtual Machine (or press start virtual machine in Virtual Machine window)
type in the code in the editor and add shred to test.
i think it'd usualy work. |
|
|
Back to top
|
|
 |
d2leo
Joined: Aug 29, 2008 Posts: 7 Location: USA
|
Posted: Tue Sep 02, 2008 9:12 am Post subject:
|
 |
|
I think I am close. I made linux-jack and it ran but when I started it I got an error about looping.
I then tried to make the linux-alsa but it couldn't make it.
Pd |
|
|
Back to top
|
|
 |
radarsat1
Joined: Mar 14, 2008 Posts: 85 Location: Montreal
|
Posted: Tue Sep 02, 2008 12:07 pm Post subject:
|
 |
|
| d2leo wrote: | I think I am close. I made linux-jack and it ran but when I started it I got an error about looping.
I then tried to make the linux-alsa but it couldn't make it.
Pd |
can you give more detail? like maybe a console dump? you're not telling us anything about why "it couldn't make it". |
|
|
Back to top
|
|
 |
d2leo
Joined: Aug 29, 2008 Posts: 7 Location: USA
|
Posted: Tue Sep 02, 2008 2:57 pm Post subject:
|
 |
|
When I try to run the jack install and click start Virtual Machine it hangs up.
and when I try to make alsa I get:
make -f makefile.alsa
make[1]: Entering directory `/usr/local/src/miniAudicle-0.1.3.8'
make -C chuck/src -f makefile.alsa
make[2]: Entering directory `/usr/local/src/miniAudicle-0.1.3.8/chuck-1.2.1.1/sr
c'
make[2]: `chuck' is up to date.
make[2]: Leaving directory `/usr/local/src/miniAudicle-0.1.3.8/chuck-1.2.1.1/src
'
g++ -o wxw/miniAudicle miniAudicle.o wxw/mAParentFrame.o wxw/mADocument.o wxw/mA
View.o wxw/mAVMMonitor.o wxw/mAMenuBar.o wxw/mAConsoleMonitor.o wxw/mAConfig.o w
xw/mAPreferencesWindow.o wxw/mAUIElements.o miniAudicle_import.o miniAudicle_ui_
elements.o chuck/src/chuck.tab.o chuck/src/chuck.yy.o chuck/src/chuck_absyn.o ch
uck/src/chuck_parse.o chuck/src/chuck_errmsg.o chuck/src/chuck_frame.o chuck/src
/chuck_symbol.o chuck/src/chuck_table.o chuck/src/chuck_utils.o chuck/src/chuck_
vm.o chuck/src/chuck_instr.o chuck/src/chuck_scan.o chuck/src/chuck_type.o chuck
/src/chuck_emit.o chuck/src/chuck_compile.o chuck/src/chuck_dl.o chuck/src/chuck
_oo.o chuck/src/chuck_lang.o chuck/src/chuck_ugen.o chuck/src/chuck_globals.o ch
uck/src/chuck_otf.o chuck/src/chuck_stats.o chuck/src/chuck_bbq.o chuck/src/chuc
k_shell.o chuck/src/chuck_console.o chuck/src/digiio_rtaudio.o chuck/src/hidio_s
dl.o chuck/src/midiio_rtmidi.o chuck/src/rtaudio.o chuck/src/rtmidi.o chuck/src/
ugen_osc.o chuck/src/ugen_filter.o chuck/src/ugen_stk.o chuck/src/ugen_xxx.o chu
ck/src/ulib_machine.o chuck/src/uana_xform.o chuck/src/uana_extract.o chuck/src/
ulib_math.o chuck/src/ulib_std.o chuck/src/ulib_opsc.o chuck/src/util_buffers.o
chuck/src/util_console.o chuck/src/util_math.o chuck/src/util_network.o chuck/sr
c/util_raw.o chuck/src/util_string.o chuck/src/util_thread.o chuck/src/util_xfor
ms.o chuck/src/util_opsc.o chuck/src/util_hid.o `wx-config --libs stc,adv,core
,base` -lasound -lpthread -lstdc++ -ldl -lm -lsndfile
chuck/src/rtaudio.o: In function `RtApiJack::closeStream()':
rtaudio.cpp:(.text+0x74b): undefined reference to `jack_client_close'
rtaudio.cpp:(.text+0x859): undefined reference to `jack_deactivate'
chuck/src/rtaudio.o: In function `RtApiJack::probeDeviceInfo(RtApi::RtApiDevice*
)':
rtaudio.cpp:(.text+0x884): undefined reference to `jack_client_new'
rtaudio.cpp:(.text+0x89c): undefined reference to `jack_get_sample_rate'
rtaudio.cpp:(.text+0x8d7): undefined reference to `jack_get_ports'
rtaudio.cpp:(.text+0x92a): undefined reference to `jack_get_ports'
rtaudio.cpp:(.text+0x97c): undefined reference to `jack_client_close'
rtaudio.cpp:(.text+0xa10): undefined reference to `jack_client_close'
chuck/src/rtaudio.o: In function `RtApiJack::stopStream()':
rtaudio.cpp:(.text+0xd84): undefined reference to `jack_deactivate'
chuck/src/rtaudio.o: In function `RtApiJack::startStream()':
rtaudio.cpp:(.text+0xe77): undefined reference to `jack_activate'
rtaudio.cpp:(.text+0xeb2): undefined reference to `jack_get_ports'
rtaudio.cpp:(.text+0xefd): undefined reference to `jack_port_name'
rtaudio.cpp:(.text+0xf12): undefined reference to `jack_connect'
rtaudio.cpp:(.text+0x1054): undefined reference to `jack_port_register'
rtaudio.cpp:(.text+0x10d8): undefined reference to `jack_port_register'
rtaudio.cpp:(.text+0x11e1): undefined reference to `jack_get_ports'
rtaudio.cpp:(.text+0x121a): undefined reference to `jack_port_name'
rtaudio.cpp:(.text+0x1235): undefined reference to `jack_connect'
chuck/src/rtaudio.o: In function `RtApiJack::callbackEvent(unsigned long)':
rtaudio.cpp:(.text+0x330a): undefined reference to `jack_port_get_buffer'
rtaudio.cpp:(.text+0x33a7): undefined reference to `jack_port_get_buffer'
rtaudio.cpp:(.text+0x3464): undefined reference to `jack_port_get_buffer'
rtaudio.cpp:(.text+0x350b): undefined reference to `jack_port_get_buffer'
chuck/src/rtaudio.o: In function `RtApiJack::probeDeviceOpen(int, RtApi::StreamM ode, int, int, unsigned long, int*, int)':
rtaudio.cpp:(.text+0x36c1): undefined reference to `jack_get_sample_rate'
rtaudio.cpp:(.text+0x3718): undefined reference to `jack_get_buffer_size'
rtaudio.cpp:(.text+0x380d): undefined reference to `jack_client_new'
rtaudio.cpp:(.text+0x381f): undefined reference to `jack_get_sample_rate'
rtaudio.cpp:(.text+0x3832): undefined reference to `jack_client_close'
rtaudio.cpp:(.text+0x3978): undefined reference to `jack_set_process_callback'
rtaudio.cpp:(.text+0x3995): undefined reference to `jack_set_xrun_callback'
rtaudio.cpp:(.text+0x39ae): undefined reference to `jack_on_shutdown'
rtaudio.cpp:(.text+0x416b): undefined reference to `jack_client_close'
chuck/src/rtaudio.o: In function `RtApiJack::initialize()':
rtaudio.cpp:(.text+0x511e): undefined reference to `jack_set_error_function'
rtaudio.cpp:(.text+0x512a): undefined reference to `jack_client_new'
rtaudio.cpp:(.text+0x529c): undefined reference to `jack_client_close'
collect2: ld returned 1 exit status
make[1]: *** [wxw/miniAudicle] Error 1
make[1]: Leaving directory `/usr/local/src/miniAudicle-0.1.3.8'
make: [linux-alsa] Error 2 (ignored)
d2leo57@d2leo57-desktop:/usr/local/src/miniAudicle-0.1.3.8$
I appreciate your help
Pd |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Tue Sep 02, 2008 4:09 pm Post subject:
|
 |
|
Sounds like you tried to compile a source directory that you already used to compile once? that would mean it'd be full of files, created by the compiler before, that it would now assume to be fine, but in this case they likely aren't because of the new settings (all of your errors deal with Jack).
I think you can use something like "make clean" or something along those lines to fix this. I never got that bit and tend to simply delete the whole directory and extract the .tar.gz file again and try again. This will probably sound terrible to C++ pro's like Radarsat1 but it works and erases all traces of previous compiling attempts, giving a blank slate. _________________ Kassen |
|
|
Back to top
|
|
 |
radarsat1
Joined: Mar 14, 2008 Posts: 85 Location: Montreal
|
Posted: Wed Sep 03, 2008 6:06 am Post subject:
|
 |
|
| Kassen wrote: | | I think you can use something like "make clean" or something along those lines to fix this. I never got that bit and tend to simply delete the whole directory and extract the .tar.gz file again and try again. This will probably sound terrible to C++ pro's like Radarsat1 but it works and erases all traces of previous compiling attempts, giving a blank slate. |
No, you're perfectly right, he needs to "make clean". The dependence on 'jack' functions when compiling against 'alsa' is the tip. This wouldn't be a problem if ChucK used tools like autotools or SCons, but as it is, Make is not smart enough to tell that those object files need to be recompiled for the new configuration. |
|
|
Back to top
|
|
 |
d2leo
Joined: Aug 29, 2008 Posts: 7 Location: USA
|
Posted: Fri Sep 05, 2008 4:35 am Post subject:
|
 |
|
Thank you the make clean worked and I reinstalled linux-jack. I still have the problem with the virtual machine hanging on the start up.
Pd |
|
|
Back to top
|
|
 |
d2leo
Joined: Aug 29, 2008 Posts: 7 Location: USA
|
Posted: Mon Sep 08, 2008 9:18 am Post subject:
|
 |
|
Thank you very much.
MiniAudicle is now working with jack. |
|
|
Back to top
|
|
 |
kijjaz

Joined: Sep 20, 2004 Posts: 765 Location: bangkok, thailand
Audio files: 4
|
Posted: Mon Sep 08, 2008 10:56 am Post subject:
|
 |
|
| wow.. exciting. that's great. |
|
|
Back to top
|
|
 |
|