Re: No sound on Mac
| Date | 2016-10-29 20:17 |
| From | Richard Holmes |
| Subject | Re: No sound on Mac |
The following command line also does not produce sound:
csound -+rtaudio=pa_bl -iadc -odac --env:CSNOSTOP=yes /Users/rsholmes/Desktop/test.csd
This is the command line generated by CsoundQt's "Run in Term". I don't see pa_bl in the documentation for -+rtaudio at https://csound.github.io/docs/manual/CommandFlagsCategory.html#FlagsCatMinusPlusRtaudio ; I tried -+rtaudio=CoreAudio as well, and again got no sound.
So it appears NOT to be a CsoundQt issue.
Terminal output pasted below.
$ csound -+rtaudio=pa_bl -iadc -odac --env:CSNOSTOP=yes /Users/rsholmes/Desktop/test.csd
virtual_keyboard real time MIDI plugin for Csound
WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH
(points to rawwaves directory) to use STK opcodes.
0dBFS level = 32768.0
Csound version 6.07 (double samples) Sep 5 2016
libsndfile-1.0.21
UnifiedCSD: /Users/rsholmes/Desktop/test.csd
STARTING FILE
Creating orchestra
Creating score
WARNING: STK opcodes not available: define environment variable RAWWAVE_PATH
(points to rawwaves directory) to use STK opcodes.
rtaudio: PortAudio module enabled ...
using blocking interface
rtmidi: PortMIDI module enabled
Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.002s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.002s, CPU: 0.002s
--Csound version 6.07 (double samples) Sep 5 2016
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
PortAudio V19-devel (built Feb 12 2010 09:42:54)
0: adc0 (Built-in Microph)
1: adc1 (Built-in Input)
2: adc2 (Aggregate Device)
PortAudio: selected input device 'Built-in Microph'
2016-10-29 15:07:20.410 csound[3736:1138219] 15:07:20.410 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
reading 2048-byte blks of shorts from adc (RAW)
0: dac0 (Built-in Output)
1: dac1 (Instant On Default Output)
2: dac2 (Instant On Sound Effects)
3: dac3 (Aggregate Device)
PortAudio: selected output device 'Built-in Output'
writing 1024 sample blks of 64-bit floats to dac
SECTION 1:
new alloc for instr 1:
B 0.000 .. 1.000 T 1.000 TT 1.000 M: 1.2
B 1.000 .. 2.000 T 2.000 TT 2.000 M: 1.2
B 2.000 .. 3.000 T 3.000 TT 3.000 M: 1.2
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps: 1.2
overall samples out of range: 0
0 errors in performance
Elapsed time at end of performance: real: 4.138s, CPU: 0.096s
closing device
130 1024 sample blks of 64-bit floats written to dac
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2016-10-29 20:24 |
| From | Richard |
| Subject | Re: No sound on Mac |
This may be a/the reason - output amp is around the dither level. Maybe
set 0dbfs= 1 in the orch header, then reduce amp a little bit to avoid
clipping.
Richard Dobson
On 29/10/2016 20:17, Richard Holmes wrote:
..
> 0dBFS level = 32768.0
..
> end of score. overall amps: 1.2
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2016-10-29 20:24 |
| From | Justin Smith |
| Subject | Re: No sound on Mac |
> 0dBFS level = 32768.0 > B 0.000 .. 1.000 T 1.000 TT 1.000 M: 1.2 if 0dbfs is 32768, 1.2 will not be audible, you should fix your 0dbfs or your amplitude values On Sat, Oct 29, 2016 at 12:17 PM Richard Holmes <rs.holmes@gmail.com> wrote: The following command line also does not produce sound: |
| Date | 2016-10-29 21:08 |
| From | Michael Gogins |
| Subject | Re: No sound on Mac |
According to your output sound was indeed produced, at an amplitude of 1.2. Try setting -0dbfs to 2. Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Sat, Oct 29, 2016 at 3:17 PM, Richard Holmes |