Csound Csound-dev Csound-tekno Search About

[Csnd] fluidProgramSelect

Date2011-01-24 20:38
Frommenno
Subject[Csnd] fluidProgramSelect
Hi,

i would like to know if it is possible to use fluidProgramSelect inside an
instrument and use it as a Program Change, so i can choose - within the same
instrument - another preset. 
Right now i get chaotic behaviour with the sounds of all kinds of presets
when i play the virtual keyboard. I also tried with sending a program change
with 0 key and 0 velocity just to be sure the next real note would have the
new preset.  Or is fluidProgramSelect designed to stay in instr 0 and to be
set once? 

Here is my csd, i use the GMbank that comes with Csound in the samples
folder:



; Select audio/midi flags here according to platform
-odac  -+rtmidi=virtual  -M0    ;;;realtime audio out and realtime midi in
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
;-o fluidProgramSelect.wav -W ;;; for file output any platform



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

giengine fluidEngine
; use a GM bank
gisfnum	 fluidLoad "/home/menno/csound5/csound5/samples/sf_GMbank.sf2",
giengine, 0

instr 1

	fluidProgramSelect giengine, 1, gisfnum, 0, p6
	mididefault   60, p3
	midinoteonkey p4, p5
ikey	init p4
ivel	init p5
	fluidNote giengine, 1, ikey, ivel

endin

instr 99

imvol  init 7
asigl, asigr fluidOut giengine
       outs asigl*imvol, asigr*imvol

endin


i 1 0 1  0  0  15  ;program change to tubular bells
i 1 1 2 60 100    ;play tubular bell

i 1 10 1 0  0  10  ;program change to glockenspiel
i 1 11 2 60 99  ; play glockenspiel

i 99 0 20	  ;turn on for 20 seconds
e




thanks in advance,
menno

Date2011-01-24 20:45
FromMichael Gogins
SubjectRe: [Csnd] fluidProgramSelect
I'm not sure about that. Check the docs at
http://fluidsynth.sourceforge.net/api/ for more information. I will
also take a look at the opcode code.

Regards,
Mike

On Mon, Jan 24, 2011 at 3:38 PM, menno  wrote:
>
> Hi,
>
> i would like to know if it is possible to use fluidProgramSelect inside an
> instrument and use it as a Program Change, so i can choose - within the same
> instrument - another preset.
> Right now i get chaotic behaviour with the sounds of all kinds of presets
> when i play the virtual keyboard. I also tried with sending a program change
> with 0 key and 0 velocity just to be sure the next real note would have the
> new preset.  Or is fluidProgramSelect designed to stay in instr 0 and to be
> set once?
>
> Here is my csd, i use the GMbank that comes with Csound in the samples
> folder:
>
> 
> 
> ; Select audio/midi flags here according to platform
> -odac  -+rtmidi=virtual  -M0    ;;;realtime audio out and realtime midi in
> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ;-o fluidProgramSelect.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs  = 1
>
> giengine fluidEngine
> ; use a GM bank
> gisfnum  fluidLoad "/home/menno/csound5/csound5/samples/sf_GMbank.sf2",
> giengine, 0
>
> instr 1
>
>        fluidProgramSelect giengine, 1, gisfnum, 0, p6
>        mididefault   60, p3
>        midinoteonkey p4, p5
> ikey    init p4
> ivel    init p5
>        fluidNote giengine, 1, ikey, ivel
>
> endin
>
> instr 99
>
> imvol  init 7
> asigl, asigr fluidOut giengine
>       outs asigl*imvol, asigr*imvol
>
> endin
> 
> 
> i 1 0 1  0  0  15  ;program change to tubular bells
> i 1 1 2 60 100    ;play tubular bell
>
> i 1 10 1 0  0  10  ;program change to glockenspiel
> i 1 11 2 60 99  ; play glockenspiel
>
> i 99 0 20         ;turn on for 20 seconds
> e
>
> 
> 
>
> thanks in advance,
> menno
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/fluidProgramSelect-tp3355245p3355245.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"
>
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot 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"


