Csound Csound-dev Csound-tekno Search About

[Csnd] little problem on CsoundQt

Date2013-08-13 02:20
FromCacophony7
Subject[Csnd] little problem on CsoundQt
I tried to #include files together where : 

1) including an .inc file works but I loose the syntax highlighting,
2) including an .orc file works but every time I open it it turns into a
.csd file,
3) and for some reason including a .csd file doesn't work.

I'm making very large instruments and I want to include files properly.
any pointers?



--
View this message in context: http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-13 05:51
FromTarmo Johannes
SubjectRe: [Csnd] little problem on CsoundQt
Hi!

On Monday 12 August 2013 18:20:33 Cacophony7 wrote:
> I tried to #include files together where :
> 
> 1) including an .inc file works but I loose the syntax highlighting,
> 2) including an .orc file works but every time I open it it turns into a
> .csd file,
You can go to Configure->Editor and uncheck "Automatically join orc/sco file" 
- have not tested but that should do the job

> 3) and for some reason including a .csd file doesn't work.
If you use CsoundQt with PythonQt support, you could use the python API 
functions to manipulate your files in a script or between pyrun {{ }}

index1 = q.loadDocument("yourCSD")
orc1 = q.q.getOrc(index1)
# do string mapipulations with orc if you need to change something or pick an 
instrument

index2 = q.loadDocument("yourCSD2")
orc2 = q.q.getOrc(index2)

index3 = q.newDocument("new.csd")
q.setOtc(orc1+orc2,index3)
q.play(index3)

This is probably too cumbersome for you, but the upside is, you can do much 
more than just "include".

See 
http://sourceforge.net/apps/mediawiki/qutecsound/index.php?title=Python_API_in_CsoundQt
for more information about the python API.
 
best!
tarmo

> 
> I'm making very large instruments and I want to include files properly.
> any pointers?
> 
> 
> 
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641.ht
> ml 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-13 07:24
FromCacophony7
Subject[Csnd] Re: little problem on CsoundQt
Um.. I can't seem to open Python console and Python scratchpad.

apparently I know a little bit of Python and OOP in general.



--
View this message in context: http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641p5726644.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-13 11:31
FromTarmo Johannes
SubjectRe: [Csnd] Re: little problem on CsoundQt
Hi,
well, appearently you don't have then PythonQt support in your CsoundQt and 
fur sure you can do also without it.

Following the impulse from you, I now added support for highlighting .inc 
files to the source of CsoundQt in git.

Also I tested and noticed that unckecking "Autojoin sco/orc" does not work if 
you (at least for me) - at that case CsoundQt tries to open both file.sco and 
file.orc and falls to endless loop (between functions loadFile and 
loadCompanionFile). I know what the problem is,  but will thnik and fix it 
later.

Unfortunately building CsoundQt from git is considerably hard in Widows. I 
think these fixes will be released in CsoundQt 0.8.1 and I can't tell when it 
will be out. But it will be better also in that sense.

Thank you for reporting!

best!
tarmo

PS for those on linux  (or also OSX), Joachin just recently put up guidelines 
for building CsoundQt (0.8) with csound6 support to:
https://sourceforge.net/p/csound/wiki/Building%20CsoundQt%20for%20Csound6%20on%20Debian-Ubuntu/



On Monday 12 August 2013 23:24:07 Cacophony7 wrote:
> Um.. I can't seem to open Python console and Python scratchpad.
> 
> apparently I know a little bit of Python and OOP in general.
> 
> 
> 
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641p57
> 26644.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-13 12:33
FromMichael Gogins
SubjectRe: [Csnd] Re: little problem on CsoundQt

Building CsoundtQt from sources isn't so hard on Windows if you follow my directions in the How to Build Csound on Windows document in git. I will say it was hard for me to figure out the instructions.

On Aug 13, 2013 6:31 AM, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote:
Hi,
well, appearently you don't have then PythonQt support in your CsoundQt and
fur sure you can do also without it.

Following the impulse from you, I now added support for highlighting .inc
files to the source of CsoundQt in git.

Also I tested and noticed that unckecking "Autojoin sco/orc" does not work if
you (at least for me) - at that case CsoundQt tries to open both file.sco and
file.orc and falls to endless loop (between functions loadFile and
loadCompanionFile). I know what the problem is,  but will thnik and fix it
later.

