Menu

sequencing bristol synths with jack apps

Help
Andrew C
2009-05-24
2013-05-23
  • Andrew C

    Andrew C - 2009-05-24

    I'm having a bit of a problem with starting bristol synths while running a sequencer and other programs.

    My set up:

    Rosegarden for midi sequencing
    Linuxsampler for reading .gig sample files
    Fantasia (GUI front-end for linuxsampler)
    Bristol B3/sidney/vox/polysix/mini/any bristol synths.

    The problem is that when I start up each:

    hydrogen (this is first because there appears to be a problem with it unable to register its ports after anything else)
    linuxsampler
    Fantasia
    Rosegarden
    Bristol

    But for some reason, Bristol crashes with:

    startBristol -jack -count 1024 -port 5034 -b3
    checking availability of TCP port 5034
    using port 5034
    generate bandwidth limited waveforms(31, 12)
    spawning midi thread
    Fixing samplerate at 48000
    parent going into idle loop
    Init waiting for midi thread OK status
    midi sequencer
    Opened listening control socket: 5034
    midiOpen: bristol(100)
    bristolMidiSeqOpen(bristol)
    Client ID = 130
    Queue ID = 1
    Registered 130 0
    Device name "bristol" did not parse, defaults 128.0
    Got midi thread OK status
    bristol version 0.40.3
    connected to :0.0
    display is 1680 by 1050 pixels
    Window is w 1680, h 1050, d 24, 0 0 0
    Using DirectColor display
    Initialise the hammondB3 link to bristol: 816a3d0
    hostname is localhost, bristol
    TCP port: 5034
    Accepted connection from 0 (3) onto 2 (5)
    Connected to the bristol control socket: 4
    bristolengine already active
    created 32 voices: allocated 32 to synth
    spawning audio thread
    registering jack interface: bristol
    rescheduled thread: 75
    Jack init waiting for audio thread OK status
    initialising one hammond sound
    No private microtonal mapping for hammond
    veloc first 0.00 last 1.00
    hostname is localhost, bristol
    TCP port: 5034
    Accepted connection from 0 (3) onto 3 (9)
    Connected to the bristol control socket: 5
    bristolengine already active
    created 32 voices: allocated 32 to synth
    initialising one hammond second manual
    No private microtonal mapping for hammondB3
    veloc first 1.00 last 1.00
    user r 1000/1000, e 1000/1000
    bristolMidiSeqOpen(brighton)
    Client ID = 131
    Queue ID = 2
    Registered 131 0
    Device name "brighton" did not parse, defaults 128.0
    opened GUI midi handle: 2, fd 6
    Read Configuration: hammondB3
    brightonWorldChanged(765 400 10 10)
    going operational: 8160008, 816a3d0
    Found port system:playback_1
    Found port system:playback_2
    Found port alsa_pcm:Midi-Through/midi_playback_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-0/midi_playback_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-1/midi_playback_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-2/midi_playback_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-3/midi_playback_1
    Found port alsa_pcm:YAMAHA-Portatone/midi_playback_1
    Found port alsa_pcm:USB-Keystation-88es/midi_playback_1
    Found port system:capture_1
    Found port system:capture_2
    Found port alsa_pcm:Midi-Through/midi_capture_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-0/midi_capture_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-1/midi_capture_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-2/midi_capture_1
    Found port alsa_pcm:Virtual-Raw-MIDI-0-3/midi_capture_1
    Found port alsa_pcm:YAMAHA-Portatone/midi_capture_1
    Found port alsa_pcm:USB-Keystation-88es/midi_capture_1
    dmNOn: printPlayList(0, 0)
    ss: printPlayList(0, 0)
    printNewlist(82f2f00)
    00000000<-082f2f00->00000000: 31, 34, 4
    dmNOff printPlayList(0, 0)
    printNewlist(82f2f00)
    00000000<-082f2f00->00000000: 31, 34, 4
    Remove 31/34 from newlist
    sl: printPlayList(0, 0)
    brightonWorldChanged(1680 1035 765 400)
    brightonWorldChanged(1680 1035 1670 873)
    brightonWorldChanged(1680 1035 1670 873)
    dmNOn: printPlayList(0, 0)
    ss: printPlayList(0, 0)
    printNewlist(82f2f00)
    00000000<-082f2f00->00000000: 31, 50, 4
    dmNOff printPlayList(82f2f00, 82f2f00)
    00000000<-082f2f00->00000000: 31, 50, 0
    sl: printPlayList(82f2f00, 82f2f00)
    00000000<-082f2f00->00000000: 31, 50, 2
    brightonWorldChanged(1680 1035 1670 873)
    cleanupBrighton(0)
    closedown on interrupt
    exit algo: 1, 83109f8, 2
    return - no data in buffer
    socket closed
    cleared sigpipe handler
    cleanupBrighton(0)
    midi write error, fd 4, size 1
    return - no data in buffer
    socket closed
    midi write error, fd 4, size 1
    return - no data in buffer
    socket closed
    request acked: -1

    Why is this? Lack of memory?

    Andrew.

     
    • Nick Copeland

      Nick Copeland - 2009-05-24

      Andrew,

      It is seriously good fun working with you. I have no idea why this is failing but I doubt if it is shortage of memory. The message nearest to the exit is brightonWorldChanged(), did you resize the window? Just to get an idea of what may have caused this error. There does not seem to have been a core dump or memory fault or anything - did you get any other message suggesting memory related issues, segmentation faults, etc? The GUI appears to have exit on an interupt although it is not clear from your submit which one it was.

      Regards, nick.

       
    • Andrew C

      Andrew C - 2009-05-24

      Apologies, this was because I didn't give JACK enough ports to serve. it was 128, now it's 1024.

      Andrew.

       
    • Nick Copeland

      Nick Copeland - 2009-05-24

      That is interesting. How did you find out, and how did you fix it? Did the jackd terminal give you a message regarding oversubscription?

      Either way, am quite relieved it was not yet another problem with bristol. I almost went to buy you some gold stars!

      Kind regards,

      Nick

       
    • Andrew C

      Andrew C - 2009-05-24

      Well, sometimes I would start hydrogen after starting rosegarden and it'd scream "cannot register ports" and then close..

      I googled this a bit and came to the conclusion that I had to increase the amounts of ports that JACK could serve et voila!

      Andrew.

       
    • Nick Copeland

      Nick Copeland - 2009-05-24

      Nice. Put the same kind of diagnostic into bristol when it cannot register ports. It you want it to scream I could print it in CAPITAL LETTERS?

      You can put that down to yet another enhancement you have added to bristol.

      Regards, Nick.

       
    • Nick Copeland

      Nick Copeland - 2009-05-24

      BTW, do you remember Guido's problem. Might also be related to this. Apparently now Ardour is crashing on his system as well.

      Regards, Nick

       
    • Andrew C

      Andrew C - 2009-05-24

      Hahahahaha!

      IIRC, it actually said 'cannot get port registration' many many times.

      "Hey douchebag, I can't start the Bristol engine because Jackd isn't running!!!"
      Maybe this'll be a new fork of Bristol? The irate, pissed off verbose output bristol? :-)

      *starts patching bristol so it starts printing stuff like "Hey idiot, look at me, I'm arpeggiating the follow keys: %i . Happy now?"*
      I wish.... :-D

      Andrew.

       
    • Andrew C

      Andrew C - 2009-05-24

      Hmm, actually, you might be right.

      It might be worth a shot asking him to increase the port size that jackd can serve.

      IIRC the default is 256 or so ports.

      Andrew.

       
    • Nick Copeland

      Nick Copeland - 2009-05-24

      How come you managed to open so many ports? Your soundcard has nearly 20, bristol has all of 3, ok, but that still leaves a load more available. Overrunning 128 that quick does not sound good.

      Anyway, will review the 'irate messaging'.

      Regards, Nick

       
    • Andrew C

      Andrew C - 2009-05-24

      "
      Anyway, will review the 'irate messaging'. "

      I sincerely hope you're joking!!!

      Andrew.

       
    • Nick Copeland

      Nick Copeland - 2009-05-24

      Man, after all the work tracking down an invisible lost note event, the 'and now for something completely different' option is enticing.

      Nick.

       

Log in to post a comment.