Re: Pitch shifting Audio

2013-09-23 Thread Thierry Douez
2013/9/21 Beat Cornaz b.cor...@gmx.net


 ​. but still it would be nice to have Midi functions in LiveCode.
 Especially some connection, so you could play midi files through your
 favourite sequencer software, like Ableton live or Logic.



 Maybe the SunnYmidi that René suggests might do the trick. That would be
 great.



​Hi Beat,

Yes it does!

​You can send me any specific questions about sunnYmidi (Mac only).


​Regards,

Thierry
​
PS: Merci René to point out sunnYmidi :)


Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Pitch shifting Audio

2013-09-23 Thread René Micout
Bonjour Thierry,
You are welcome comme ils disent !
;-)
René

Le 23 sept. 2013 à 10:19, Thierry Douez th.do...@gmail.com a écrit :

 2013/9/21 Beat Cornaz b.cor...@gmx.net
 
 
 ​. but still it would be nice to have Midi functions in LiveCode.
 Especially some connection, so you could play midi files through your
 favourite sequencer software, like Ableton live or Logic.
 
 
 
 Maybe the SunnYmidi that René suggests might do the trick. That would be
 great.
 
 
 
 ​Hi Beat,
 
 Yes it does!
 
 ​You can send me any specific questions about sunnYmidi (Mac only).
 
 
 ​Regards,
 
 Thierry
 ​
 PS: Merci René to point out sunnYmidi :)
 
 
 Thierry Douez - http://sunny-tdz.com
 Maker of sunnYperl - sunnYmidi - sunnYmage
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Pitch shifting Audio

2013-09-22 Thread Geoff Canyon
On Fri, Sep 20, 2013 at 3:59 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 I can't say that it *can* be done, but fifteen years ago I wrote code to
 open, process, and write out AIFF files.

 Well Geoff, do you mean you did this in Revolution?  Why didn't you speak
 up when this was being discussed over the years!!


I think I did it in SuperCard, but that was as I was starting with
MetaCard, so it could be either. Sorry that I never noticed any particular
discussions going on.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-21 Thread Beat Cornaz
Thanks for all your input.
 It seems clear to me that I have to take another road. But at least now I know.

 I agree that LiveCode is really excellent in many, many areas, but in audio  
midi it is a bit of a handicapped child. I think that's a real pity, but those 
areas have never had the pleasure of much attention in the last 10 years or so. 
I think it's a pity, as there is,  in my humble opinion quite a market for good 
music  audio software and apps. I hope the 'open source' will bring some 
change.

Thanks  greetings,

Beat




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-21 Thread René Micout
Hello Beat !
For me Midi see SunnYmidi  http://sunny-tdz.com/art-1012
Bon souvenir de Paris
René

Le 21 sept. 2013 à 15:05, Beat Cornaz b.cor...@gmx.net a écrit :

 Thanks for all your input.
 It seems clear to me that I have to take another road. But at least now I 
 know.
 
 I agree that LiveCode is really excellent in many, many areas, but in audio  
 midi it is a bit of a handicapped child. I think that's a real pity, but 
 those areas have never had the pleasure of much attention in the last 10 
 years or so. I think it's a pity, as there is,  in my humble opinion quite a 
 market for good music  audio software and apps. I hope the 'open source' 
 will bring some change.
 
 Thanks  greetings,
 
 Beat
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-21 Thread Earthednet-wp
Midi would be a very different setup than digital audio. In midi, only events 
need to be sent, while digital audio, especially independent tempo and pitch 
translation require some fancy signal processing.
Bill

William Prothero
http://es.earthednet.org

On Sep 21, 2013, at 6:59 AM, René Micout rene.mic...@numericable.com wrote:

 Hello Beat !
 For me Midi see SunnYmidi  http://sunny-tdz.com/art-1012
 Bon souvenir de Paris
 René
 
 Le 21 sept. 2013 à 15:05, Beat Cornaz b.cor...@gmx.net a écrit :
 
 Thanks for all your input.
 It seems clear to me that I have to take another road. But at least now I 
 know.
 
 I agree that LiveCode is really excellent in many, many areas, but in audio 
  midi it is a bit of a handicapped child. I think that's a real pity, but 
 those areas have never had the pleasure of much attention in the last 10 
 years or so. I think it's a pity, as there is,  in my humble opinion quite a 
 market for good music  audio software and apps. I hope the 'open source' 
 will bring some change.
 
 Thanks  greetings,
 
 Beat
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Pitch shifting Audio

