using movie sound with pix_film
@milzyboo Hello.......
You will need to strip the sound from the video with a free tool like http://www.squared5.com/ as of course [pix_film] has no audio component......... and then the next problem is sync between the audio and the video.
Here is a patch I built that should do the job......
You will need to convert the audio track to a wrapper that can be read by Pd... "wav" or?
av-sync.pd
av sync.zip
David.
(p.s. if you are using vanilla then you will need to find another way to set the sample-rate for the audio part of the patch unless you can get the [soundfile_info] object to work.)
C74 and my definitive Return2Pd
Again C74 shits on your users, as he makes enough with Pluggo.
Arbitrary changes and are not consulted frequently, but a change of license which means C74 owns everything that is created in Gen development tool, it really is a gesture of usury only expect from a corporation like Microsoft.
Many users have been developing in Gen since leaving, and read attentively the license before investing money, time and other resources to learn and develop.
/****************************************
Copyright (c) 2012 Cycling ’74
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*****************************************************/
/**********************************
Cycling ’74 License for Max-Generated Code for Export
Copyright (c) 2016 Cycling ’74
The code that Max generates automatically and that end users are capable of exporting and using, and any
associated documentation files (the "Software") is a work of authorship for which Cycling ’74 is the author
and owner for copyright purposes. A license is hereby granted, free of charge, to any person obtaining a
copy of the Software ("Licensee") to use, copy, modify, merge, publish, and distribute copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The Software is licensed to Licensee only for non-commercial use. Users who wish to make commercial use of the
Software must contact the copyright owner to determine if a license for commercial use is available, and the
terms and conditions for same, which may include fees or royalties. For commercial use, please send inquiries
to licensing (at) cycling74.com. The determination of whether a use is commercial use or non-commercial use is based
upon the use, not the user. The Software may be used by individuals, institutions, governments, corporations, or
other business whether for-profit or non-profit so long as the use itself is not a commercialization of the
materials or a use that generates or is intended to generate income, revenue, sales or profit.
The above copyright notice and this license shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*****************************************************/
Anyway
My return to Pd...
Resize an array while playing without hearing stops
No, that's not my my problem. I'll explain it better.
I'm using Pure Data to manage external software, which creates a song progressively, splitted into different wav files. As soon as it creates a new wav file, I load it into an array. The idea is to start playing the song without waiting until it's completely created.
For doing it, I have two arrays: one for loading the latest wav file, and another one for loading the whole song, by copying the content of the first array.
I play the content of the second array, while new parts of the song are being added to it.
Malinette Framework
Hi Pd lovers,
MALINETTE 0.9 BETA
After some months of work, the Reso-nance Numerique team is happy to share you the 0.9 beta version of the Malinette project.
The Malinette is a software and a hardware set. The software part is mainly two things:
- a set of objects to learn Pure Data easily for children, students, artists, ...;
- a framework to help you programming interactivity.
The website is quite outdated : http://reso-nance.org/malinette
It would be nice to have some comments, feedbacks of the beta version, that you can find here : https://git.framasoft.org/resonance/malinette/repository/archive.zip?ref=master
Note that we are using Pd-extended, we need all these libraries : initbang, Gem, zexy, cyclone, moonlib, moocow, hcs, tof, comport, iemlib, iemnet or oscx or mrpeach, motex, ggee, list-abs, mapping
If you never tried the Malinette, you can find some features here : http://reso-nance.org/malinette/en/software/features
And here, all the objects : http://reso-nance.org/malinette/en/software/abstractions/home
Credits:
This project is developped by the Reso-nance numérique collective since 2012. It is used in education (schools, colleges, faculties), and also as a tool to make artistic pieces. The learning way is experimental, transdisciplinary and fun.
Jérôme Abel
http://jeromeabel.net
Composing Indian Raga using Pd
from what I know there are PD patches for this, but you need to have the stk library installed:
https://ccrma.stanford.edu/software/stk/classstk_1_1Sitar.html
http://ydegoyon.free.fr/software.html
Stksitar~/Stkdrone~ : indian music synthesis requiring STK library
( http://www-ccrma.stanford.edu/software/stk/ ).
Based on raggamatic/STK written by Perry R. Cook.
previously discussed here: http://puredata.hurleur.com/sujet-3696-stk-library
Compiled external saying "couldn't create" when being added to PD
Greetings All
I'm having trouble getting my external to work, It compiles with 5 warnings
sineq.c:48: warning: unused variable ‘x’
sineq.c:49: warning: unused variable ‘in1’
sineq.c:50: warning: unused variable ‘in2’
sineq.c:51: warning: unused variable ‘in3’
sineq.c:52: warning: unused variable ‘in4’
It does a "make" successfully but I get this warning message
/usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 00000000000007f0
but when I try and add it in PD it says "couldn't create". I've looked at the pan~ tutorial and the d_osc.c file as recommended, which did help. I tried to take pieces from the two which I thought were applicable to my situation but I'm still having some issues.
Here's a link to the workflow (dropbox)
http://dl.dropbox.com/u/6576402/questions/pd/Sine_EQ_Diagram.jpg
Here's a link to the C code online (pastebin)
http://pastebin.com/9rK3szUE
My external is a reproduction of the sinewave equation with 4 inputs and one output my logic is to have 4 inlets one for the frequency,amplitude,phase and vertical offset and an output for the created signal. Granted this isn't the final equation but this will help me understand how to create the full equation once done. If you want to see the full equation I'll be using here's a link to it below. Basically it's a 1 second periodic signal with the sample rate at 44100 which the equation gives me control over the frequency,amplitude,phase and vertical offset.
Another question I have is what do I use for the t (time) for my final equation is that the t_sample object in PD? or do I need to create a for loop counting from 1-44100 for a 1 second 44100 sampled equation?
http://dl.dropbox.com/u/6576402/questions/eq1.txt
PS: I'm compiling on ubuntu 10.04 using gcc
Problem with syncing audio loops
hey guys!
okay, I am using readanysf~ extension to open sound files. I created a looper abstraction.
Then I have created several loopers in a patch. Each looper has an inlet which allows to start playback and stop playback.
Let's say I have two samples: hihats and base drum. Both were recorded at 130 bpm and saved to wav files. In order to sync them on other software I would use something to trigger those files at the same time and they would be in perfect sync forever.
In this patch I've done the same thing - notice the play all button. So I load these two files into two loopers and then trigger them with play all. First 4-5 rounds loops are in sync, but then they begin to go out of sync.
The interesting thing is that if you load same file into different loopers and trigger them - they will NEVER go out of sync.
So I was wondering if I am missing something, maybe some inner workings of Pd which make audio files go out of sync.
Patch attached. Open TapeLoops16.pd
Quark - aleatoric midi sequencer
Hey fellas!
Presenting my first complete patch, but a pretty useful one (at least for me!).
Quark is an aleatoric midi sequencer which at a given tempo plays notes, randomly taken from a selected musical scale. Additional randomization options are available, such as volume, note duration and even dynamic scale changes. All open instances of the sequencer can be synced to each other and can additionally trigger Hydrogen to play in sync.
Quark was created to be used in a modular audio environment of a GNU/Linux system. On other systems sync between sequencer instances and Hydrogen might have little meaning. Quark was tested on GNU/Linux only.
From Pd perspective, the patch uses basic objects, but visually is a little messy. It is one of my first patches and by the time I found out about subpatches and abstractions, it was easier to leave it as it is. At the same time it is not a big patch at all, fitting on a laptop screen, and important sections are commented.
For full description of how it works, venture here:
http://www.louigiverona.ru/?page=projects&s=software&t=puredata&a=puredata_quark
Sysex
Hi,
im having some problems with audio in Pd. Im running extended 0.42.5 in Linux and midi is not working. The midi out test in the "midi and audio test" does not make any sound. This errors ocurrs in the inicialization:
audio I/O error history:
seconds ago error type
2.90 A/D/A sync
2.90 A/D/A sync
2.96 A/D/A sync
2.96 A/D/A sync
2.96 A/D/A sync
2.96 A/D/A sync
2.96 DAC blocked
2.96 A/D/A sync
2.96 unknown
2.96 unknown
does someone knows what is going wrong?
thanks in advance,
\[zerox~\]
Well, the result of that would be equatable to
[phasor 880]
|
[*0.5]
The catch with the sync is that there's basically always a more efficient alternative.
If you want a construct that's equatable to
bang X frequency X times a second
you could use phase-sync.mmb.pd and add two frequency controls that calculate the ratio between the two. Then feed the phasor~ with the first frequency and send the ratio to the *~
so
frequency 1 = 440
frequency 2 = 880
440/880 = 0.5
send frequency 2 to [phasor~] and 0.5 to [*~]
like above
you don't lose anything by driving this construct with control messages or with audio rate control. The considerations are only superficially different than using bang.
It's been a while since I've looked at phase-sync.mmb.pd, so it might do this already.
If you're interested in using sync as an oscillator feature,
if you can understand this, I personally can't digest it:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.65.1036&rep=rep1&type=pdf
otherwise, casio-style is handy:
http://en.wikipedia.org/wiki/File:Casio.CZ101.resonance.png
and if you're okay with the licencing implications, there are objects in extended that offer competent band limited sync. I forget the name, but the group that I'm thinking of has sync saw and a band limited comparator for PWM and square sync.