-
Congarou
Hi all,
I need to send fro pure data to an arduino a signal to light up a led.
How can I do that? -
Congarou
Yeah, yeah, I know pure data and I work a lot with it, Maybe I wasn't that clear, I would like to have an entire OS based on puredata to run on a standalone device like this:
http://www.orthogonaldevices.com/er-301
If you are familiar with eurorack you know what I'm talking about, since is one of the fanciest (and most expensive) modules out there. -
Congarou
Goodevening to all the nerds out there!
Let's start saying I'm not much more than a complete noob on programming.
I'm starting to think about a sort of "tape machine" based on pure data. Hardware speaking everything should run on a Raspberry Pi.
I would like to know if it would be possible and how hard it would be to create a custom operative system and GUI for it based on pd. For example I would like to have a sort of 3 page menu.- Displaying just the array that content the sample.
- A load/save page for the samples.
- A sort of effect page and sample edit.
Thank you!
-
Congarou
The solution that Theorix suggest was simple and effective thanks a lot!
-
Congarou
Hi! I was thinking about using line, but it's not clear how to use it to smooth some continues incoming values.
-
Congarou
I'm receiving datas from some encoders, but they are too fast and sometimes I end up with the sliders jumping back and forth resulting in some unwanted clicks. There is a way to Smooth the transition from a value to another? using a buffer or something similar?
-
Congarou
@whale-av
Nope, the raspberry will run headless but now i'm configuring it with a monitor a a basic desktop environment.
Yep, dsp on, not from the patch but from the media menu.
Yep, I know that link. and it's configured correctly as far as i understand it. The audio is forced trough the 3,5 jack.
Nope, I can't hear anything trough the 3,5 jack even the most light noise, I can't even hear any "short" noise when i Plug or unplug the headphones, it's like the output it completely unconnected7unpowered. -
-
Congarou
@whale-av Hey! Thank you for the link but I need to run pure data on a headless raspberry and I need the audio out from the 3,5 jack.
-
Congarou
Hi all!
Pure data on the Raspberry doesn't output any kind of sound. I'm using the alsa drivers, How should I set it up correctly? -
Congarou
@nuromantix Actually I have a problem!
When I run it on pd on my Macbook it works just fine.
When I run it on the raspberry pi it goes out of scale! It doesn't stay on the 0-26 but it goes up and down without a limit. -
-
Congarou
Hi all!
I have this:
No matter what if the input increase or decrease also the output will increase or decrease; es. even if the input goes from 1000 to 999 the output will do0 to -1.
An that's fine. I would like to have on the output a slider that goes from 0-26 and that increase or decrease no matter what the value in input is. Es. the slider is set to 26; the input goes from 1000 to 999; the slider goes to 25.Is that possible?
-
Congarou
As always it was a cable problem. Some of the connection were in short and arduino was receiving 1 from both the channels of the encoder.
-
Congarou
Hi Alexandros!
Sorry for the late reply.
Your object works like a charm!
Thanks a lot! you really saved my life!
I'm just having some problems with the Arduino and the Encoders, instead of incrementing or decrementing the value, it output just numbers (sometimes 0-1 some other time 3-4 and all in between). it's strange then with both pins attached it output 0 with one attached it output 1 and with the other attached it output -1, in different ranges but keeping this proportion.
As soon I will fix that I will post all the results! -
Congarou
@alexandros Could you explain me a bit better the whole chain from the [serial_print] object?
Could you send me an example patch?
I've attached the pure data project, the signal from each encoders should increase or decrease the value on the sliders associated.
Many thanks! -
Congarou
Hi Alexandros!
Here you can find the Arduino code.
The whole thing have 3 buttons, 3 analog potentiometer and 3 encoders.
Each encoder should output his speed that I will send to a slider, the faster the encoder spin the higher the slider should be.
The buttons will be linked to a toggle.
And the analog potentiometer to some other sliders.
Thanks a lot for your help! -
Congarou
Hi everyone!
I need a big help!
I need to receive from an arduino the data from 8 encoders, 3 buttons and 3 potentiometer.
I'm using the "comport" object. How can I have the single outputs of any single encoder/buttons/potentiometer?
I've tried to unpack the data with the names I give to the encoders on the arduino (en0, en1, en 2...), but without obtaining anything...
What can I do?Please send help!!!!
-
Congarou
THANK YOU!
I just needed to patch the [soundfiler] into the [*~ ] and now it works!
Seb what I mean with scroll was to play the sample back and forth with the speed (and position) of an lfo (similar to moving a tape back and forth on a tape head)!
Thanks a lot Alexandros! -
Congarou
I'm on the same idea of Maelstorm, I had to contact Focusrite for a doubt regarding my Saffire Pro 24 and they told me that there are many "safe device" on both the converters on the inputs and outputs of the sound card included high and lowpass filters (actually the lp filter is an active part of any dac converter).
Maybe contacting the manufacturer of your sound card can help you with that.