2013-09-21 Thread Beat Cornaz

William Prothero wrote :

Midi would be a very different setup than digital audio. In midi, only 
events need to be sent, while digital audio, especially independent tempo 
and pitch translation require some fancy signal processing.

Yep, I know. Much easier than digital audio, but still it would be nice to have 
Midi functions in LiveCode. Especially some connection, so you could play midi 
files through your favourite sequencer software, like Ableton live or Logic.
Maybe the SunnYmidi that René suggests might do the trick. That would be great. 
But on the whole, I would love to see that LC incorporates functionality on the 
audio/music front.

Greetings,

Beat

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread Geoff Canyon
On Fri, Sep 20, 2013 at 3:04 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 I don't want to discourage anyone, or say 'it can't be done' (and someone
 will try to prove me wrong) but..


I agree with you 100% that there are things LC is well-suited for, and this
is at the boundary of that sweet spot.

I can't say that it *can* be done, but fifteen years ago I wrote code to
open, process, and write out AIFF files. AIFF is uncompressed, and has a
simple header, so it wasn't that hard to pull apart. Also, I was doing
simple processing: scanning a large file for moments of silence and
chopping it into smaller files. I also experimented with the volume, but
that's simpler I think than pitch shifting. And I wouldn't want to mess
with compressed files.

gc
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread Richard Gaskin

stephen barncard wrote:

I don't want to discourage anyone, or say 'it can't be done' (and someone
will try to prove me wrong) but..

