Re: Need someone with knowlege of sound files

2010-04-08 Thread Scott Rossi
Recently, Fred Moyer wrote:

>> There is (for me) too much latency with using "play audioclip"...
>> But, for your project the latency is perhaps not important... ?
> 
> Latency is very important. Is there some way to play sounds in
> Revolution without latency? For example, how does gaming software do
> it? Gaming software must constantly need sounds to be perfectly
> aligned to visual cues.

In my experience, playing imported sounds (ie play audioClip) is the fastest
of the sound playing options.  Sounds that are played through a player are
handled by QuickTime so it would seem more likely that any latency is going
to be audible here.  Another thing to note: the built-in sound playback
mechanism is very old and antiquated.  It only supports playback of one
sound at a time, and the sounds must be encoded using common "standard"
sampling rates.  Using a player on the other hand allows you to play
multiple channels of sound, at the possible cost of latency.

Because of the above, I usually recommend using audioclips for sound
effects, where timing is important, and players for background audio/music.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


Re: Need someone with knowlege of sound files

2010-04-08 Thread Fred Moyer


On Apr 8, 2010, at 1:00 PM, use-revolution-requ...@lists.runrev.com  
wrote:


There is (for me) too much latency with using "play audioclip"...  
But, for your project the latency is perhaps not important... ?


Latency is very important. Is there some way to play sounds in  
Revolution without latency? For example, how does gaming software do  
it? Gaming software must constantly need sounds to be perfectly  
aligned to visual cues.


Thanks
Fred



Second thing : tick = 1/60 second
so I prefer use millisecond...
René

Le 8 avr. 2010 à 15:05, Fred Moyer a écrit :


Hi Everyone:

Thanks for your replies regarding my need for help. Really  
impressive stuff that people have sent me. However, it does seem  
to be all about Midi. I really need help with audio files (AIFF,  
Wave, etc.) For example, I would like to be able to slow down  
music without changing pitch, and to string two soundfiles  
together to get one long sound file.


Here is the most recent project that I am having trouble with: I  
am trying to record precisely the point in time that all of the  
notes begin in a sound file. Here is how I am doing it (without  
success:)


I set a global gNoteTimeList to empty, then start a player and tap  
the mouse in time with the notes in the music using a simple command:


on mousedown
  put the currentTime of player 1 after gNoteTimeList
end mousedown

I then set the callbacks of player 1 using this script:

repeat for each line L in gNoteTimeList
  put L & ",PlayTick" & cr after theCallBacks
end repeat
set the callbacks of player 1 to theCallBacks

Then I import into my stack an extremely short sound file called  
"tick" that is the sound of one tick of a clock and use the  
following script


On PlayTick
  Play audioclip "tick"
end PlayTick

to play it. When I run the player, it's pretty good, every time I  
run the player, "tick" plays in slightly different places. After  
lots of testing, it seems that the computer is inexact in both  
recording the mouseclicks and in playback of "Tick". I think I am  
probably just using the wrong tools for this project.


I would really like to stay inside Revolution to complete it. Does  
anyone have any ideas?


Thanks
Fred Moyer


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


Re: Need someone with knowlege of sound files

2010-04-08 Thread Richmond Mathewson

 Worth a look:

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


Re: Need someone with knowlege of sound files

2010-04-08 Thread René Micout
There is (for me) too much latency with using "play audioclip"... But, for your 
project the latency is perhaps not important... ?
Second thing : tick = 1/60 second
so I prefer use millisecond...
René

Le 8 avr. 2010 à 15:05, Fred Moyer a écrit :