Date2011-01-24 21:08
Frommenno
Subject[Csnd] Re: fluidProgramSelect
i will check the link, thank you.
There is another example (under fluidEngine, fluid-2.orc) that uses 2
presets of one and the same Soundfont bank, but it is divided between instr
1 and instr 3.
When i adapt this example to use one GMbank for all the 3 presets and thus
the 3 instruments it works well.
But i will check the docs of fluidsynth too.

Here is the csd with 3 presets and 3 instruments - it plays a midifile found
in manual/examples:




; Select audio/midi flags here according to platform
; Audio out   Audio in    No messages   Look for midifile in folder
manual/examples
-odac           -iadc     -d   -F midichn_advanced.mid ;;;reatime audio I/O
; For Non-realtime ouput leave only the line below:
; -o fluid2.wav -W ;;; for file output any platform



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

; LOAD SOUNDFONTS
gienginenum1	fluidEngine
gienginenum2	fluidEngine
isfnum1	fluidLoad	"/home/menno/csound5/csound5/samples/sf_GMbank.sf2",
gienginenum1, 1	; Bright Steinway, program 1, channel 1
		fluidProgramSelect	gienginenum1, 1, isfnum1, 0, 1 ; Concert Steinway with
reverb, program 2, channel 3
		fluidProgramSelect	gienginenum1, 3, isfnum1, 0, 20
isfnum2	fluidLoad	"/home/menno/csound5/csound5/samples/sf_GMbank.sf2",
gienginenum2, 1	; General MIDI, program 50, channel 2
		fluidProgramSelect	gienginenum2, 2, isfnum2, 0, 50

; SEND NOTES TO STEINWAY SOUNDFONT

instr 1 ; FluidSynth Steinway Rev
  ; INITIALIZATION
	mididefault	60, p3 ; Default duration of 60 -- overridden by score.
	midinoteonkey	p4, p5 ; Channels MIDI input to pfields.
  ; Use channel assigned in fluidload.
  ichannel   = 1
  ikey       = p4
  ivelocity  = p5
	fluidNote	gienginenum1, ichannel, ikey, ivelocity
endin

instr 2 ; GM soundfont
  ; INITIALIZATION
             mididefault   60, p3 ; Default duration of 60 -- overridden by
score.
             midinoteonkey p4, p5 ; Channels MIDI input to pfields.
  ; Use channel assigned in fluidload.
  ichannel   = 2
  ikey       = p4
  ivelocity  = p5
             fluidNote gienginenum2, ichannel, ikey, ivelocity
endin

instr 3 ; FluidSynth Steinway Rev
  ; INITIALIZATION
             mididefault   60, p3 ; Default duration of 60 -- overridden by
score.
             midinoteonkey p4, p5 ; Channels MIDI input to pfields.
  ; Use channel assigned in fluidload.
  ichannel   = 3
  ikey       = p4
  ivelocity  = p5
             fluidNote gienginenum1, ichannel, ikey, ivelocity
endin

; COLLECT AUDIO FROM ALL SOUNDFONTS

instr 100 ; Fluidsynth output

  iamplitude1 = 7
  iamplitude2 = 7

; AUDIO
aleft1, aright1 fluidOut   gienginenum1
aleft2, aright2 fluidOut   gienginenum2
                outs       (aleft1 * iamplitude1) + (aleft2 * iamplitude2), 
\
                           (aright1 * iamplitude1) + (aright2 * iamplitude2)
endin


i 1 0 3  60  100
i 2 1 3  60  100
i 3 3 3  63  100
i 100 0 60 8 8
e


Date2011-01-24 21:27
Frommenno
Subject[Csnd] Re: fluidProgramSelect
It should be possible according to the docs of fluidsynth:

