Pd for audio processing on low-end hardware
Hi all,
I recently dug out an old Eeepc 701 4G from Asus that I bought second-hand in 2008 - 1-core Intel Celeron inside, with 4GB RAM. I have an audio interface Roland UA22 so that the setup can support realtime audio (Debian 10, RT kernel, jack with RT) with no XRuns and latency <10ms at 44100Hz/128/3. However, obviously, as soon as the CPU is expected to do some calculation, it is much less fun!
In particular I want to use a sampler for some instruments, typically a drumkit connected to MIDI pads, so I wrote a small no-gui Pd patch to load one single wav file in each of 16 clones (for 16 pads) responding to 16 midi notes. I want to keep them in separate clones so that I can assign them to different audio output. Right now it is quite CPU intensive, so I will have to add [switch~] and volume ramps to turn on dsp processing only when the midi note is played and hopefully without clicks.
Further in the workflow, Non-Mixer and Non-Timeline work great for a few tracks, but if I try to record several tracks for several of the drums audio outputs at the same time then the poor laptop is struggling.
TL;DR: Long story short, I'm considering using less fancy mixer and audio sequencer, i.e. command line or Pd patches with no or very basic GUI (no live GUI update as I record for example), BUT I would like to be able to occasionally use some audio effects (reverb, delay and such). Before I get into that, do you guys think that such solution would be bearable for the brave eeepc? Would other languages be more efficient than Pd on this machine?
Or (this is not the right place to ask, but I try anyway) do you know terminal-based utilities that could fulfill this otherwise? I'm thinking of a ncurses mixer similar to alsamixer, or an audio sequencer in the style of CuSE, which would be awesome.
Thanks!
Hello everyone
People, especially kids are always restricted from playing video games. It is said that games will improve the violence, affect our health and eyes. However, you may be surprised with what researchers found out. There are endless health benefits to us, especially kids.
Games are now not just aggressive actions in action games or shooting games. Here we with a more gentle game genre that can help people relieve stress, boost the brain, etc. It is art games. Therefore, if you are wondering if art games can be beneficial or not, it’s time to explore over-expected benefits art games.
1. Promote Creativity
Creativity is one of the most significant ability for us to solve almost every single problems in our life. In art games, we will no longer have to face incredible challenges in real life such as global warming, wars, and mass extinctions. Free your soul in colouring games, room decoration, design or music games.
Art games promote creativity.
Paint your best picture with full of colours or mix the clothes of the princesses in dress-up games in your own way. It’s the way to build up the better creativity. If you want to help your kids boost their creativity, here’s top highly rated online art games for 7 to 12 year olds.
2. Support Fine Motor Skills
Now, it’s time to hold the paintbrush, draw lines and dots, mix different colours in games instead of real life. Alternatively, show your ability in decorating the most stunning room ever. These tasks will be the best way to enhance coordination and dexterity. They are fun and rewarding enough to keep gamers, especially kids coming back again and again. Especially, when kids get hooked on these art activities in games over time. Their motor skills can be improved fast. What a deal!
3. Develop Problem-solving Abilities
Art activities in games with epic graphics may give gamers endless opportunity to make choices, come to conclusion, evaluate results, and second-guessing decisions. People will feel comfortable with common uncertainty, and they will be flexible thinkers, more creative and confident people.
Games develop your problem-solving skills.
Which colour should be applied to the character? Which furniture will this house match and need? To play these games with high scores, good techniques are needed for suitable combinations and good ideas. These games are more suitable for girls than boys. So, enjoy art games for girl here!
4. Improve Vision
This game seems to be a little weird; however, some electronic gadgets such as tab, mobile, computer, etc can negatively damage your eyes with too much exposure. However, scientists show that playing games can help improve your vision. Especially, when entering colouring games, people will identify 4 colour shades well.
5. Reduces Stress
Art games are such a quick stress relief for people in depression. In these gentle games, people will quickly throw their worries away and free their mind from all disturbances once they concentrate on gaming sessions. Moreover, the heart rate will be kept at a normal level for certain games.
Reduce stress with amazing art games!
So, now, after understanding all the advantages of art games, it’s time to enjoy Coolest free online art games to play - check out now.
udpsend and receive
@whale-av
No problem for all the questions, I have been working in solitude on this project with a lot of unknowns, so a lot of trial and error (previously have only used max/msp in laptop sound installations and performance scenarios).
Actually, no back up cards, but I did use the one that I hadn't completely set up yet, so getting it back to where it was isn't that hard. And to be honest i"m used to re-setting these things, its been quite a steep learning curve with lots not working.
The manual I found for puredata (http://en.flossmanuals.net/pure-data/network-data/send-and-receive/) was suggesting the netsend / netreceive objects, so I just took that for granted. At the moment, in its simplest form I would just like the same bang to be sent to all rpi's simultaneously, to that playback start could be synchronised. I assume for this to happen they could all just listen on the same port, and receive the same bang?
I was planning on one of the four rpi as being the router as well as an interface. Is this a bad idea? To be honest getting one to be a router was a huge battle, so if i could just use a router that would be easier. Conveniently those router's you suggested run off 12v, and my system runs of that, so it would be easy to put in the mix. Would the signal be stronger/reach further using a router as opposed to an rpi?
No, not planning on streaming audio. My thought process was that this might be a headache, and take up a bit of CPU. But in all honest its not needed for the project. The main forms of playback would literally be a mono file loaded into a PD patch with synchronised playback, or a PD patch as instrument (ie, sampler/synth type of interface) loaded onto each pi. In either case, they would be controlled via OSC. The instrument version might have been controlled by different ipads/OSC devices.
Too late, have already bought the screens. Part of this decision process was that there is so much that could go wrong in this scenario, that with a touch screen added I could easily trouble shoot in the field. Also, for the instrument patch, the instrument could just be on the screen which would be great.
The original touchscreens, small 2" ish ones, wouldn't work with Jessie, that's the short answer. However, what I wanted to do was to be able to access the HDMI out in order to mirror the screen, so that I could actually see what I was programming. I didn't know when purchasing them that the HDMI out is disabled once they are installed, and its a headache to get them output both to screen and HDMI out. So the 7" screens I figured would easily allow me to program the device in my studio without the need for extra monitors, and could easily be used in the field.
So, I'm pretty sure i can now change to Jessie, as the 7" screens seem easier to work with. The only thing that wouldn't work is the tutorial I have for turning a RPI into a router. But, if that will make things complicated (which if I'm reading between the lines, it might?), then I think powering an external router might be an easier option.
I think Armel in the long run will cause headaches, it does make sense to stay with the newer version, and I think switching to Jessie at this point in time would make sense.
Epic reply. Thoughts welcome!!
Special requests
There was a good discussion about making guis with GEM a while ago here:
http://puredata.hurleur.com/sujet-5515-gem-alternative-guis
And there's this bit of epicness from sonsofsol, also in GEM:
http://puredata.hurleur.com/sujet-4142-gui
As far as using data structures, you're not going to get anywhere close to what can be done with [jsui]. They still basically look like Pd. I made a waveform display, included in my library below, called [waveform.mmb] that's meant to be similar to [waveform~] in Max, but it's not as interactive. And there's Chris McCormick's s-abstractions:
http://mccormick.cx/projects/s-abstractions/page/abstractions
By the way, I'd like to keep this thread just for requesting tutorials, so if you have any more questions, please start a new thread in "technical issues'.
Emotiv EPOC
grab the emotiv developer edition for $500, or the headset and the sdklite for 300$. They just released an OSC interface for the headset. I got mine!
Object C Source Code
Weird... I'm on OS X alright but I've no /src/ folder... Should I? Might try downloading the latest version.... Hmmm... Found that guide alright it's epic! I'm quite new to coding though and not sure how to read in text files into my object... Cheers for your help Jwif!!
Emotiv EPOC
thank you! i have gotten farther by myself.. now i am faced with the predicament that the research edition of the EPOC can interface with dedicated EEG apps.. but that version costs $750...
Emotiv EPOC
Hi,
I am a musician and I am considering trying to make a pd patch that will translate simple OSC messages from the EPOC neural headset into MIDI. Emotiv EPOC is an EEG headset available for $300 - it sends OSC messages to pd in the form of /VAR/VARIABLE/X.XX where VAR is the type of signal (can be emotion, cognitive, facial, or a few others), VARIABLE is the exact signal type (blink, wink, smile, think of cognitive triggers 1 - 14, etc) then X.XX is a number indicating trigger strength for the intensity of the detected action.
So, I am assuming that all it needs to do is break off the VAR and VARIABLE right? I need an object that distributes the VARs into objects, cutting off the VAR then objects for VARIABLEs, leaving just a numeric 0.00 - 1.00 to translate into MIDI of some type..
Am I correct or is there a lot more programming needed to get this working smoothly? I do not know, for example, how much data will come from the headset in real time because I do not own it yet.
As you can probably tell, I have never used pd before. I might need some help from forums to get started. Does this seem like a reasonable project for a beginner? I have some limited programming experience in languages like BASIC, PASCAL, Hypercard on Mac, HTML..
Any input would be appreciated!