Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] mac failure

Date2005-05-22 16:59
FromVictor Lazzarini
SubjectRe: [Cs-dev] mac failure
Here it runs straight out of the box:

./csound -odac examples/trapped.csd -+rtaudio=coreaudio

Localisation of messages is disabled, using default
language.
time resolution is 1000.000 ns
PortAudio real-time audio module for Csound
CoreAudio real-time audio module for Csound
by Victor Lazzarini
PortMIDI real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.00 beta (float samples) May 21 2005
libsndfile-1.0.10
UnifiedCSD:  examples/trapped.csd
STARTING FILE
Creating options
Creating orchestra
Creating /var/tmp/tmp.orc (0xa0006ba4)
Creating score
orchname:  /var/tmp/tmp.orc
scorename: /var/tmp/tmp.sco
rtaudio: CoreAudio module enabled
rtmidi: PortMIDI module enabled
orch compiler:
398 lines read
        instr   1
        instr   2
        instr   3
        instr   4
        instr   5
        instr   6
        instr   7
        instr   8
        instr   9
        instr   10
        instr   11
        instr   12
        instr   13
        instr   98
        instr   99
Elapsed time at end of orchestra compile: real: 0.340s, CPU:
0.110s
sorting score ...
        ... done
Elapsed time at end of score sort: real: 0.895s, CPU: 0.140s
Csound version 5.00 beta (float samples) May 21 2005
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 256 sample-frame blocks
=======================================================
CoreAudio Module: found 1 device(s):
=> CoreAudio device 0: Built-in audio controller
CoreAudio module: opening Built-in audio controller
CoreAudio module: device open with 4 buffers of 1024 frames
=======================================================
writing 1024-byte blks of shorts to dac
SECTION 1:
ftable 1:
ftable 2:
ftable 3:
ftable 4:
ftable 5:
ftable 6:
ftable 7:
ftable 8:
ftable 9:
ftable 10:
ftable 11:
ftable 12:
ftable 13:
ftable 14:
ftable 15:
ftable 16:
ftable 17:
ftable 18:
ftable 19:
ftable 20:
ftable 21:
ftable 22:
new alloc for instr 1:
B  0.000 ..  1.000 T  1.000 TT  1.000 M:   -59.99  -135.51
...etc


I can't see you have done anything wrong. Does it run
without
problems with portaudio?

In which line of the above does it stop?

Victor

>
> I have done an update on the Mac, It all compiled OK, but
> then having added  a -+rtaudio=coreaudio to .csoundrc I
> tried to run Trapped.  It have a bus  error after saying
> it had opened the coeraudio driver and initialised lots of
> tables.  What else can I have done wrong?
>
> I still have fltk1.1.4 as 1.1.6 fails to compile
> ==John
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-05-22 18:33
Fromjpff@codemist.co.uk
SubjectRe: [Cs-dev] mac failure
I am running the example/trappedrt.csd but get the same from ./csound
-odac examples/trapped.csd

It gets to 
...
ftable 21:
ftable 22:
new alloc for instr 1:

and then says bus error

Running under gdb is slightly different -- crashes with unable to
access memory in rtcoreaudio line 119
  for(i = 0; i < items; i++){
    outp[i]  = obufp[i];
    ibufp[i] = inp[i];          <===============
  }

and thsi happens immediately after the line
SECTION 1:

This is with the updated tools.

==John ffitch


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net