Once the synthesizer is up and running and a SoundFont is loaded, most
people will want to do something useful with it. Make noise, for example.
MIDI messages can be sent using the fluid_synth_noteon(),
fluid_synth_noteoff(), fluid_synth_cc(), fluid_synth_pitch_bend(),
fluid_synth_pitch_wheel_sens(), and fluid_synth_program_change() functions.
For convenience, there's also a fluid_synth_bank_select() function (the bank
select message is normally sent using a control change message).

I will get the manual of my Yamaha V50 and try to find out if it can be done
by a control change message too.
Then i could use fluidCC or fluidControl to do it...

thanks,
menno

Date2011-01-30 06:34
FromPatrick
Subject[Csnd] Cecilia Problem Ubuntu 10.04
  hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
  *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
   File 
"/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 
4225, in MouseUp
     self.outPlayFunction(self.playing)
   File 
"/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 
688, in onPlayStop
     CeciliaLib.startCeciliaSound()
   File 
"/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", 
line 2354, in startCeciliaSound
     start(flagsLine)
   File 
"/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", 
line 2343, in start
     csound.startCsound(csdPath)
   File 
"/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", 
line 211, in startCsound
     self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
   File 
"/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", 
line 141, in AnalyseLogFile
     for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"

Date2011-01-30 08:13
FromRene Jopi
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"



Date2011-01-30 16:51
FromPatrick
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"




Date2011-01-30 17:08
FromPatrick
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number
Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!






On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"





Date2011-01-30 17:57
FromRene Jopi
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04

Hi,


I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"






Date2011-01-30 18:01
FromVictor Lazzarini
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
What about setting .csoundrc ?

Victor
On 30 Jan 2011, at 17:57, Rene Jopi wrote:

Hi,

I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"







Date2011-01-30 18:39
FromPatrick
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
It's definitely an issue with rtjack, when i select PortAudio in the Cecilia configuration i do not get the traceback problems but i get no sound from cecilia just that tick/thunk that it trys to play something, but fails and csound ouputs are all 0.0 amplitude.

Victor, can you post me a good .csoundrc suggestion for  RT audio using alsa?
I have a soundblaster audigy i think in there when i am not using jack for ardour etc..

Rene, i will try the jack setting and see if that plays any sound.

pp



On 01/30/2011 01:01 PM, Victor Lazzarini wrote:
What about setting .csoundrc ?

Victor
On 30 Jan 2011, at 17:57, Rene Jopi wrote:

Hi,

I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"








Date2011-01-30 18:46
FromPatrick
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
same traceback error with jack as audio


On 01/30/2011 01:01 PM, Victor Lazzarini wrote:
What about setting .csoundrc ?

Victor
On 30 Jan 2011, at 17:57, Rene Jopi wrote:

Hi,

I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"








Date2011-01-30 18:51
FromVictor Lazzarini
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
what I normally use is just

-+rtaudio=alsa -+rtmidi=alsa -odac -iadc

but of course it depends on what works in your system. What I would suggest is try the command-line, see what options work well and
then place them in a .csoundrc

Victor

On 30 Jan 2011, at 18:39, Patrick wrote:

It's definitely an issue with rtjack, when i select PortAudio in the Cecilia configuration i do not get the traceback problems but i get no sound from cecilia just that tick/thunk that it trys to play something, but fails and csound ouputs are all 0.0 amplitude.

Victor, can you post me a good .csoundrc suggestion for  RT audio using alsa?
I have a soundblaster audigy i think in there when i am not using jack for ardour etc..

Rene, i will try the jack setting and see if that plays any sound.

pp



On 01/30/2011 01:01 PM, Victor Lazzarini wrote:
What about setting .csoundrc ?

Victor
On 30 Jan 2011, at 17:57, Rene Jopi wrote:

Hi,

I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"









Date2011-01-30 20:20
FromRene Jopi
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
Hi,

I have tested with a .csoundrc file, this don't work on my system.

Cecilia still pass its flags on the Csound command line, and if I am not wrong,
due to the order of precedence the Cecilia options override any other ones.

René





