-
flight453
Thank you! I'll try these methods out and let you know!
-
flight453
Hello everyone!
I am trying to connect my arduino leonardo, which acts like a midi usb device, to puredata on startup. I can manually connect the device with aconnectgui, but nothing I have tried connects the device on startup.
I have a thread on raspberry pi forums about this -> Rasberry Pi forum
Please help me. -
flight453
Hello.
Thanks for providing the patch.
Sadly, this doesn't work for me. I still have to set the midi to alsa from oss(default). I also have to set the number of input and outputs of the midi (in my case 1 in and 1 out).
I need it to be already configured because the final product of my project won't be hooked up to a keyboard, mouse or monitor at the time. (I'm making a standalone drum kit)
Thank you!!! -
flight453
Hello!
I am using Pd on a raspberry pi 3 and have recently started to make some new projects.
I have an arduino leonardo acting as a usb midi device, which is working perfectly with the pi and a puredata patch.
The only problem is, I have to configure the midi and audio everytime I start up Pd.
That means that I have to select the right options for my sound card, and select alsa midi, then confirm to make 1 input and 1 output port, Every. Single. Time.
I know that this can be done by changing the text in .pdsettings. But there is a scarcity of how to configure alsa midi in pdsettings. Also I am very new to this, and don't know much about puredata..
It would be great if you would guide me in the right direction.Ps- I looked at the commands at https://puredata.info/docs/faq/commandline
But couldn't get those commands to work. -
flight453
@whale-av I even tried the patch without the freeverb~ object. Even then, the delay problem did not change. I guess it has to be the sample rate then. Or could it be the actual delwrite and vd objects and their arguments?
Anyway, file> preferences> audio preferences shows that my sample rate is 44100 and block size is 64.
Note that without any delay, the sounds play back without any change.
Shaurya. -
flight453
Hello everyone!
I used a simple audio delay patch in my project using - delwrite~ and a sig~ going to vd~ objects.
It works fine, but the audio doesn't remain the same after being delayed. The pitch of the audio is always a little higher than the original, even when I feed a 0 to the sig object.
Am I doing something wrong? I followed this youtube tutorial-
What am I doing wrong? Please guide me...
-
flight453
@whale-av
Thank you! Hats off to you and this amazing forum... -
flight453
Hello developers!
I am running into some minor problems with using pd. Untitled-1.pd
In this patch, I am using a text file to load a wav file into an array.The text file is-
1000 abc(the variable which recieves the value) HH2(the value);And I am getting some errors. It works when numbers are sent. Please help me.
-
-
flight453
@4ZZ4 said:
@flight453 you didn't implement that on your thread after this on "tecnical issues" though
Yeah I probably uploaded the wrong file. But don't worry. I have made the changes regarding the [sel] object. Nothing else is different in that patch.
-
flight453
@4ZZ4 thank you for answering! I will try out the things you mentioned and let you know
-
flight453
Hello!
drumkitpd.pd
This is my patch for a midi drum kit. How can I implement velocity sensitivity on/off? I have used [/ 127] objects to turn velocity into a number between 0 and 1 (sincerely, what would I do without you, David). What if I want to toggle velocity sensitivity off? How can I do that? Thank you! -
-
flight453
Hello!
I am using an arduino as a midi device. It is connected via usb. the arduino sends midi notes from 60 to 65 based on sensors.
drumkitpd.pd
Take a look at this patch. I have used [moses] for a conditional operator and plays the appropriate sound file. However, when I send a midi note upwards of 60, multiple sounds get played. I guess that [moses] does "=<". I want to have an "=" operator. I tried using [ ==] but the same problem occurred again. maybe I am using it wrong... please help! -
flight453
Hello!
Noob question.
I am using pd vanilla and receiving messages using [netreceive] from python. I can do operations on numbers, but can I do the same with strings or words that I receive over the network?
Here is what I want to do-
If (string) = dspOn
Then turn dsp on.
Please help! -
-
flight453
Hello!
I am using a raspberry pi and puredata to make a drum kit. I have sounds which are read through soundfiler and I activate them by using Gpio inputs via wiringPi.
Now I am trying to use an arduino to read analog values from the peizoelectric sensors, map them to midi value, and send them via a usb midi cable to puredata.
That is done, but how will I be able to play back sounds with a volume that is equal to the velocity in the midi packet?
Example- If I strike the sensor hard, the arduino sends 127 as midi value and puredata should play back a sound at full volume, and if I strike the sensor softly, the sound should play back at less volume.Note that I am thinking of having velocity sensitivity, and not aftertouch (would be cool to add later on).
Regards,
Shaurya -
flight453
Hello!
I am using a raspberry pi. Using an arduino would be a option, but I don't have one right now.
Even if I did, how would I use it? I am making a drum kit and am using the gpio pins connected to sensors which will be triggers for the audio. How would the arduino be connected to the raspberry pi? I am guessing via midi, but will we be able to use gpio and midi at the same time???
Thank you
Shaurya -
flight453
Hey!
I tried the patch that you provided! I just have some doubts. First, do I have to create more read_from_abstr patches if I want to play 8 sounds???
Second, I want 8 sounds to change collectively (in a group). Say "kit1" has eight sounds, "sound1.wav" to "sound8.wav", mapped to 8 gpio pins, and "kit2" has another eight sounds, "sound9.wav" to "sound16.wav". I have not decided on the number of kits, so it has to be variable. Can I do this with the patch you provided? If so, how can this be done? I am very new to puredata...
Thank you so much.
Shaurya -