> Hi Everyone:
> 
> Thanks for your replies regarding my need for help. Really impressive stuff 
> that people have sent me. However, it does seem to be all about Midi. I 
> really need help with audio files (AIFF, Wave, etc.) For example, I would 
> like to be able to slow down music without changing pitch, and to string two 
> soundfiles together to get one long sound file.
> 
> Here is the most recent project that I am having trouble with: I am trying to 
> record precisely the point in time that all of the notes begin in a sound 
> file. Here is how I am doing it (without success:)
> 
> I set a global gNoteTimeList to empty, then start a player and tap the mouse 
> in time with the notes in the music using a simple command:
> 
> on mousedown
>   put the currentTime of player 1 after gNoteTimeList
> end mousedown
> 
> I then set the callbacks of player 1 using this script:
> 
> repeat for each line L in gNoteTimeList
>   put L & ",PlayTick" & cr after theCallBacks
> end repeat
> set the callbacks of player 1 to theCallBacks
> 
> Then I import into my stack an extremely short sound file called "tick" that 
> is the sound of one tick of a clock and use the following script
> 
> On PlayTick
>   Play audioclip "tick"
> end PlayTick
> 
> to play it. When I run the player, it's pretty good, every time I run the 
> player, "tick" plays in slightly different places. After lots of testing, it 
> seems that the computer is inexact in both recording the mouseclicks and in 
> playback of "Tick". I think I am probably just using the wrong tools for this 
> project.
> 
> I would really like to stay inside Revolution to complete it. Does anyone 
> have any ideas?
> 
> Thanks
> Fred Moyer
> 
> On Apr 6, 2010, at 8:10 AM, René Micout wrote:
> 
>> Hello Fred,
>> I am also working on musical projects (like Exagofon : see > 
>> http://www.youtube.com/watch?v=v9zRXi7D_lE) with RunRev.
>> I use QuickTime Synthesizer to create sounds and notes with PlayCommand 
>> Agent X (on Macintosh OS X) of Jon Bettencourt (see Shakobox > Jacque 
>> LandMan Gay)
>> I work also with Midi Files (work in progress... slowly...) and the 
>> principal sources or examples are :
>> - pmd Keyboard (makeSmfLib library) > UDI 2002 > good stuffs here > 
>> http://homepage.mac.com/udi/stack/tool.html
>> - http://www.kenjikojima.com/
>> - Midi Builder (Kurt Kaufman) > > Kurt ?? ;-)
>> I made a little utilitary (stack named "SonMinimalMidi") to experiment sound 
>> directly in Midi by SMF (Standard Midi File), I can send it to you...
>> Bons souvenirs de Paris
>> René Micout
>> 
>> Le 6 avr. 2010 à 00:34, Fred Moyer a écrit :
>> 
>>> Dear friends:
>>> 
>>> I am looking for a Revolution programmer with experience at manipulating 
>>> sound files -- -- for a several projects that I am working on. Also 
>>> desired: knowledge of Quicktime and Midi.
>>> 
>>> Any recommendations would be most welcome! Thanks.
>>> 
>>> Fred Moyer
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Need someone with knowlege of sound files

2010-04-08 Thread Colin Holgate

on playtick
>put item nexttick of allticks - the ticks into tickgap
>send playtick to me in 
>add 1 to nexttick
>play tick
> End playtick
> 
> 



A word got cut off there, it should say "send playtick to me in .
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Need someone with knowlege of sound files

2010-04-08 Thread Richard Gaskin

Fred Moyer wrote:

Thanks for your replies regarding my need for help. Really impressive
stuff that people have sent me. However, it does seem to be all about
Midi. I really need help with audio files (AIFF, Wave, etc.) For
example, I would like to be able to slow down music without changing
pitch...


This is a long-standing request:


See also this request from Trevor which would allow third parties to 
write externals for this, which are currently not possible because of 
the older method by which Rev initializes QT:



--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv

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


Re: Need someone with knowlege of sound files

2010-04-08 Thread Colin Holgate
Look at using Send. You may be able to compensate for the timing errors, at 
least on playback. Here's a pseudo code strategy:

Make a list that represents the start ticks plus the value of each note tick 
value. For example, if you start the playback at exactly 4000 ticks after 
starting up Rev, the numbers might read: 4000, 4010, 4040, 4120 and so on.

Do a play tick right away, and before playing the sound, do some math to figure 
out when the next tick should happen. A bit like this:

on playtick
put item nexttick of allticks - the ticks into tickgap
send playtick to me in 
add 1 to nexttick
play tick
End playtick

The idea is that no matter how later this note got played, the next note would 
be on time. ___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Need someone with knowlege of sound files

2010-04-08 Thread Fred Moyer

Hi Everyone:

Thanks for your replies regarding my need for help. Really impressive  
stuff that people have sent me. However, it does seem to be all about  
Midi. I really need help with audio files (AIFF, Wave, etc.) For  
example, I would like to be able to slow down music without changing  
pitch, and to string two soundfiles together to get one long sound file.


Here is the most recent project that I am having trouble with: I am  
trying to record precisely the point in time that all of the notes  
begin in a sound file. Here is how I am doing it (without success:)


I set a global gNoteTimeList to empty, then start a player and tap  
the mouse in time with the notes in the music using a simple command:


on mousedown
put the currentTime of player 1 after gNoteTimeList
end mousedown

I then set the callbacks of player 1 using this script:

repeat for each line L in gNoteTimeList
put L & ",PlayTick" & cr after theCallBacks
end repeat
set the callbacks of player 1 to theCallBacks

Then I import into my stack an extremely short sound file called  
"tick" that is the sound of one tick of a clock and use the following  
script


On PlayTick
Play audioclip "tick"
end PlayTick

to play it. When I run the player, it's pretty good, every time I run  
the player, "tick" plays in slightly different places. After lots of  
testing, it seems that the computer is inexact in both recording the  
mouseclicks and in playback of "Tick". I think I am probably just  
using the wrong tools for this project.


