Csound Csound-dev Csound-tekno Search About

[Csnd] Troubles with the new Csound 6

Date2013-08-06 04:14
FromCacophony7
Subject[Csnd] Troubles with the new Csound 6
Ok, I managed to download the new Csound 6 with a download manager. The
CsoundQt that came with it in the bin folder doesn't run. Nor does it run in
the start menu. I'm gna restart my computer and see if that helps.



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-06 04:26
FromCacophony7
Subject[Csnd] Re: Troubles with the new Csound 6
Ok it runs but it's still not playing any csds.



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726373.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-06 04:34
FromJim Aikin
Subject[Csnd] Re: Troubles with the new Csound 6
> Ok it runs but it's still not playing any csds. 

More details would be helpful, I think. When you say "not playing," can you
describe what happens?

For instance, does the Output Console show note event activity, but you
don't hear any audio? Or do you get an error message in the Console?

What are your settings in the Configurations box? Have you chosen an output
in the Run tab in the Realtime Play section?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726374.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-06 04:51
FromCacophony7
Subject[Csnd] Re: Troubles with the new Csound 6
The Output Console doesn't display anything.
Is there something wrong with my code? : 







	sr = 44100
	ksmps = 1
	nchnls = 2
	0dbfs = 1

instr 1

	aout oscil 1, 440, 1

	outs aout, aout

endin


f 1 0 0 4096 10 1

i 1 0 100



No sound. No Output. The Configuration Box Input device (-i) is adc and
output device (-o) is dac.



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726375.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-06 05:04
FromCacophony7
Subject[Csnd] Re: Troubles with the new Csound 6
It gave me some output this time : 

STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: PortAudio module enabled ... 
using callback interface
rtmidi: PortMIDI module enabled
Elapsed time at end of orchestra compile: real: 0.003s, CPU: 0.003s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.003s, CPU: 0.003s
Csound version 6.00 (double samples) Aug  3 2013
graphics suppressed, ascii substituted
0dBFS level = 1.0
orch now loaded
audio buffered in 1024 sample-frame blocks
writing 4096-byte blks of shorts to C:\Michael\Csound6\Work\test.wav (WAV)
SECTION 1:
ftable 1:
new alloc for instr 1:
inactive allocs returned to freespace
end of score.		   overall amps:  1.00000  1.00000
	   overall samples out of range:        0        0
0 errors in performance
Elapsed time at end of performance: real: 6.240s, CPU: 6.240s
2048 4096 sample blks of shorts written to C:\Michael\Csound6\Work\test.wav
(WAV)

...and rendered a test.wav file that plays the sine wave. I just had to fix
some code.
...but how do you get the sound inside of CsoundQt?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726376.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-06 05:22
FromCacophony7
Subject[Csnd] Re: Troubles with the new Csound 6
I managed to get CsoundQt to play but should I use pa_bl or pa_cb in the RT
Audio Module?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726377.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-06 09:37
FromTarmo Johannes
SubjectRe: [Csnd] Re: Troubles with the new Csound 6

Hi,
I have a feeling that first time when you start CsoundQt, it does not find the default audio driver and writes output to file. As workaround, before starting, it is necessary to choose one of the audio drivers in Configuration Run.
I will try to have a look to the code later.
Greetings,
Tarmo

2013 8 6 07:23 kirjutas kuupäeval "Cacophony7" <michaelsparks37@gmail.com>:
I managed to get CsoundQt to play but should I use pa_bl or pa_cb in the RT
Audio Module?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726377.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-08-06 16:23
FromAndres Cabrera
SubjectRe: [Csnd] Re: Troubles with the new Csound 6

This is a bug that was fixed on the weekend, so it might not be on the windows release. But if this is the main issue then thankfully it's easy to solve.

A

On Aug 6, 2013 1:37 AM, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote:

Hi,
I have a feeling that first time when you start CsoundQt, it does not find the default audio driver and writes output to file. As workaround, before starting, it is necessary to choose one of the audio drivers in Configuration Run.
I will try to have a look to the code later.
Greetings,
Tarmo

2013 8 6 07:23 kirjutas kuupäeval "Cacophony7" <michaelsparks37@gmail.com>:
I managed to get CsoundQt to play but should I use pa_bl or pa_cb in the RT
Audio Module?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726377.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-08-06 17:08
FromTarmo Johannes
SubjectRe: [Csnd] Re: Troubles with the new Csound 6

Hi,

 

great!

 

 

To test, I built CsoundQt from git today and it works fine when there is no previous configuration file lying around (.config/csound/qutecsound.conf) the default device will be pa_bl (or the probably first driver that csound reports),

 

the problem rises, when there is a config file from CsoundQt 0.7.3 that stores rtAudio as

 

Run\rtAudioModule=0

 

In that case CsoundQt 0.8 thinks it is nothing and writes output to file.

 

I did not have chance to look to the code yet if there is a easy fix butporbably you have much better overview.

 

best!

tarmo

 

 

 

 

On Tuesday 06 August 2013 08:23:45 Andres Cabrera wrote:

This is a bug that was fixed on the weekend, so it might not be on the windows release. But if this is the main issue then thankfully it's easy to solve.

A

On Aug 6, 2013 1:37 AM, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote:

Hi,
I have a feeling that first time when you start CsoundQt, it does not find the default audio driver and writes output to file. As workaround, before starting, it is necessary to choose one of the audio drivers in Configuration Run.
I will try to have a look to the code later.
Greetings,
Tarmo