Unfortunately building CsoundQt from git is considerably hard in Widows. I
think these fixes will be released in CsoundQt 0.8.1 and I can't tell when it
will be out. But it will be better also in that sense.

Thank you for reporting!

best!
tarmo

PS for those on linux  (or also OSX), Joachin just recently put up guidelines
for building CsoundQt (0.8) with csound6 support to:
https://sourceforge.net/p/csound/wiki/Building%20CsoundQt%20for%20Csound6%20on%20Debian-Ubuntu/



On Monday 12 August 2013 23:24:07 Cacophony7 wrote:
> Um.. I can't seem to open Python console and Python scratchpad.
>
> apparently I know a little bit of Python and OOP in general.
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641p57
> 26644.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"


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-13 12:38
FromTarmo Johannes
SubjectRe: [Csnd] Re: little problem on CsoundQt

:)

thanks, michael!

More testers on windows side of the latest git versions would be really good!

t

 

On Tuesday 13 August 2013 07:33:57 Michael Gogins wrote:

Building CsoundtQt from sources isn't so hard on Windows if you follow my directions in the How to Build Csound on Windows document in git. I will say it was hard for me to figure out the instructions.

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

Hi,
well, appearently you don't have then PythonQt support in your CsoundQt and
fur sure you can do also without it.

Following the impulse from you, I now added support for highlighting .inc
files to the source of CsoundQt in git.

Also I tested and noticed that unckecking "Autojoin sco/orc" does not work if
you (at least for me) - at that case CsoundQt tries to open both file.sco and
file.orc and falls to endless loop (between functions loadFile and
loadCompanionFile). I know what the problem is,  but will thnik and fix it
later.

Unfortunately building CsoundQt from git is considerably hard in Widows. I
think these fixes will be released in CsoundQt 0.8.1 and I can't tell when it
will be out. But it will be better also in that sense.

Thank you for reporting!

best!
tarmo

PS for those on linux  (or also OSX), Joachin just recently put up guidelines
for building CsoundQt (0.8) with csound6 support to:
https://sourceforge.net/p/csound/wiki/Building%20CsoundQt%20for%20Csound6%20on%20Debian-Ubuntu/



On Monday 12 August 2013 23:24:07 Cacophony7 wrote:
> Um.. I can't seem to open Python console and Python scratchpad.
>
> apparently I know a little bit of Python and OOP in general.
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641p57
> 26644.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"


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-13 13:00
FromTarmo Johannes
SubjectRe: [Csnd] Re: little problem on CsoundQt
Hi,

opening sco and orc files (with similar name) with autojoin unchecked, is now 
fixed int git. When you open one of the pair, also the other gets loaded. If 
you press run in the tab of orc file, the score is used and the music should 
play :)

greetings,
tarmo

On Monday 12 August 2013 23:24:07 Cacophony7 wrote:
> Um.. I can't seem to open Python console and Python scratchpad.
> 
> apparently I know a little bit of Python and OOP in general.
> 
> 
> 
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641p57
> 26644.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-13 14:07
FromCacophony7
Subject[Csnd] Re: little problem on CsoundQt
Um, I heard of git but I don't know what it is. I thought it was another open
source web site just like sourceforge. When will Csound 0.8.1 be ready?



--
View this message in context: http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641p5726650.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-08-13 16:39
From"\\js"
SubjectRe: [Csnd] Re: little problem on CsoundQt
On 08/13/13 09:07, Cacophony7 wrote:
> Um, I heard of git but I don't know what it is.

git software that you run on your own computer that is for tracking 
changes to files. if you have ever worked as a programmer [paid or not], 
you will be familiar with this type of sortware [cvs, svn, vcs (yeech)] ...

i imagine there's an article on wikipedia or elsewhere in the 
surveillance web of the internet  that will explain it to you.


Date2013-08-14 05:53
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Re: little problem on CsoundQt
git is a system for managing code over many developers.  Used bt
sourceforge, github and many others
==John ff

> Um, I heard of git but I don't know what it is. I thought it was another
> open
> source web site just like sourceforge. When will Csound 0.8.1 be ready?
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/little-problem-on-CsoundQt-tp5726641p5726650.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"
>
>
>
>
>