2011/1/30 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
what I normally use is just

-+rtaudio=alsa -+rtmidi=alsa -odac -iadc

but of course it depends on what works in your system. What I would suggest is try the command-line, see what options work well and
then place them in a .csoundrc

Victor

On 30 Jan 2011, at 18:39, Patrick wrote:

It's definitely an issue with rtjack, when i select PortAudio in the Cecilia configuration i do not get the traceback problems but i get no sound from cecilia just that tick/thunk that it trys to play something, but fails and csound ouputs are all 0.0 amplitude.

Victor, can you post me a good .csoundrc suggestion for  RT audio using alsa?
I have a soundblaster audigy i think in there when i am not using jack for ardour etc..

Rene, i will try the jack setting and see if that plays any sound.

pp



On 01/30/2011 01:01 PM, Victor Lazzarini wrote:
What about setting .csoundrc ?

Victor
On 30 Jan 2011, at 17:57, Rene Jopi wrote:

Hi,

I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"










Date2011-01-30 22:33
FromPatrick
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04
i see csound is reading from it but i am still not getting any sound
does anyone have any settings in .csoundrc that are working well?
the sound card is an Audigy2 btw.

pp


On 01/30/2011 03:20 PM, Rene Jopi wrote:
Hi,

I have tested with a .csoundrc file, this don't work on my system.

Cecilia still pass its flags on the Csound command line, and if I am not wrong,
due to the order of precedence the Cecilia options override any other ones.

René





2011/1/30 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
what I normally use is just

-+rtaudio=alsa -+rtmidi=alsa -odac -iadc

but of course it depends on what works in your system. What I would suggest is try the command-line, see what options work well and
then place them in a .csoundrc

Victor

On 30 Jan 2011, at 18:39, Patrick wrote:

It's definitely an issue with rtjack, when i select PortAudio in the Cecilia configuration i do not get the traceback problems but i get no sound from cecilia just that tick/thunk that it trys to play something, but fails and csound ouputs are all 0.0 amplitude.

Victor, can you post me a good .csoundrc suggestion for  RT audio using alsa?
I have a soundblaster audigy i think in there when i am not using jack for ardour etc..

Rene, i will try the jack setting and see if that plays any sound.

pp



On 01/30/2011 01:01 PM, Victor Lazzarini wrote:
What about setting .csoundrc ?

Victor
On 30 Jan 2011, at 17:57, Rene Jopi wrote:

Hi,

I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"











Date2011-02-01 01:45
FromJean Piché
SubjectRe: [Csnd] Cecilia Problem Ubuntu 10.04

Hello Patrick,

I am guessing you are using Cecilia 4.1b. We have just recently found a bug in text parsing for the MIDI interfaces. I am not certain this is related but it may be and it has been fixed in the release coming up next week. In the meantime can I ask you to fill an issue report here:

http://code.google.com/p/cecilia4/issues/list


THanks!

jp




On Sun, Jan 30, 2011 at 5:33 PM, Patrick <bigswift@ufl.edu> wrote:
i see csound is reading from it but i am still not getting any sound
does anyone have any settings in .csoundrc that are working well?
the sound card is an Audigy2 btw.

pp



On 01/30/2011 03:20 PM, Rene Jopi wrote:
Hi,

I have tested with a .csoundrc file, this don't work on my system.

Cecilia still pass its flags on the Csound command line, and if I am not wrong,
due to the order of precedence the Cecilia options override any other ones.

René





2011/1/30 Victor Lazzarini <Victor.Lazzarini@nuim.ie>
what I normally use is just

-+rtaudio=alsa -+rtmidi=alsa -odac -iadc

but of course it depends on what works in your system. What I would suggest is try the command-line, see what options work well and
then place them in a .csoundrc

Victor

On 30 Jan 2011, at 18:39, Patrick wrote:

It's definitely an issue with rtjack, when i select PortAudio in the Cecilia configuration i do not get the traceback problems but i get no sound from cecilia just that tick/thunk that it trys to play something, but fails and csound ouputs are all 0.0 amplitude.