2013 8 6 07:23 kirjutas kuupäeval "Cacophony7" <michaelsparks37@gmail.com>:

I managed to get CsoundQt to play but should I use pa_bl or pa_cb in the RT
Audio Module?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726377.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2013-08-06 17:15
FromTarmo Johannes
SubjectRe: [Csnd] Re: Troubles with the new Csound 6

Hello,

 

and I pushed to CsoundQt's git a fix to enable more than twooutputs to consoles.

 

I tested with

 

qDebug()<<"Max thread count: "<< QThreadPool::globalInstance()->maxThreadCount();

 

in the code and at least in mu machine only 2 threads were allowed by default. But every open document needs a separate thread to strart its messageDispatcher.

 

when I added

 

QThreadPool::globalInstance()->setMaxThreadCount(MAX_THREAD_COUNT);

 

 

to the constructor of CsoundQt (qutecsound.cpp)

 

and it solved problem for me.

 

I am not sure if it is a good fix but helped me further.

 

Andrès, could you have a look?

Michael, is it easy for you to build a version for windows and see if it works there (have 3 or 4 documents open and see if their consoles display output)?

 

best regards,

tarmo

 

 

 

On Tuesday 06 August 2013 11:37:24 Tarmo Johannes wrote:

Hi,
I have a feeling that first time when you start CsoundQt, it does not find the default audio driver and writes output to file. As workaround, before starting, it is necessary to choose one of the audio drivers in Configuration Run.
I will try to have a look to the code later.
Greetings,
Tarmo

2013 8 6 07:23 kirjutas kuupäeval "Cacophony7" <michaelsparks37@gmail.com>:

I managed to get CsoundQt to play but should I use pa_bl or pa_cb in the RT
Audio Module?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726377.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2013-08-06 18:14
FromAndres Cabrera
SubjectRe: [Csnd] Re: Troubles with the new Csound 6

Hi Tarmo,

Thanks! This looks like the right solution. It will have to go in 0.8.1, though, as the release is in progress and I won't have time to do a repackaging.

Cheers,
Andres

Hello,

 

and I pushed to CsoundQt's git a fix to enable more than twooutputs to consoles.

 

I tested with

 

qDebug()<<"Max thread count: "<< QThreadPool::globalInstance()->maxThreadCount();

 

in the code and at least in mu machine only 2 threads were allowed by default. But every open document needs a separate thread to strart its messageDispatcher.

 

when I added

 

QThreadPool::globalInstance()->setMaxThreadCount(MAX_THREAD_COUNT);

 

 

to the constructor of CsoundQt (qutecsound.cpp)

 

and it solved problem for me.

 

I am not sure if it is a good fix but helped me further.

 

Andrès, could you have a look?

Michael, is it easy for you to build a version for windows and see if it works there (have 3 or 4 documents open and see if their consoles display output)?

 

best regards,

tarmo

 

 

 

On Tuesday 06 August 2013 11:37:24 Tarmo Johannes wrote:

Hi,
I have a feeling that first time when you start CsoundQt, it does not find the default audio driver and writes output to file. As workaround, before starting, it is necessary to choose one of the audio drivers in Configuration Run.
I will try to have a look to the code later.
Greetings,
Tarmo

2013 8 6 07:23 kirjutas kuupäeval "Cacophony7" <michaelsparks37@gmail.com>:

I managed to get CsoundQt to play but should I use pa_bl or pa_cb in the RT
Audio Module?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726377.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2013-08-06 18:21
FromMichael Gogins
SubjectRe: [Csnd] Re: Troubles with the new Csound 6
Yes, for a while now I have been building CsoundQt from git head. I can do it in half an hour. I will try it tonight.

Regards,
Mike


===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Tue, Aug 6, 2013 at 12:15 PM, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:

Hello,

 

and I pushed to CsoundQt's git a fix to enable more than twooutputs to consoles.

 

I tested with

 

qDebug()<<"Max thread count: "<< QThreadPool::globalInstance()->maxThreadCount();

 

in the code and at least in mu machine only 2 threads were allowed by default. But every open document needs a separate thread to strart its messageDispatcher.

 

when I added

 

QThreadPool::globalInstance()->setMaxThreadCount(MAX_THREAD_COUNT);

 

 

to the constructor of CsoundQt (qutecsound.cpp)

 

and it solved problem for me.

 

I am not sure if it is a good fix but helped me further.

 

Andrès, could you have a look?

Michael, is it easy for you to build a version for windows and see if it works there (have 3 or 4 documents open and see if their consoles display output)?

 

best regards,

tarmo

 

 

 

On Tuesday 06 August 2013 11:37:24 Tarmo Johannes wrote:

Hi,
I have a feeling that first time when you start CsoundQt, it does not find the default audio driver and writes output to file. As workaround, before starting, it is necessary to choose one of the audio drivers in Configuration Run.
I will try to have a look to the code later.
Greetings,
Tarmo

2013 8 6 07:23 kirjutas kuupäeval "Cacophony7" <michaelsparks37@gmail.com>:

I managed to get CsoundQt to play but should I use pa_bl or pa_cb in the RT
Audio Module?



--
View this message in context: http://csound.1045644.n5.nabble.com/Troubles-with-the-new-Csound-6-tp5726372p5726377.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"