95 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
38
views
R: SCTools package is not accepting the matrix from a synth package
I have successfully run a synth model for synthetic controls, using dataprep_out and synth_out. The dataprep_out object was generated using the dataprep function. I then am trying to generate a ...
0
votes
0
answers
159
views
AttributeError: module 'fluidsynth' has no attribute 'synth'
import fluidsynth
fs = fluidsynth.synth()
fs.start(driver = 'dsound') # use DirectSound driver
sfid = fs.sfload(r'C:\Users135697円\Documents\FluidR3_GM.sf2') # replace path as needed
fs....
1
vote
0
answers
319
views
Troubleshooting Unbalanced Panel Error in R's Synth Package for Synthetic Control Method
I'm working with a dataset named company_data_with_beta_2, containing quarterly firm-level data, including financial metrics and firm characteristics. My objective is to use the Synth package in R to ...
0
votes
1
answer
582
views
Values of the synthetic control created by Synth package in R
I'm using the Synth package in R. I properly created my dataprep.out and synth(dataprep.out). Following, I created my path.plot and it's very fine.
Now I want to find the values estimated by Synth for ...
1
vote
1
answer
2k
views
unit.variable not found as numeric variable in foo Synth Package
I am trying to run the Synthetic Control Method in R. I tried to prepare my data according to Abadie, Diamond and Hainmueller (2011) (https://www.jstatsoft.org/article/view/v042i13).
But when running ...
2
votes
2
answers
469
views
AudioKit v5 - What is the best way to program polyphony?
I am trying to use AudioKit v5 to build a simple synthesizer app that plays a certain frequency whenever a button is pressed.
I would like there to be 28 buttons. However, I do not know if I should ...
1
vote
0
answers
164
views
AudioKit v5 - How do I change the waveform of a DunneAudioKit Synth?
I am trying to build a simple synthesizer that will play a MIDINoteNumber using the DunneAudioKit Synth function .play(noteNumber:, velocity:) when a button is pressed.
I am able to produce sound and ...
0
votes
2
answers
428
views
index musical notes using for loop in p5.js just plays a single note. flies through the for loop despite setTimeout. will not play as expected
wish to run a for loop indexing musical notes. runs through forloop without playing notes as expected. have spent a few days reading docs, stack overflow, youtube coding train and still cannot get ...
0
votes
2
answers
129
views
Making several synth LookAndFeels coexist at the same time in a java swing application
I am working on a java swing application using synth Look and Feel.
There are already styles for every possible swing component
I must change the whole application's LookAndFeel, redefining different ...
0
votes
1
answer
62
views
SourceDataLine (usb midi) key logging is to slow for real time playing
Hi i'm trying to make a synth for real time playing in java. One problem was latency which with couple of sugestions i was able to get to acceptable latency. However the if you go little to fast on a ...
1
vote
1
answer
526
views
How to fix this error: variable NOT found as character variable in synth package?
I am using Synth() package (see ftp://cran.r-project.org/pub/R/web/packages/Synth/Synth.pdf) in R.
This is a part of my data frame:
df <- structure(list(country = structure(c(1L, 1L, 1L, 1L, 1L, 1L)...
0
votes
1
answer
372
views
SourceDataLine delay to much for real time playing (synth)
I tried making a synth and it works and I can play music with them. However the first synth that I made had delay and you couldn't play fast songs. So I tried again using sourceDataline.flush() method ...
1
vote
1
answer
3k
views
Another question for Synth dataprep() Error unit.variable not found as numeric variable in foo
I am using the Synth package to demonstrate the divergence in development between Djibouti and a synthetic model of Djibouti if it didn't have international intervention.
Despite several similar ...
0
votes
0
answers
488
views
How do i use PYSimplGUI to update a value used in a continuous thread in python?
I'm creating a simple synthesizer with a simple gui with a single frequency slider.
In one program I've learned how to create the slider and update a variable when the slider changes, and in a ...
1
vote
1
answer
264
views
Customize x-axis in Synth-function path.plot (Rstudio)
I'm using the Synth package in R and when plotting the results (with path.plot and gaps.plot), I would like to customize the labels on the x-axis to character values like "January 2015, February ...