Victor, can you post me a good .csoundrc suggestion for  RT audio using alsa?
I have a soundblaster audigy i think in there when i am not using jack for ardour etc..

Rene, i will try the jack setting and see if that plays any sound.

pp



On 01/30/2011 01:01 PM, Victor Lazzarini wrote:
What about setting .csoundrc ?

Victor
On 30 Jan 2011, at 17:57, Rene Jopi wrote:

Hi,

I gave up using Cecilia configuration menu for midi and audio.
I bypass Cecilia setting with my line 555 when I am using alsa.
With jack, I use line 555:  
 
flags ='-dm0 -iadc:system:capture_ -odac:system:playback_ -+rtaudio=jack  -b16 -B4096  -+rtmidi=alsa -Ma --old-parser'

Hope you will have a better answer :)
René




2011/1/30 Patrick <bigswift@ufl.edu>
okay apparently i DID NOT compile with PortMIDI=1
so now i get

The available MIDI in devices are:
   0: Midi Through Port-0 (ALSA)
   1: Audigy MPU-401 (UART) (ALSA)
   2: Audigy MPU-401 #2 (ALSA)
   3: nanoKONTROL MIDI 1 (ALSA)
   4: Photon 25 MIDI 1 (ALSA)
   5: Photon 25 MIDI 2 (ALSA)
PortMIDI: Activated input device 0: 'Midi Through Port-0' (ALSA)
orch now loaded
audio buffered in 1024 sample-frame blocks
The available JACK output devices are:
 *** rtjack: must specify a device name, not a number

Traceback (most recent call last):
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
    self.outPlayFunction(self.playing)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
    CeciliaLib.startCeciliaSound()
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
    start(flagsLine)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
    csound.startCsound(csdPath)
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
    self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))   
  File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
    for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Can anyone help me with this? I would really love to demo new Cecilia/Csound5.12 for a sound design class on thursday of this coming week, so far only the mac version works out of the box and i have not even tried fixing this for Windows7 yet.
Any suggestion will be appreciated and thanks so far Rene!







On 01/30/2011 11:51 AM, Patrick wrote:
No luck with that
apparently i did not compile with portMidi?
as i am still receiving the same error
this is again making using the new Cecilia overly difficult for non-techie students of mine [except for those lucky enough to have a macbook]

let me recompile Csound again and share what i get

pat pagano
UF|digital worlds
complainer


On 01/30/2011 03:13 AM, Rene Jopi wrote:
Hi,

Is your Csound compiled with the portmidi support?
Is pyaudio installed?

Also have problem to select audio and midi on Cecilia / Ubuntu 10.04.
I solve it by adding my own configuration line in the file CeciliaLib.py

I add at line 555:
flags = '-dm0 --old-parser -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma'

It is not nice but no more problem !!!
Cheers,
René






2011/1/30 Patrick <bigswift@ufl.edu>
 hello

i am having an issue with running Cecilia on linux ubuntu

error: -+rtmidi='PortMidi': unknown module
 *** error opening MIDI in device: -1 (Unknown MIDI error)
Traceback (most recent call last):
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Widgets.py", line 4225, in MouseUp
   self.outPlayFunction(self.playing)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/Control.py", line 688, in onPlayStop
   CeciliaLib.startCeciliaSound()
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2354, in startCeciliaSound
   start(flagsLine)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CeciliaLib.py", line 2343, in start
   csound.startCsound(csdPath)
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 211, in startCsound
   self.AnalyseLogFile(csnd.csoundCfgErrorCodeToString(res))
 File "/home/shree/Downloads/Cecilia_4.1_beta-src/Resources/CsoundLib.py", line 141, in AnalyseLogFile
   for i, line in enumerate(self.loglines):
TypeError: Exception in callback

Seems like she does not like PortMidi

pp


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"













--
_____________________________
http://jeanpiche.com