This is something that Livecode isn't really appropriate for.
The audio package in LC is just not up to this kind of specialized task,
and is covered by several free or open source applications. Be aware that
in the current engine, one can't even export an audio file to any format.
 ( I wrote some handlers to do that entirely in Livecode, but had to
reverse engineer the internal audio format and do all sorts of kludgey
things. And at the end of the day, LC audio limited to 16 bit and 48k
sample rate.


That's true for embedded audioClips, but for cases where QuickTime files 
can be an option the future looks more promising:


If I recall correctly from Trevor's notes in an enhancement request some 
time ago, QT provides APIs or that but LC is still using an older method 
of initializing QT structures that prevents using some of the newer APIs.


I believe this will be addressed (along with a great many QT-independent 
issues with media playback on Win and Linux) as part of the Multimedia 
engine rewrite among the Kickstarter stretch goals, on the roadmap 
under Queued as Multimedia:

http://livecode.com/community/roadmap/

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread stephen barncard
I don't want to discourage anyone, or say 'it can't be done' (and someone
will try to prove me wrong) but..

This is something that Livecode isn't really appropriate for.
The audio package in LC is just not up to this kind of specialized task,
and is covered by several free or open source applications. Be aware that
in the current engine, one can't even export an audio file to any format.
 ( I wrote some handlers to do that entirely in Livecode, but had to
reverse engineer the internal audio format and do all sorts of kludgey
things. And at the end of the day, LC audio limited to 16 bit and 48k
sample rate.


We're promised an A/V tool upgrade sometime in the future but I think it's
way 'back burner' and may still not manifest.

LC is a toolkit of 'stuff' that is great for 99% of most applications, but
not this, you'd be into the law of diminishing returns.  A cross-platform
'external to do the job' might have to end up being an application written
completely in the native code anyway.


On Fri, Sep 20, 2013 at 7:45 AM, Beat Cornaz b.cor...@gmx.net wrote:

 Is there a way to pitch-shift audio without changing the speed (playback
 rate) in real time in LC?

 And is there a way to get the audio of a movie player to be pitch-shifted
 without changing the speed (playback rate) in real time?

 If this is not possible, is there an external that can do the job?





-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread stephen barncard
If I recall correctly from Trevor's notes in an enhancement request some
time ago, QT provides APIs or that but LC is still using an older method of
initializing QT structures that prevents using some of the newer APIs.

and I thought Quicktime was dead or going away soon.


On Fri, Sep 20, 2013 at 1:37 PM, Geoff Canyon gcan...@gmail.com wrote:

 On Fri, Sep 20, 2013 at 3:04 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

  I don't want to discourage anyone, or say 'it can't be done' (and someone
  will try to prove me wrong) but..
 

 I agree with you 100% that there are things LC is well-suited for, and this
 is at the boundary of that sweet spot.

 I can't say that it *can* be done, but fifteen years ago I wrote code to
 open, process, and write out AIFF files. AIFF is uncompressed, and has a
 simple header, so it wasn't that hard to pull apart. Also, I was doing
 simple processing: scanning a large file for moments of silence and
 chopping it into smaller files. I also experimented with the volume, but
 that's simpler I think than pitch shifting. And I wouldn't want to mess
 with compressed files.

 gc
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread Richard Gaskin

stephen barncard wrote:

If I recall correctly from Trevor's notes in an enhancement request some
time ago, QT provides APIs or that but LC is still using an older method of
initializing QT structures that prevents using some of the newer APIs.

and I thought Quicktime was dead or going away soon.


I wouldn't be surprised if they stopped making the Win version, but it 
would seem silly to drop such a foundational architecture from their own OS.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread stephen barncard
I can't say that it *can* be done, but fifteen years ago I wrote code to
open, process, and write out AIFF files.

Well Geoff, do you mean you did this in Revolution?  Why didn't you speak
up when this was being discussed over the years!!


On Fri, Sep 20, 2013 at 1:44 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 If I recall correctly from Trevor's notes in an enhancement request some
 time ago, QT provides APIs or that but LC is still using an older method of
 initializing QT structures that prevents using some of the newer APIs.

 and I thought Quicktime was dead or going away soon.


 On Fri, Sep 20, 2013 at 1:37 PM, Geoff Canyon gcan...@gmail.com wrote:

 On Fri, Sep 20, 2013 at 3:04 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

  I don't want to discourage anyone, or say 'it can't be done' (and
 someone
  will try to prove me wrong) but..
 

 I agree with you 100% that there are things LC is well-suited for, and
 this
 is at the boundary of that sweet spot.

 I can't say that it *can* be done, but fifteen years ago I wrote code to
 open, process, and write out AIFF files. AIFF is uncompressed, and has a
 simple header, so it wasn't that hard to pull apart. Also, I was doing
 simple processing: scanning a large file for moments of silence and
 chopping it into smaller files. I also experimented with the volume, but
 that's simpler I think than pitch shifting. And I wouldn't want to mess
 with compressed files.

 gc
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




 --



 Stephen Barncard
 San Francisco Ca. USA

 more about sqb  http://www.google.com/profiles/sbarncar




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread Monte Goulding

On 21/09/2013, at 7:08 AM, Mark Wilcox m_p_wil...@yahoo.co.uk wrote:

 Pulling the audio out of a video to be able to pitch shift it in real-time 
 could be done with ffmpeg (you need to decode it before you can pitch shift), 
 although on mobile platforms that is extremely inefficient vs using system 
 frameworks that take advantage of dedicated hardware. If you need this you 
 might as well be replacing LiveCode's multimedia support.

mergAV is part of the way there but that's just iOS and OS X. If there's an 
Android equivalent of AVFoundation I'd love to hear about it as I thought 
ffmpeg was used there for that type of stuff. The video composition stuff in 
AVFoundation blew me away with its performance on mobile.

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Pitch shifting Audio

2013-09-20 Thread Mark Wilcox
To pitch shift audio in real-time here is the basis for a cross-platform 
external:
http://www.surina.net/soundtouch/
This could probably be integrated alone quite neatly.

Pulling the audio out of a video to be able to pitch shift it in real-time 
could be done with ffmpeg (you need to decode it before you can pitch shift), 
although on mobile platforms that is extremely inefficient vs using system 
frameworks that take advantage of dedicated hardware. If you need this you 
might as well be replacing LiveCode's multimedia support.

When the platform refresh is complete it might be feasible to extend LiveCode 
in this direction but I wouldn't recommend anyone attempt it at the moment.

Unless this requirement is just a small part of a bigger project that LiveCode 
is very well suited for then I'd be inclined to agree that it's the wrong tool 
for the job.

Mark


Beat Cornaz b.cor...@gmx.net wrote:

Hello to everyone,

Is there a way to pitch-shift audio without changing the speed (playback rate) 
in real time in LC? 

And is there a way to get the audio of a movie player to be pitch-shifted 
without changing the speed (playback rate) in real time?

If this is not possible, is there an external that can do the job?

Thanks a lot,

Beat Cornaz

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode