Csound Csound-dev Csound-tekno Search About

[Csnd] No audio playback from simple csound book example

Date2013-01-02 13:00
FromJohn Colgrove
Subject[Csnd] No audio playback from simple csound book example
Hello all. I'm getting no audio output from one of the first examples out of
the csound book and I'm having a heck of a time figuring out why. I'm
getting a couple of warnings when I run the file. Here is the entire log.

WARNING: could not open library
'/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjacko.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib'
(-1)
WARNING: could not open library
'/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib'
(-1)
Csound version 5.18.03 (double samples) Oct  6 2012
UnifiedCSD: /Volumes/Arcadia Divine/Csound Learning Projects/Learning 1.csd
Creating options
Creating orchestra
Creating score
using blocking interface
Parsing successful!
Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
Sorting score
Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
PortAudio V19-devel (built Oct  3 2012 09:31:53)
PortAudio: available input devices:
   0: Built-in Microph
   1: Built-in Input
PortAudio: selected input device 'Built-in Microph'
reading 4096-byte blks of shorts from adc (RAW)
PortAudio: available output devices:
   0: Built-in Output
PortAudio: selected output device 'Built-in Output'
writing 2048 sample blks of 64-bit floats to dac 
SECTION 1:


Any idea what's going on?



--
View this message in context: http://csound.1045644.n5.nabble.com/No-audio-playback-from-simple-csound-book-example-tp5719132.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-01-02 13:39
FromVictor Lazzarini
SubjectRe: [Csnd] No audio playback from simple csound book example
The warnings are benign, they are there because you have not installed JackOSX, which is not needed in this case.
Can you post the CSD?
On 2 Jan 2013, at 13:00, John Colgrove wrote:

> Hello all. I'm getting no audio output from one of the first examples out of
> the csound book and I'm having a heck of a time figuring out why. I'm
> getting a couple of warnings when I run the file. Here is the entire log.
> 
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib'
> (-1)
> Csound version 5.18.03 (double samples) Oct  6 2012
> UnifiedCSD: /Volumes/Arcadia Divine/Csound Learning Projects/Learning 1.csd
> Creating options
> Creating orchestra
> Creating score
> using blocking interface
> Parsing successful!
> Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
> Sorting score
> Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
> 0dBFS level = 32768.0
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> PortAudio V19-devel (built Oct  3 2012 09:31:53)
> PortAudio: available input devices:
>   0: Built-in Microph
>   1: Built-in Input
> PortAudio: selected input device 'Built-in Microph'
> reading 4096-byte blks of shorts from adc (RAW)
> PortAudio: available output devices:
>   0: Built-in Output
> PortAudio: selected output device 'Built-in Output'
> writing 2048 sample blks of 64-bit floats to dac 
> SECTION 1:
> 
> 
> Any idea what's going on?
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/No-audio-playback-from-simple-csound-book-example-tp5719132.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-01-03 19:14
FromJohn Colgrove
Subject[Csnd] Re: No audio playback from simple csound book example
Sure. It's the first example from the book by the way.







sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 101 ;Simple Oscil
a1 oscil 10000, 440, 1
out a1
endin








Victor Lazzarini wrote
> The warnings are benign, they are there because you have not installed
> JackOSX, which is not needed in this case.
> Can you post the CSD?





--
View this message in context: http://csound.1045644.n5.nabble.com/No-audio-playback-from-simple-csound-book-example-tp5719132p5719168.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-01-03 19:24
FromRory Walsh
SubjectRe: [Csnd] Re: No audio playback from simple csound book example
You don't have any i-statements in your score. You're also missing a
function table definition. Try adding the following to your score
section

f1 0 4096 10 1
i1 0 10

regards,
Rory.


On 3 January 2013 19:14, John Colgrove  wrote:
> Sure. It's the first example from the book by the way.
>
> 
> 
>
> 
>
> 
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 1
>
> instr 101 ;Simple Oscil
> a1 oscil 10000, 440, 1
> out a1
> endin
> 
>
> 
>
> 
> 
>
>
> Victor Lazzarini wrote
>> The warnings are benign, they are there because you have not installed
>> JackOSX, which is not needed in this case.
>> Can you post the CSD?
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/No-audio-playback-from-simple-csound-book-example-tp5719132p5719168.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>