I would really like to stay inside Revolution to complete it. Does  
anyone have any ideas?


Thanks
Fred Moyer

On Apr 6, 2010, at 8:10 AM, René Micout wrote:


Hello Fred,
I am also working on musical projects (like Exagofon : see > http:// 
www.youtube.com/watch?v=v9zRXi7D_lE) with RunRev.
I use QuickTime Synthesizer to create sounds and notes with  
PlayCommand Agent X (on Macintosh OS X) of Jon Bettencourt (see  
Shakobox > Jacque LandMan Gay)
I work also with Midi Files (work in progress... slowly...) and the  
principal sources or examples are :
- pmd Keyboard (makeSmfLib library) > UDI 2002 > good stuffs here >  
http://homepage.mac.com/udi/stack/tool.html

- http://www.kenjikojima.com/
- Midi Builder (Kurt Kaufman) > > Kurt ?? ;-)
I made a little utilitary (stack named "SonMinimalMidi") to  
experiment sound directly in Midi by SMF (Standard Midi File), I  
can send it to you...

Bons souvenirs de Paris
René Micout

Le 6 avr. 2010 à 00:34, Fred Moyer a écrit :


Dear friends:

I am looking for a Revolution programmer with experience at  
manipulating sound files -- -- for a several projects that I am  
working on. Also desired: knowledge of Quicktime and Midi.


Any recommendations would be most welcome! Thanks.

Fred Moyer


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


Re: Need someone with knowlege of sound files

2010-04-06 Thread René Micout
Hello Richard,
See this page in FaceBook : http://www.facebook.com/pages/Exagofon/243964086559
Some explanation in english. I do translate all stuff in english... But, the 
time...
I do also continue to write the manual...
The application continues to evolve, now there is 16 sort of "modules"
and there is more adjustment for each module
Bons souvenirs de Paris
René

Le 6 avr. 2010 à 14:10, Richard Gaskin a écrit :

> René Micout wrote:
> 
> > I am also working on musical projects (like Exagofon :
> > see > http://www.youtube.com/watch?v=v9zRXi7D_lE) with RunRev.
> 
> That's a beautiful interface!
> 
> I wish my French was better than it is, since I can understand only very 
> little of that wonderful presentation.
> 
> Do you have any materials on that app available in English?
> 
> Great work, René.
> 
> --
> Richard Gaskin
> Fourth World
> Rev training and consulting: http://www.fourthworld.com
> Webzine for Rev developers: http://www.revjournal.com
> revJournal blog: http://revjournal.com/blog.irv
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Need someone with knowlege of sound files

2010-04-06 Thread Richard Gaskin

René Micout wrote:

> I am also working on musical projects (like Exagofon :
> see > http://www.youtube.com/watch?v=v9zRXi7D_lE) with RunRev.

That's a beautiful interface!

I wish my French was better than it is, since I can understand only very 
little of that wonderful presentation.


Do you have any materials on that app available in English?

Great work, René.

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Need someone with knowlege of sound files

2010-04-06 Thread René Micout
Hello Fred,
I am also working on musical projects (like Exagofon : see > 
http://www.youtube.com/watch?v=v9zRXi7D_lE) with RunRev.
I use QuickTime Synthesizer to create sounds and notes with PlayCommand Agent X 
(on Macintosh OS X) of Jon Bettencourt (see Shakobox > Jacque LandMan Gay)
I work also with Midi Files (work in progress... slowly...) and the principal 
sources or examples are :
- pmd Keyboard (makeSmfLib library) > UDI 2002 > good stuffs here > 
http://homepage.mac.com/udi/stack/tool.html
- http://www.kenjikojima.com/
- Midi Builder (Kurt Kaufman) > > Kurt ?? ;-)
I made a little utilitary (stack named "SonMinimalMidi") to experiment sound 
directly in Midi by SMF (Standard Midi File), I can send it to you...
Bons souvenirs de Paris
René Micout

Le 6 avr. 2010 à 00:34, Fred Moyer a écrit :

> Dear friends:
> 
> I am looking for a Revolution programmer with experience at manipulating 
> sound files -- -- for a several projects that I am working on. Also desired: 
> knowledge of Quicktime and Midi.
> 
> Any recommendations would be most welcome! Thanks.
> 
> Fred Moyer
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Need someone with knowlege of sound files

2010-04-05 Thread Fred Moyer

Dear friends:

I am looking for a Revolution programmer with experience at  
manipulating sound files -- -- for a several projects that I am  
working on. Also desired: knowledge of Quicktime and Midi.


Any recommendations would be most welcome! Thanks.

Fred Moyer

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