Code Monkey home page Code Monkey logo

Comments (7)

KottV avatar KottV commented on June 11, 2024

Greetings,

Just for guess, is your soundcard configured properly in BespokeSynth and not utilized by other app (jack, pulse)?

from bespokesynth.

awwbees avatar awwbees commented on June 11, 2024

no immediate ideas... does your userprefs.json look the same between the build that's working and the build that's failing? if that's not it, you could try syncing back through commits to try to figure out when it stopped working for you.

from bespokesynth.

davephillips avatar davephillips commented on June 11, 2024

I'll check things as soon as I'm done teaching this morning.

from bespokesynth.

davephillips avatar davephillips commented on June 11, 2024

@awwbees - userprefs.json is identical between the builds. I'll check the commits to determine when the problem appeared.

@KottV - Bespoke posts this when opened from the command prompt:

$ ./BespokeSynth
pixel ratio: 1 screen width: 3840 screen height: 1080
output: Playback/recording through the PulseAudio sound server   input: Playback/recording through the PulseAudio sound server
Loading layout: /home/dlphilp/BespokeSynth/data/layouts/blank.json

from bespokesynth.

davephillips avatar davephillips commented on June 11, 2024

Okay, I've narrowed thins down to these facts:

Bespoke runs fine on my laptop. That machine has exactly one audio device, managed by Pulseaudio with its Jack sink. No problems with Bespoke there. So I don't think my problem is about Bespoke per se.

Bespoke opens on the desktop box but the transport doesn't run. I have multiple devices attached to this machine, which seems to be a problem with the Bespoke audio configuration. Interesting observation: As long as my USB interface is attached Bespoke opens (but still doesn't work). If I detach the USB interface Bespoke will open with an error regarding the audio interface (see the screenshot). However, the USB device is not being used for audio, nor is it ever the preferred interface. Nevertheless, it seems that Bespoke or - probably more correctly - JUCE is looking for the USB device when it sees the "auto" specification in its json preferences file.

An easy out would be a more specific entry in the preferences. Is there any other option besides "auto" ?

bespoke-error

from bespokesynth.

awwbees avatar awwbees commented on June 11, 2024

wow, that's quite a lot of audio devices! to specify which audio device you want to use, instead of "auto", you should type verbatim the name of the device in that list, after the colon (so, exclude the "ALSA:" part)

so, the line in your userprefs.json might look like:
"audio_output_device" : "M Audio Delta 66, ICE1712 multi; Front Speakers",

this is how it works on mac and windows at least, hopefully this also works for linux. it's strange that "auto" is not picking the preferred device, but that sounds like a juce/linux issue.

from bespokesynth.

davephillips avatar davephillips commented on June 11, 2024

@awwbees Thank you, that got me headed in the right direction. For my system here's what finally worked in userprefs.json :

{
   "samplerate" : 48000,
   "buffersize" : 256,
   "audio_output_device" : "M Audio Delta 66, ICE1712 multi; Front speakers",
   "audio_input_device" : "auto",
   "height" : 1000,
   "width" : 1700,
   "layout" : "layouts/blank.json",
   "vstsearchdirs" : ["/home/dlphilp/vst4Bespoke"]
}

If I specified the same device for input and output I received the same error as before. I'm not processing external audio so I can live without its input for now.

from bespokesynth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.